List API keys

Return the organization’s API keys with their current usage, wrapped in a list envelope. The management key’s organization is implied by the key itself. A page holds at most 100 keys; when has_more is true, advance offset to read the rest.

Authentication

AuthorizationBearer

A management key (prefixed mgmt_), created in the dashboard under Settings, API keys, Management keys. Distinct from a regular gateway API key, and never used to call models.

Query parameters

offsetintegerOptional>=0Defaults to 0
Number of keys to skip.
limitintegerOptional1-100Defaults to 100

Maximum number of keys to return (max 100).

Response

A page of the organization's keys.
object"list"Optional
datalist of objectsOptional
has_morebooleanOptional
True when more keys remain beyond this page. Advance with offset until it is false.

Errors

401
Unauthorized Error