Update an agent
Updates one or more agent fields. Only provided fields are changed. At least one field must be provided.
Documentation Index
Fetch the complete documentation index at: https://docs.vocobase.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.
Path Parameters
Agent ID.
Body
New agent name.
50New system prompt.
120000New voice ID from the catalog returned by GET /agent/voices. Updates language and gender to match the selected voice.
inbound, outbound New greeting message. Pass null or empty string to remove.
500Toggle carrier-side voicemail detection for this agent on supported outbound providers.
Update the message used after a supported carrier detects voicemail. Pass null or an empty string to clear.
500Move the agent to a different project.
Pass null to reset to default (medium).
low, medium, high, null 2000120000List of pre-call variable names referenced in the prompt or greeting as {{name}}. Per-call values are supplied via the variables body field on POST /calls/start. Pass null to clear.
100^[a-zA-Z_][a-zA-Z0-9_]*$Custom Analysis config — runs an LLM extraction over the transcript after every completed call. Pass null to disable extraction.
Toggle the agent's ability to end the call autonomously.
New farewell line. Pass null or empty string to fall back to the platform default.
500Replace the free-text end-call instructions. Pass null or empty string to clear the section (the agent can still end calls via prompt logic if end_call_enabled is true). Replaces the prior end_call_triggers enum array.
2000Toggle cold transfer. When false, transfer settings are cleared.
E.164 destination number. Required when transfer_enabled is true.
New announcement spoken before transferring. Pass null or empty string for the platform default.
500Replace the free-text transfer instructions. Pass null or empty string to clear the section. Replaces the prior transfer_triggers enum array.
2000Update the hard call-duration cap. Range 60-3600. Pass null to remove the cap. New agents default to 600 (10 minutes); existing agents created before the default landed may currently hold null.
60 <= x <= 3600Set or change the background-audio asset. Pass null to remove background audio.
Mixing volume override for background_audio_id. Range 0.0-1.0. Pass null to use the default (0.3).
0 <= x <= 1