Authentication
The Kontext API uses API keys for authentication. Each key is scoped to an organization and grants access to all products within it.Generating an API key
- Go to Organization Settings → API Keys
- Click Create API Key
- Give it a descriptive name (e.g., “CI Pipeline”, “Data Export Script”)
- Optionally set an expiry date — the key will stop working after this date
- Copy the key — it won’t be shown again
Using your API key
Pass the key in theAuthorization header with a Bearer prefix:
Rate limiting
API requests are rate-limited per organization:
Rate limit headers are included in every response:
429 Too Many Requests.
Security
- API keys are hashed at rest — Kontext cannot retrieve your key after creation
- Rotate keys regularly and revoke any that may be compromised
- Never commit API keys to source control