Every request to the Kalent API must include your workspace API key. You can pass it in one of two ways:
Get your API key
- Log in to the Kalent dashboard.
- Navigate to your workspace settings.
- Open the API Keys section.
- Click Create API Key and copy the generated secret.
Store your API key securely. Do not commit it to version control or expose it in client-side code.
Error responses
| Status | Body | Meaning |
|---|
401 | {"success": false, "error": "Missing API key"} | No key was provided in the request. |
401 | {"success": false, "error": "Invalid API key"} | The key does not match any active workspace key. |
429 | {"success": false, "error": "Too many requests, please try again later"} | IP-level rate limit exceeded. |
429 | {"success": false, "error": "Rate limit exceeded: ..."} | API-key-level rate limit exceeded (minute, hour, day, or month). |