All API requests must include anDocumentation Index
Fetch the complete documentation index at: https://docs.ai21.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header with a Bearer token for authentication. To authenticate:
- Use your API key as the token.
- Include it in the request header as shown below:
Authorization: Bearer <your-api-key> Replace
<your-api-key> with your actual key.See the Create an API Key guide for step-by-step instructions.

