list_api_keys
Retrieve metadata for all API keys in the organization, including status, workspace, and partial key hint, filtered by status or workspace.
Instructions
List API keys in the organization.
Returns metadata only — the actual key values are never returned by the Admin API and cannot be retrieved after creation. Each entry includes id, name, status, workspace_id, partial_key_hint (last 4 chars), and created_by_user_id.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_api_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| status | No | Filter by status: active, inactive, archived | |
| workspace_id | No | Filter by workspace ID | |
| created_by_user_id | No | ||
| before_id | No | ||
| after_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||