List API keys

http
GET /api-keys

List the caller's API keys, or the keys bound to one project, newest first; every surface returns active keys unless status selects expired, revoked or all.

Parameters

NameInRequiredDescription
project_referencequeryProject ID or slug. Listing the keys bound to a project requires project.api_keys.read. Omit to list the caller's own keys; a project-scoped API-key caller retains its enforced project when this field is omitted.
statusquery
sort_byquery
sort_orderquery
cursorqueryOpaque cursor pointing at the next page. Omit it to read the first page.
limitqueryMaximum number of entries to return. Defaults to 20 and is capped at 100.

Responses

StatusDescription
200Paginated list of API keys
400Bad request
401Unauthorized
403Forbidden
404Not found
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.