API Keys

API key management endpoints for projects

List API Keys

get

Retrieves a list of API keys for a specific project.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
org_idstringRequired

Organization ID

project_idstringRequired

The project ID

Responses
200

A list of API keys.

application/json
get
/api/v1/orgs/{org_id}/projects/{project_id}/api-keys

Create API Key

post

Creates a new API key for a specific project. The API key value will be auto-generated and returned only once in the response.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
org_idstringRequired

Organization ID

project_idstringRequired

The project ID

Body

Request to create a new API key.

namestring · min: 1 · max: 255Required

A descriptive name for the API key.

Example: Production API Key
Responses
post
/api/v1/orgs/{org_id}/projects/{project_id}/api-keys

Delete API Key

delete

Soft deletes an API key by setting the deleted_at timestamp. The API key can no longer be used for authentication after deletion.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
org_idstringRequired

Organization ID

project_idstringRequired

The project ID

api_key_idstring · uuidRequired

The API key ID

Responses
delete
/api/v1/orgs/{org_id}/projects/{project_id}/api-keys/{api_key_id}

No content

Last updated