Skip to main content
The Platform API lives at https://api.kiteml.com/v1 and authenticates every request with an API key.

Create a key

Create a key from Developers → API keys in the dashboard. Scope it to augmentations if you only need dataset generation.
Keys start with kite_ and are shown only once, at creation time. Store the value in a secret manager or environment variable — you can’t retrieve it later, only revoke it and create a new one.

Authenticate a request

Send the key in the Authorization header as a Bearer token on every request.
A valid key returns the key’s identity and scopes:
An invalid or revoked key returns 401 Unauthorized.

Scopes

Scopes are resource:verb strings. write implies read for the same resource, so a key with augmentations:write can also read augmentations. Grant a key the narrowest scopes that its job needs. A CI task that only starts runs needs augmentations:write and nothing else, so a leaked key can’t read your usage or credit balance. A call whose key is missing the required scope returns 403 with code missing_scope.

Errors

Every error returns the same envelope. type maps to the HTTP status; code is a stable, specific reason you can branch on; request_id identifies the request — include it in any support message.
Keep your key server-side. Never ship it in a browser, mobile app, or public repository. If a key leaks, revoke it from the dashboard immediately and create a scoped replacement.