Skip to main content
POST
/
api-keys
curl -X POST 'https://admin-api.exa.ai/team-management/api-keys' \
-H 'x-api-key: YOUR-SERVICE-KEY' \
-H 'Content-Type: application/json' \
-d '{
"name": "Production API Key",
"rateLimit": 1000
}'
{
  "apiKey": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "rateLimit": 123,
    "teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "createdAt": "2023-11-07T05:31:56Z"
  }
}

Get your Exa API key

The Create API Key endpoint allows you to programmatically generate new API keys for your team using your service API key.

Optional Parameters

  • name: A descriptive name for the API key to help identify its purpose
  • rateLimit: Maximum number of requests per minute allowed for this API key

Authorizations

x-api-key
string
header
required

Service API key for team authentication

Body

application/json
name
string

Optional name for the API key

Example:

"Production API Key"

rateLimit
integer

Optional rate limit for the API key (requests per minute)

Example:

1000

Response

API key created successfully

apiKey
object