API key management is available on Pro and Enterprise plans only. All endpoints are mounted under
/api/api-keys/.POST /api/api-keys
Create a new API key. The plaintext key is returned only once in the response. Store it securely — it cannot be retrieved again after creation. Headers: Request body:201 Created) — ApiKeyCreated:
The full plaintext API key. This is the only time the full key is returned. Store it securely.
GET /api/api-keys
List all API keys for the authenticated user, ordered by creation date (newest first). The full key value is never included — only the prefix is shown for identification. Headers:ApiKeyResponse:
DELETE /api/api-keys/
Revoke an API key. This is a soft delete — the key is marked as inactive and can no longer be used for authentication. The key record is retained for audit purposes. Path parameters: Headers:404 if the key does not exist or does not belong to the authenticated user.
PATCH /api/api-keys/
Update an API key’s display name. Path parameters: Headers: Query parameters:ApiKeyResponse with updated fields:
404 if the key does not exist or does not belong to the authenticated user.
Using API keys for authentication
Once you have a key, pass it in theAuthorization header as a Bearer token, the same way you pass a JWT: