API Keys
List API Keys
Retrieve every API key registered on your workspace, with metadata and last-used timestamps. Secrets are never returned.
GET
List API keys
Returns every API key registered on your workspace, paginated. Each entry includes the key’s stable
id, its display name, the creation timestamp, and the last_used_at timestamp updated each time a request is authenticated with the key. Secret values are never returned by any endpoint after key creation, if you have lost a secret, revoke the key with Revoke API Key and issue a new one with Create API Key.
When to use this
- Security audits: enumerate every key, check
last_used_atto find dormant keys that should be revoked. - Rotation playbooks: confirm a newly created key is present before deploying it to consumer services.
- Operational dashboards: render an API key management page with the canonical list.
- Compliance reviews: produce a report of which keys exist in each workspace.
Query parameters
| Parameter | Description |
|---|---|
page | Page number, starting from 1. |
limit | Results per page (max 100, default 20). |
search | Filter by name (partial match). |
Errors
403 Forbiddenis returned when the caller’s API key cannot manage other keys.
Request
Response
Related endpoints
- Create API Key: issue a new key.
- Rename API Key: change a key’s display name.
- Revoke API Key: permanently retire a key.
- Key rotation: recommended sequence for rotating keys without downtime.
List API keys