Skip to main content
PATCH

Update Agent Deployment

Partially update the deployment section of an agent. Fields you leave out are left unchanged, but see the note below on which fields are merged and which are replaced.
Not every field is merged. Only the AI provider blocks under senses_capabilities (ears, brain, mouth) are deep-merged. Dictionaries and lists such as deployment_config and metadata are replaced as a whole by what you send, so always send the complete value you want to keep (read it first with GET /api/agents/{agent_id}).
The deployment section controls phone number routing - which numbers the agent handles for inbound calls and which numbers it dials from for outbound calls.

Path Parameters

string
required
UUID of the agent to update.

Body Parameters

object
Deployment configuration wrapper.

Request Example


Response

Phone numbers must be in E.164 format (e.g. +911234567890). Pass an empty string "" for Inbound to remove inbound routing.