Skip to content

API keys and permissions

Choose what each key may do, and keep it on your server.

When you create a key, choose its environment (test or live) and permissions. A website chat only needs Run agents. A reporting script only needs read permissions.

PermissionLets the key
agents:runRun agents and continue runs
agents:readRead agents and runs
actions:writeRequest actions, report results, use MCP
actions:readRead actions
policies:readRead policies
activity:readRead events and balance

To change a key's permissions, create a new key and revoke the old one. Rotate replaces a key with the same permissions in one step.