API & Webhook Dokumentation

Integriere KI-DNA in deine Systeme, Workflows und KI-Agenten.

Schnellstart

  1. Erstelle einen API-Key im Dashboard unter "API-Keys"
  2. Sende Anfragen mit dem Header x-api-key: dein_key
  3. Optional: Registriere Webhooks für automatische Updates

Authentifizierung

Alle API-Requests erfordern einen gültigen API-Key. Erstelle API-Keys im Dashboard.

# Option 1: x-api-key Header
curl -H "x-api-key: kidna_abc123..." https://wqiatxgfgtbiukunvvch.supabase.co/functions/v1/api-dna

# Option 2: Authorization Bearer
curl -H "Authorization: Bearer kidna_abc123..." https://wqiatxgfgtbiukunvvch.supabase.co/functions/v1/api-dna
read
Nur Lesezugriff auf DNAs
full
Voller Zugriff (Lesen & Schreiben)
GET
/functions/v1/api-dna

Liste aller KI-DNA Profile

Query Parameter

activeboolean - Nur aktive Profile (default: true)
limitnumber - Max. Ergebnisse (max: 100)
offsetnumber - Pagination Offset

cURL Beispiel

curl -X GET "https://wqiatxgfgtbiukunvvch.supabase.co/functions/v1/api-dna" \
  -H "x-api-key: kidna_abc123def456..."

Fehlercodes

401
Ungültiger oder fehlender API-Key
404
DNA Profil nicht gefunden
405
HTTP Methode nicht erlaubt
500
Interner Serverfehler

Rate Limits

API Requests100 / Minute
Webhook Retries3 Versuche
Max Webhooks pro User10