https://api.kiteml.com/v1 and authenticates every request with an API key.
Create a key
Create a key from Platform API → API keys in the dashboard. Scope it to what the key actually does — augmentations if you only generate datasets, training runs if you only train.Authenticate a request
Send the key in theAuthorization header as a Bearer token on every request.
401 Unauthorized.
Scopes
Scopes areresource: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.
Scope each key to the job it does. A CI pipeline that only launches training needs training_runs:write and nothing else — it can start and cancel runs, while a leaked key still can’t read your augmentations, your usage, or your credit balance.
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.