Skip to content

List API Keys

The workspace's live API keys: name, prefix and scopes.

GET/api/v1/api-keys

Requires an API key with the admin scope.

N e Not available while acting as a client workspace. API keys are never created, listed or revoked over MCP.

Query Parameters#

pageintegerquery

Page number, starting at 1.

pageSizeintegerquery

Results per page, 1 to 100. Default 50.

Response#

Returns a paginated list in data. A key's secret and hash are never returned; use the prefix to recognise a key.

Errors#

StatusDescription
401Missing, invalid, revoked or expired API key
403The key lacks the admin or write scope, or its creator lacks the required role
403Called while acting as a client workspace with X-Workspace-Id (acting_as_forbidden)

Rate Limit#

  • 300 requests per minute, shared by every read call in your workspace. Fixed 60-second window.
  • Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (unix epoch seconds) and X-RateLimit-Bucket (read).
  • A 429 response includes a Retry-After header (seconds until the bucket resets).

For client-side patterns, see Rate Limiting.

Was this page helpful?
View as MarkdownLast updated November 4, 2026