Skip to main content
GET
List API Keys

Authentication

Requires an API key in the Authorization header.
Scope depends on your workspace. When a workspace is active, this returns every key in the workspace, including other members’ keys and their metadata. Outside a workspace it returns only your own keys.

Request

No request body required.

Example request

Response

Returns a JSON array of API key objects (not wrapped in an object), ordered newest first and capped at 500 entries.
string
The key’s database id. Use this - never key_prefix - when renaming, toggling, limiting, or revoking a key.
string
Display name for the key.
string
The key’s non-secret prefix (the leading characters, e.g. enc_0be0a9a0).
boolean
Whether the key is currently active.
boolean
Whether the key was disabled by an administrator.
string
ISO 8601 creation timestamp.
string | null
ISO 8601 timestamp of last use, or null if never used.
integer
Total credits consumed by this key.
integer | null
Per-key credit cap, or null if unlimited.
string
Email of the workspace member who created the key. The literal removed user when that member no longer exists.
boolean
Whether the full key can still be read back via GET /api/account/keys/reveal?id={id}.

Errors

Errors return the shared envelope with success, result.code, message, and request_id. A legacy error key is included alongside it.