create_scoped_key
Create an agent-scoped API key to self-provision or rotate per-agent credentials. The plaintext key is returned once and must be stored immediately.
Instructions
Create an agent-scoped API key (chr_ak_*) that can only act on behalf of a single agent. Use this to self-provision or rotate per-agent credentials. The plaintext key is returned exactly once in the response — store it immediately, it cannot be retrieved later. Requires an org-level API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Human-readable label for the key | |
| agent_id | Yes | Agent ID this key is scoped to |