List API Keys
list_api_keysRetrieve a project's active and disabled API keys with IDs, names, expiry status, and last four characters; full keys are excluded and available only through a separate request.
Instructions
List a project's API keys, active and disabled, masked: id, name, expiry (ISO), whether it has expired and the last 4 characters. The full keys are never listed; get_api_key returns one when the user asks for it. Requires "API keys: Read". Disabling or deleting keys is only possible in the developer portal.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>"
},
"name": "list_api_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project id (UUID), from list_projects or create_project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | Things to know about this result. | |
| active | Yes | Keys that can be used. | |
| disabled | Yes | Keys disabled in the developer portal. | |
| projectId | Yes | The project the keys belong to. |