Skip to main content
POST
Update any configuration fields for an existing AI agent. Only include fields you want to change.

Request Body

string
required
The unique identifier of the agent to update.
string
Agent display name (max 100 characters).
string
Message spoken when answering calls (max 500 characters).
string
Instructions defining the agent’s behavior (max 10,000 characters).
string
Voice for phone calls. Use the List Voices endpoint to get all available options, including any cloned voices on your account.ElevenLabs voices:OpenAI voices (prefix openai-):
string
LLM model for conversation.
string
Language code (e.g., en-US, es-ES).
integer
Maximum call duration in seconds (60 to 3600).
array
Phrases that trigger call termination.
string
Phone number for call transfers.
boolean
Enable or disable the agent.
object
Configuration for agent functions. See Create Agent for full schema.Example - Enable transfer with multiple numbers:
Example - Configure end call:
array
Dynamic variables for extracting structured data from conversations. Replaces all existing variables for this agent.Each variable object:
  • name (string, required) — Variable name (e.g., caller_name)
  • description (string) — What to extract
  • var_type (string) — text (default), number, boolean, or enum
  • enum_options (array) — Required when var_type is enum
boolean
Enable caller memory — the agent remembers past conversations with each contact.
object
Configuration for caller memory. Only applies when memory_enabled is true.
boolean
Enable semantic memory — the agent finds similar past conversations across all contacts using AI embeddings.
object
Configuration for semantic memory. Only applies when semantic_memory_enabled is true.
array
Array of agent UUIDs that share memory with this agent. Allows multiple agents to access the same contact memories.
boolean
Whether calls handled by this agent are recorded. Defaults to true. Set to false to disable recording for all calls routed to this agent (both inbound and outbound).

Response

Returns the updated agent object.