Skip to main content
GET
List API Keys

Overview

Returns the API keys for your organization, including creation date, last used timestamp, and scopes. The raw key secret is never returned; only the prefix (the first 12 characters of the key) is included, for identification. Use this to audit active keys, identify unused credentials, and manage key lifecycle. Defaults to active keys only. Pass status=revoked, status=expired, or status=all to see revoked or expired keys for audit purposes. Requires the api-keys:manage scope.

Query Parameters

string
default:"active"
Lifecycle filter: active (non-revoked, non-expired), revoked, expired, or all.
integer
default:"20"
Items per page (max 100).
string
Pagination cursor from a previous response.

Response

string
Always list.
object[]
boolean
Whether more pages are available.
object
string
Unique request identifier for support and debugging.

Code Examples

Errors