Skip to main content
POST
Create API Key
Generate a new API key for your account. Use separate keys for different agents, environments, or team members.
The API key value is returned once in this response. Store it immediately. You cannot retrieve it later.

Request

Headers

string
required
Bearer token. Example: Bearer agd_live_xxxxxxxxxxxxxxxxxxxx

Body

string
required
A descriptive name for this key. Examples: production-agent, staging, crewai-pipeline.

Response

string
The key ID, used for revocation.
string
The name you assigned to this key.
string
The full API key. Starts with agd_. Can be revealed again later from the dashboard.
string
ISO 8601 creation timestamp.

Examples

Response

Key Limits by Plan

Creating a key beyond your plan’s limit returns 403 Forbidden.

Errors