v51

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-01140309549.5 KB
projects
keys

List project keys

List all API keys for a project. Requires manage permission on the project. By default, the keys are sorted in alphabetical order by name. The HTTP response header X-Total-Count contains the total number of keys.

get/v0/projects/{project}/keys

Path parameters

projectstring required

The slug or UUID for a project.

Query parameters

direction'asc' | 'desc'

The direction to sort by. If not specified, the default sort direction is used.

pageinteger nullable

The page number to return. If not specified, the first page is returned.

per_pageinteger nullable

The number of items to return per page. If not specified, the default number of items per page (8) is used.

sort'name'

Sort by key name.

The field to sort by. If not specified, the default sort field is used.

namestring

Filter by key name, exact match.

revokedboolean nullable

If set to true, only returns revoked keys. If not set or set to false, only returns non-revoked keys.

searchstring

Search by key name or UUID.

Response

successful operation

creationstring date-time required
creatorstring uuid
expirationstring date-time required
namestring required
projectstring uuid required
revokedstring date-time
uuidstring uuid required