SDKs
There are no official SDKs yet. The API is plain HTTPS and JSON, so any HTTP client works.
Base URLhttps://api.kalle.build/v1AuthBearer kalle_sk_…VersionKalle-Version: 2026-11-01
Calling the API without an SDK
Every code sample on these pages comes in three versions: cURL, TypeScript with the built-in fetch (Node 18 or later) and Python with requests. Pick one in the language menu above the code.
- Send
Authorization: Bearer $KALLE_API_KEYand, to pin the behaviour,Kalle-Version. - Retry
429,500and529with exponential backoff, starting at one second, and wait forretry-afteron a429. - Send an
Idempotency-Keyheader onPOSTrequests you retry, so a retry never runs twice. - Streams are server-sent events with one JSON object per
data:line. See Streaming.