Overview
List active API keys for the authenticated user, with optional filtering by last-used timestamps.GET /api/v1/api-keys
Purpose: list active API keys for the authenticated user. Query parameters:from(RFC3339 timestamp, optional): filter bylast_used_at>= fromto(RFC3339 timestamp, optional): filter bylast_used_atless than or equal totoreveal(boolean, optional): include plaintext keys in the response (requiresENCRYPTION_KEY)
- When
reveal=true, each key includes a plaintextkeyfield. - Keys are masked by default using
key_preview.
Response
Status:200 OK
Example response:
keys[].key_preview: masked key (present whenreveal=false).keys[].key: plaintext key (present only whenreveal=true).
400invalid query parameters.401unauthorized.500internal error (including whenreveal=trueandENCRYPTION_KEYis missing).