Get API Key
API Keys
Get API Key
Retrieve a single API key by ID
GET
Get API Key
Overview
Returns the metadata for a single API key. The raw key secret is never returned; only theprefix (the first 12 characters of the key) is included, for identification. The full secret is shown once, when the key is created or rotated.
Revoked and expired keys are still retrievable here so audit history stays intact; check the status field.
Requires the api-keys:manage scope.
Path Parameters
API key ID (
key_...).Response
API key ID.
Always
api_key.Human-readable name.
First 12 characters of the raw key, for identification. The full secret is never returned.
Scopes granted to this key.
Rate limit tier label for the key.
Lifecycle state:
active, expired, or revoked.Expiry timestamp, or
null for a non-expiring key.Timestamp of the last API call with this key, or
null if never used.Key-value metadata.
Revocation timestamp, or
null.ID of the API key that created this key.
Creation timestamp.
Last update timestamp.
Unique request identifier for support and debugging.