Skip to main content
API keys are per workspace. The full key is shown once at creation.

Endpoints

See Authentication for storage details.

POST /api-keys

The key field is included only in this response. Store it; you can’t fetch it again.

Read-only key

Pass read_only: true to mint a key scoped to reads only:
The response is the same shape, but with "scopes": ["read"]. A read-only key can call GET endpoints but any write (POST/PATCH/DELETE) returns 403 insufficient_scope.

GET /api-keys

DELETE /api-keys/:id

Returns 204. The revoked key immediately fails auth on subsequent requests with 401 invalid_api_key. Calling DELETE on an already-revoked key returns 404.