List API keys
list_api_keysView a project's API keys without plaintext values, showing prefix, scope, creator, and last-used details for auditing access and tracking usage.
Instructions
Requires the admin scope or higher. Lists the project's API keys without plaintext values. Each has its non-secret prefix, scope (read, write or admin), created_by_key_id (the key that minted it, absent for a dashboard key; revoking a key revokes every key below it), last_used_at and last_used_surface (mcp, terraform or api; both absent when never used). last_used_surface comes from the caller-controlled User-Agent header: a hint, not proof of identity.
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 |
|---|---|---|---|
No arguments | |||