Skip to main content
PATCH
Update agent version

Authorizations

Authorization
string
header
required

Send your organization API key as Authorization: Bearer <key>.

Path Parameters

id
string<uuid>
required

Agent id

versionId
string<uuid>
required

Agent version id

Body

application/json

Partial update: only send fields to change. keyterms, when present, replaces the entire list.

phone_number_id
string<uuid> | null

New assigned number id, or null to clear assignment.

name
string
llm
string

Language model id in provider/model form. Use GET /v1/llms for values accepted on create and update.

fallback_llm
string

Language model id in provider/model form. Use GET /v1/llms for values accepted on create and update.

status
enum<string>

Whether the agent accepts traffic.

Available options:
active,
inactive
prompt
string
first_message
string
first_message_interruption_time
number
default_language
string

One of: multi, en, es, fr, de, it, pt, ru, zh, ja, ko, ar, hi (see Agent.default_language).

summarize_calls
boolean
noise_cancel_settings
object

Inbound noise suppression profile.

vad_settings
object

Voice-activity detection timing for turn-taking. On PATCH, send only the fields to change; omitted properties keep their stored values.

turn_detection_settings
object

Turn detection tuning. On PATCH, send only the fields to change; omitted properties keep their stored values.

enable_first_message_outbound
boolean
timeout_settings
object

Limits and escalation rules for user silence and overall call duration.

keyterms
string[]
voice_settings
object

Voice and TTS provider for the agent. On create or update, include id and provider; optional tuning fields (when sent and non-zero) must be between 0 and 2.

Response

Updated agent version

One configuration snapshot for an agent. Name, status, and phone number stay on the agent.

id
string<uuid>
required
agent_id
string<uuid>
required
default
boolean
required

True when this is the agent's default version.

created_at
string<date-time>
tag
string
graph_version_id
string<uuid>

Graph version this agent version uses, when set.

llm
string

Language model id in provider/model form. Use GET /v1/llms for values accepted on create and update.

fallback_llm
string

Language model id in provider/model form. Use GET /v1/llms for values accepted on create and update.

redundancy
integer
prompt
string
first_message
string
first_message_interruption_time
number
first_message_delay
number
default_language
string
summarize_calls
boolean
noise_cancel_settings
object

Inbound noise suppression profile.

vad_settings
object

Voice-activity detection timing for turn-taking. On PATCH, send only the fields to change; omitted properties keep their stored values.

turn_detection_settings
object

Turn detection tuning. On PATCH, send only the fields to change; omitted properties keep their stored values.

enable_first_message_outbound
boolean
voice_settings
object

Voice and TTS provider for the agent. On create or update, include id and provider; optional tuning fields (when sent and non-zero) must be between 0 and 2.

timeout_settings
object

Limits and escalation rules for user silence and overall call duration.

keyterms
string[]