Skip to main content
GET
List API keys
List your API keys. Only the key prefix is returned, never the full key.

Authorizations

Authorization
string
header
required

Accepts one of three credential types (detected by format):

  • Session token (sess_...) — O(1) Redis lookup, 24h TTL. Preferred.
  • Google ID Token (JWT — three .-separated base64 segments) — calls Google tokeninfo API per request.
  • Service API Key (sk_live_...) — HMAC-SHA256 constant-time validation, never expires unless revoked.

Note: The web UI authenticates via a session httpOnly cookie (set during login). The cookie is checked first; the Authorization header is the fallback for programmatic clients.

Response

Array of API key metadata.

key_id
string<uuid>
Example:

"123e4567-e89b-12d3-a456-426614174001"

key_prefix
string
Example:

"sk_live_ab12"

revoked
boolean
Example:

false

created_at
string<date-time>
Example:

"2025-11-01T00:00:00Z"

last_used_at
string<date-time> | null
Example:

"2025-11-15T10:30:00Z"