Skip to main content
PUT
/
api
/
agents
/
{agent_id}
{
  "system_prompt": "Updated system prompt...",
  "llm_temperature": 0.5
}
{
  "success": true,
  "agent": {}
}
Update the configuration of an existing agent.
agent_id
string
required
The unique identifier of the agent.
agent_name
string
The name of the agent.
stt_provider
string
Speech-to-Text provider.
tts_provider
string
Text-to-Speech provider.
tts_voice
string
Voice ID.
llm_provider
string
LLM provider.
llm_model
string
Model ID.
system_prompt
string
The system prompt.
speak_first
boolean
Whether the agent should speak first.
end_call_tool
boolean
Enable end call tool.
llm_temperature
number
Temperature setting.
recording_enabled
boolean
Enable call recording.
voicemail_detection
boolean
Enable AMD.
voicemail_message
string
Voicemail message.
voicemail_response_delay
number
Delay before leaving voicemail.
custom_tools
array
List of Custom Tool IDs.
kb_document_ids
array
List of Knowledge Base Document IDs.

Response

success
boolean
Indicates if the update was successful.
agent
object
The updated agent object.
{
  "system_prompt": "Updated system prompt...",
  "llm_temperature": 0.5
}