API Keys

Toggle API Key Active Status

Enable or disable an API key. Disabled keys will be rejected for authentication.

patch/api/me/api-keys/{key_id}/active

Path parameters

key_idstring required

Request body

is_activeboolean required

Response

Key status updated

idstring
namestring
key_prefixstring

First 8 characters of the key (fim_****)

scopesstring nullable

Comma-separated scopes (chat, agents, kb, connectors, admin)

is_activeboolean
expires_atstring date-time nullable
last_used_atstring date-time nullable
total_requestsinteger
created_atstring date-time

Changes