API keys and scopes
An API key belongs to one workspace and carries scopes; it has no role and inherits nothing.
Issue a key
- Open Developer → API keys and choose New key.
- Name it for yourself under What is it for?
- Tick the scopes under What may it do? — these are the whole of its authority.
- Optionally limit Allowed addresses and set a date under Stops working on.
- Choose Issue key and copy it. It is shown once and cannot be shown again.
Only owners and admins can issue keys.
Scopes for the studio
| Scope | Allows |
|---|---|
workspace.view | The brand kit, and connecting over MCP at all. |
product.view | Reading products. |
product.manage | Importing products. |
ad.view | Reading ads, picture sets, options and the studio overview. |
ad.manage | Creating ads, choosing scripts and cast, producing, making picture ads. |
research.view | Reading studied reference ads. |
research.manage | Studying a new reference ad. |
Give a key only the scopes it needs. A read-only key cannot spend credits at all.
Using a key
Send it as a bearer token:
Authorization: Bearer ag_live_…
Rotate a key to replace its secret, or revoke it to stop it immediately.
Daily limit for agents
On the same page, set Most credits agents may spend a day. It applies to everything spent through API keys in a rolling 24 hours. The page shows what agents spent in the last 24 hours.
Still stuck? Open a ticket and a person on the team answers by email.