Skip to main content
GET

Overview

Returns all active API keys for the authenticated user. The plaintext key value is never returned after creation — only the key_prefix (first 8 characters) is shown for identification. Auth: Requires JWT token (Authorization: Bearer <token>).

Response

Returns an array of API key objects.
id
string
API key UUID
key_prefix
string
First 8 characters of the key (for identification)
name
string
Display name for the key
created_at
string
ISO 8601 creation timestamp
last_used
string
ISO 8601 timestamp of last usage (null if never used)
permissions
object
Resource permissions. null means unrestricted access.

Example