List API keys
list_api_keysManage API credentials by listing account API keys with scopes, spend limits, and last use. Get key details without exposing secrets—only prefix and last four characters are shown.
Instructions
List the account's API keys with their scopes, spend limits and last use. Secrets are never returned, only a prefix and last four characters.
Requires scope api_keys:read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size, 1–100. Default 20. | |
| ending_before | No | Cursor from a previous response. Fetches the page before it. Not with starting_after. | |
| starting_after | No | Cursor from a previous response's next_cursor. Fetches the page after it. |