Headers
API key used for authenticating requests to the API.
Workspace identifier for the API.
Path Parameters
The unique identifier of the agent to update.
Request Body
New name for the agent.
New language model to be used by the agent to generate responses. Must be one of: gpt-4o-mini, gpt-4o-enterprise, gpt-4.1, gpt-4.1-mini, gemini-2.5-flash-preview-native-audio-dialog, gemini-2.5-flash, gemini-live-2.5-flash-preview, geminiaudiopipeline:gemini-2.5-flash-preview-native-audio-dialog, gemini-2.0-flash-live-001, gpt-5.
Text-to-Speech configuration updates.
Enable smart callback functionality for the agent.
Maximum number of callback attempts when smart callback is enabled.
Array of time intervals between each callback attempt. Each item contains days and hours.
Array of phone number IDs to associate with the agent.
Additional settings for the agent.
Custom variables to store for the agent.
Response Fields
The unique identifier of the agent.
The workspace identifier to which the agent belongs.
The user identifier associated with the agent, if applicable.
The name assigned to the agent.
The configuration of the text-to-speech model used by the agent.
The provider of the TTS service.
The specific voice ID used in the TTS model.
The name of the TTS model configuration.
The language set for the TTS model.
Encrypted ElevenLabs API key (only present if provider is “11labs_byo”).
The large language model used by the agent.
Whether smart callback functionality is enabled.
Array of phone number IDs associated with the agent.
Any custom settings configured for the agent.
The current status of the agent, such as “pending”, “ready”, or “error”.
The current node or state within the agent’s flow or logic.
Custom variables stored for the agent.
Timestamp when the agent was created.
Timestamp when the agent was last updated.