list_api_keys
List every API key in a project with its scope, last-used time, and client surface to audit access and find the prefix needed to revoke a key.
Instructions
Requires an API key with the admin scope or higher. List all API keys in the project. Never returns plaintext key values — only the non-secret prefix, which is enough to identify a key for revoke_api_key. Each key includes last_used_at and last_used_surface (which client — "mcp", "terraform", or "api" — most recently authenticated with it), both absent if the key has never been used, plus scope ("read", "write" or "admin" — what the key is permitted to do) and created_by_key_id (which key minted it, absent for a key made in the dashboard; revoking a key also revokes every key below it in that chain). last_used_surface is best-effort client self-identification from a caller-controlled, spoofable User-Agent header: useful for answering "did my client ever successfully authenticate?", never a basis for trust or authorization decisions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||