API keys let your application create, generate, fetch, and update presentations on behalf of a Chronicle workspace. When you create a key:Documentation Index
Fetch the complete documentation index at: https://chronicle.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
- It belongs to a specific workspace
- It can access resources in that workspace
Create an API key
Open API Settings
Go to Settings → API in the Chronicle web app.
Use the API key
Include the key in the header with every request: Supported headers:Authorization: Bearer <API_KEY>x-api-key: <API_KEY>
Using Authorization
Using x-api-key
Store keys securely
- Use API keys only in server-side code
- Never expose keys in frontend applications
- Never commit keys to source control
- Rotate keys periodically
- Revoke keys that are no longer needed
- Use separate keys per environment when possible
Authentication errors
401 Unauthorized
401 Unauthorized
403 Forbidden
403 Forbidden
Returned when the key is valid but the resource is outside the key’s workspace. Each API key is bound to a single workspace and can only see resources in that workspace.
FAQs
Do I use an API key or a user token?
Do I use an API key or a user token?
Use an API key for the public REST API.Create the key in Chronicle, store it securely, and send it with requests to
/api/v1/....How do I send my API key?
How do I send my API key?
Send it as either:
Authorization: Bearer <API_KEY>x-api-key: <API_KEY>
Why did I only see the raw key once?
Why did I only see the raw key once?
For security reasons, Chronicle only shows the raw API key once.Copy it when you create it and store it in your secret manager. If you lose it, create a new key.
Why am I getting 403 even though my key is valid?
Why am I getting 403 even though my key is valid?
A
403 means your key was accepted, but the action is not permitted.The most common cause is that the resource belongs to a different workspace than the one your key is bound to. Each key is workspace-scoped and can only see resources in its own workspace.Are API keys rate limited?
Are API keys rate limited?
Yes. Requests are rate limited per API key.If you hit the limit, reduce request frequency and retry with backoff. Learn more
Can I delete an API key?
Can I delete an API key?
Keys are revoked rather than hard-deleted. This preserves audit visibility.Once revoked, the key can no longer be used.