draft with its role’s defaults: the account’s messaging channels, the role’s actions and approvals, working hours 09:00–19:00 Monday to Saturday, and a daily limit of 100,000 tokens.
Before it can go live it needs an AI key and model, chosen on the panel, and a check that they answer — verify it once they are set. Then put it live.
Needs the
agents:write scope.Body
Request
Response
201 Created — the agent, a draft, in the shape GET /v1/agents/{agent_id} answers.
Errors
Every refusal is{"error": {"code", "message", "field"}}; field is there when one input is at fault.
Any request can also be refused for its key, its account or its rate (
key_required, invalid_key, account_suspended, plan_excludes_api, address_not_allowed, rate_limited); see the overview.