cURL
Create API key with name and rate limit
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" } }
Create a new API key for your team with optional name and rate limit configuration.
Service API key for team authentication
Optional name for the API key
"Production API Key"
Optional rate limit for the API key (requests per minute)
1000
API key created successfully
Show child attributes