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

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

Response

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

Code Examples

Errors