api-keys

List API keys

List all API keys for the current organization.

Returns API keys with masked key_prefix (never the full key).

RLS: Filtered to current client (ClientRLSDB).

get/api/v1/api-keys

Response

Successful Response

created_atstring date-time required

Creation timestamp

descriptionstring nullable required

Optional description

expires_atstring date-time nullable required

Expiration datetime

idstring uuid required

API key UUID

key_prefixstring required

Key prefix for display (e.g., kat_live_7kD9...)

last_used_atstring date-time nullable required

Last usage timestamp

namestring required

API key name

scopesstring[] required

Granted scopes

status'active' | 'revoked' | 'expired' required

Status of an API key.

Changes