v34

latestOpenAPI 3.1.0AGPL-3.0-onlyraw.githubusercontent.com2026-08-018932140.9 KB
API Tokens

List API tokens

Returns all API tokens for the current user. Token hashes are never exposed. Requires admin role.

Note: API tokens cannot list other API tokens.

get/api/api-tokens

Response

Array of token metadata.

idinteger required
namestring required
scope'read-only' | 'deploy-only' | 'full-admin' required
user_idinteger required
created_atinteger required

Unix timestamp (seconds).

expires_atinteger nullable

Unix timestamp (seconds) or null for no expiry.

revoked_atinteger nullable
last_used_atinteger nullable