Authorization header or the X-API-Key header.
Available scopes
List API keys
GET /api/v1/org/api-keys
Returns all API keys created for your organization, including their scopes and last-used timestamps. Secret key values are never returned after initial creation.
200 OK
array
Array of API key objects belonging to your organization.
string
Unique identifier for the key. Use this ID when revoking the key.
string
Human-readable label you assigned when creating the key.
string[]
List of permission scopes granted to this key.
string
ISO 8601 timestamp of when the key was created.
string | null
ISO 8601 timestamp of the most recent authenticated request.
null if the key has never been used.string | null
ISO 8601 expiry timestamp.
null for keys with no expiration.integer
Total number of keys in your organization.
Create API key
POST /api/v1/org/api-keys
Creates a new API key. The secret key value is returned only once in the creation response — store it securely immediately. Subsequent calls to list keys will not return the secret value.
string
required
A human-readable label for this key (e.g.
"Production Dashboard", "CI Pipeline"). Must be unique within your organization. Maximum 128 characters.string[]
required
List of permission scopes to grant. Must contain at least one scope. See the scopes table above for valid values.
integer
Optional. Number of days until the key expires. Omit for a non-expiring key. Must be between 1 and 3650.
201 Created
string
Unique key identifier. Use this to revoke the key.
string
The label you provided.
string
The secret API key value. This is the only time this value is returned — save it immediately.
string[]
Confirmed list of scopes granted to the key.
string
ISO 8601 creation timestamp.
string | null
ISO 8601 expiry timestamp, or
null if the key does not expire.Revoke API key
DELETE /api/v1/org/api-keys/{key_id}
Permanently revokes an API key. Any in-flight requests using this key will fail immediately. This action cannot be undone.
string
required
The
id of the key to revoke, as returned by the list or create endpoints.204 No Content
An empty body is returned on success.