list_api_keys
Retrieve and audit Portkey API keys including access scopes, defaults, limits, and expiration details.
Instructions
List Portkey API keys for auditing access, scopes, defaults, limits, and expiration. Use this for API keys only; use list_virtual_keys for provider keys. Returns total plus id, type, status, workspace/user scope, limits, defaults, alert emails, and creation mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_size | No | Number of results per page (max 100) | |
| current_page | No | Page number for pagination | |
| workspace_id | No | Filter by workspace ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded and returned structured data | |
| data | No | Structured success payload when ok is true | |
| error | No | Structured error payload when ok is false |