List API Keys
list-api-keysRetrieve API key names, IDs, permissions, default database, creation dates, and expiration details for a RawTree cluster to audit access or identify a key before revocation.
Instructions
Purpose: List API keys for a RawTree cluster.
NOT for: Creating or revoking credentials. Use create-api-key or delete-api-key for those workflows.
Returns: API key names, IDs, API key hints, permissions or database roles, default database, creation dates, and expires_at (UTC timestamp or null for never).
Auth: Uses GET /v1/api-keys and requires an admin database API key.
When to use:
User asks what API keys exist
You need the key ID before revoking a key
You need to audit permissions for a database
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 |
|---|---|---|---|
| cluster | No | Name or ID of the cluster to use for this operation. | |
| organization | No | Name or ID of the organization containing the target cluster. |