chariotai-api-key header.
Authentication errors
All authentication failures return401 with the standard error envelope:
See Errors & status codes for the full envelope and other status codes.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
How to authenticate requests to the Chariot API with your API key.
chariotai-api-key header.
curl https://api.chariot.in/v1/credits \
-H "chariotai-api-key: YOUR_API_KEY"
401 with the standard error envelope:
{
"statusCode": 401,
"error": "UnauthorizedException",
"message": "No API key or user credentials provided"
}
| Message | Cause |
|---|---|
No API key or user credentials provided | The chariotai-api-key header is missing. |
Invalid API Key or user credentials | The key is unknown or malformed. |
API Key expired | The key has passed its expiry. |