AI21 Labs home page
Search...
⌘K
Ask AI
Playground
API Key
Get a Demo
Get a Demo
Search...
Navigation
Using the APIs
Authentication
Home
Guides
API Reference
Updates
Using the APIs
Introduction
Authentication
Rate Limits
Foundation Models
POST
Chat Request
Chat Response
AI21 Maestro [Beta]
POST
Create run
GET
Retrieve run status
Run object
File Library Management
Overview
POST
Upload Workspace Files
GET
List Library Files
GET
Get Workspace Files
GET
Get File Download Link
PUT
Update File
DEL
Delete File
Using the APIs
Authentication
All API requests must include an
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:
Header format:
Authorization: Bearer <your-api-key>
Replace
<your-api-key>
with your actual key.
Was this page helpful?
Yes
No
Introduction
Rate Limits
Assistant
Responses are generated using AI and may contain mistakes.