api_key_get
ManagementGet Project API Key
Get one project API key by id.
Args:
- project_id: required
- key_id: required — the key's id (apiu_...) or api_key_id (api_...), from api_keys_list
- team_id: optional — required for OAuth sessions
- response_format: optional — 'json' (default) or 'markdown'
Returns: key ({id, api_key_id, name, status, scope, role, projects, created_at}) and manage_keys_url. Team-scoped keys are not attached to projects and never appear here — they are visible only in the Scenario portal (manage_keys_url).
read-onlyidempotentopen-world
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| team_id | string | — | Team ID. Required if user belongs to multiple teams. |
| project_id | string | ✓ | Project ID. Get it from projects_list. |
| key_id | string | ✓ | The key's id (apiu_...) or api_key_id (api_...) — from api_keys_list. |
| response_format | enum(json | markdown) | json | Output format: 'json' for structured data, 'markdown' for human-readable text. |