For the complete documentation index, see llms.txt. This page is also available as Markdown.

API Keys

Get Api Keys

get

Get all API keys registered to the user

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Successful Response

application/json
fidstringRequiredExample: apikey_abc123456
namestringRequired
created_atstring · datetimeRequiredExample: 2024-01-01T00:00:00Z
expires_atstring · datetimeRequiredExample: 2024-01-01T00:00:00Z
deactivated_atstring · datetime · nullableOptionalExample: 2024-01-01T00:00:00Z
snippetstringRequiredExample: fkey_abc1...
get/v2/api-keys

Create Api Key

post

Create a new API key

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
namestringRequired
expires_atstring · datetimeRequiredExample: 2024-01-01T00:00:00Z
Responses
201

Successful Response

application/json
fidstringRequiredExample: apikey_abc123456
namestringRequired
created_atstring · datetimeRequiredExample: 2024-01-01T00:00:00Z
expires_atstring · datetimeRequiredExample: 2024-01-01T00:00:00Z
deactivated_atstring · datetime · nullableOptionalExample: 2024-01-01T00:00:00Z
snippetstringRequiredExample: fkey_abc1...
secretstringRequiredExample: fkey_abc123456
post/v2/api-keys

Revoke Api Key

delete

Revoke an API key

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
key_fidstringRequiredExample: apikey_abc123456
Responses
204

Successful Response

No content

delete/v2/api-keys/{key_fid}

No content

Last updated