list_api_keys
List Portkey API keys to audit access, scopes, limits, and expiration dates. Returns details including status, workspace scope, and alert emails.
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 |