Get revision
One saved revision, exactly as it was. Revisions never change. To run a call on a particular revision instead of the current one, pass agent_revision to POST /v2/calls.
Authorizations
Your workspace secret key, sk_live_ followed by 32 hex characters. Create one in the console under Developers.
Path Parameters
The agent's id (agt_…).
The revision number, from List revisions.
Response
Revision 1
How the agent takes turns with the caller. Always present; agents saved before this block existed read back with the defaults.
Other languages callers may speak. Speech recognition listens for them as well as the primary language. Optional; the primary language is never repeated here. Always returned; [] when there are none.
4hi, en, gu, mr, bn, ta, te, kn, ml, pa, od Replace the whole analysis block. Omit output_schema to remove structured extraction. Requires enabled=true to run.
Archive to block new calls; false restores availability subject to draft validation. Accepted call snapshots remain unchanged.
off, office The phone number this agent's outbound calls ring from when the call or its campaign does not choose one; null when unset (the Mirai shared line).
Drafts may have empty prompt or greeting, but cannot run calls.
Send call.processed when this agent has post-call tools, analysis or a flow (a flow agent's event carries the call's flow outcome). Set false to turn the event off.
500Present only on a flow agent.
Replace the entire input declaration. Null removes it and restores legacy string variables.
130 <= x <= 1800112000At most 40 tools: 10 pre_call, 20 on_call, 10 post_call. A PATCH replaces the whole list; null empties it. To edit one tool, use PUT/DELETE /v2/agents/{id}/tools/{name}.
40