Skip to main content

Overview

Returns user API keys in the organization associated with the current management token.

Notes

  • Monetary fields are USD-only. CNY inputs are retired and return 400 currency_retired.
  • System-managed keys are excluded.

Example

Request / Response

Use the interactive OpenAPI panel above for the exact schema.

Response example

Important fields

string
Always list.
array
Array of API key objects.
object
Pagination metadata with page, limit, total, and totalPages.
string
API key identifier used in follow-up Management API calls.
string
Display name for the API key.
string
Non-secret key prefix for display and support.
string
One of active, inactive, or revoked.
number | null
Spending cap in USD as a JSON number for display. null means unlimited.
string | null
Exact spending cap in USD as a decimal string. null means unlimited.
number
Accumulated usage in USD as a JSON number for display.
string
Exact accumulated usage in USD as a decimal string.
string[]
Per-key model allowlist. Empty array means no additional key-level model restriction.
string | null
ISO timestamp when the key expires, or null for no expiry.
string | null
ISO timestamp for the most recent use, or null when unused.
string
ISO creation timestamp.