api-keys to create, list, revoke, and delete API keys for the authenticated user.
Supported actions: all, list, create, revoke, delete.
Authentication model
List API keys
Retrieves all API keys for the authenticated user. Bothall and list return the same result.
Must be
"api-keys"."all" or "list".Response
Create API key
Creates a new API key. The full key is returned once in the response and cannot be retrieved again.Must be
"api-keys".Must be
"create".Response (status 201)
Revoke API key
Revokes a key immediately. Any subsequent requests using the revoked key will return401.
Must be
"api-keys".Must be
"revoke".The API key ID to revoke.
Response
Delete API key
Permanently deletes an API key record.Must be
"api-keys".Must be
"delete".The API key ID to delete.
Response
Using API keys
Once created, pass your API key on every request:Operational limits
- Maximum 5 active keys per user.
- Rate limit of 60 requests/minute per key.
Error responses
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | Maximum 5 active API keys allowed. Revoke an existing key first. |
| 401 | INVALID_TOKEN | Invalid or revoked API key |
| 429 | RATE_LIMIT_EXCEEDED | Rate limit exceeded |

