Skip to main content
PUT
Update the configuration of an existing agent. Only provided fields will be updated.

Headers

string
required
Your API key for authentication.
string
required
The organization ID.
string
required
Must be application/json.

Path Parameters

string
required
The unique identifier of the agent.

Permissions

  • agents:update (admin, agent_manager)

Request Body

All fields are optional. Only provided fields will be updated.
string
The name of the agent (1-100 characters).
string
Primary language code.
string
Speech-to-Text provider.
string
Text-to-Speech provider.
string
Voice ID.
string
LLM provider.
string
Model ID.
string
The system prompt (10-10000 characters).
boolean
Whether the agent should speak first.
boolean
Enable end call tool.
number
Temperature setting (0.0-2.0).
string
Fallback LLM provider.
string
Fallback LLM model.
boolean
Enable call recording.
boolean
Enable AMD.
string
Voicemail message.
number
Delay before leaving voicemail (1.0-5.0).
array
List of custom tool IDs (replaces existing list).
array
List of knowledge base document IDs (replaces existing list).

Response

boolean
Indicates if the update was successful.
string
Human-readable success message.
object
The updated agent object (AgentData).