Update Agent
Agent API
Update Agent
Update Agent.
PATCH
Update Agent
Authorizations
Your Agni API key used to authenticate the request. Pass it in the
X-Api-Key header. Find or rotate it from your Ravan AI account settings.Request
Example curl:Path Parameters
The unique ID of the resource in the path. Use the ID returned by the related create or list endpoint.
Body
The public-facing display name for the agent. This is the name users may see or hear during conversations.
The LLM model identifier used by the agent for reasoning and responses.
The speech-to-speech model identifier used for realtime voice conversations.
The voice ID used for the agent speech output.
Controls response randomness for the agent model. Lower values are more deterministic; higher values are more varied.
The amount of silence, in milliseconds, before the agent sends a reminder or prompt.
The maximum number of reminder messages the agent can send during a call.
The background sound profile to play during calls. Leave empty to disable ambient audio.
The volume level for the selected ambient sound. Use a decimal value from
0 to 1, where 0 is muted and 1 is full volume.Whether the call should end automatically after a long silence from the user.
The maximum allowed call duration in milliseconds. The call ends when this limit is reached.
The maximum time, in milliseconds, to let an outbound call ring before it is treated as unanswered.
Whether the agent should detect voicemail during outbound calls.
The message the agent should leave when voicemail is detected.
The maximum time, in milliseconds, to wait for voicemail detection before continuing the call flow.
Whether to transfer the call to a backup number on failure.
The backup number to transfer the call to.
Interactive voice response settings for the agent, including keypad options and routing behavior.
The model used to generate post-call analysis, such as summaries, sentiment, and disposition.
The prompt used to generate the post-call summary. Include the outcome, details, and next steps you want the AI to extract.
The tools enabled for the agent. Include tool IDs and any configuration needed for the agent to call them.
Integration settings for the agent, such as connected scheduling, CRM, or webhook configuration.
The knowledge base reference or content available to the agent during conversations.
The first message the agent says when the conversation starts. Keep it short and natural for voice calls.
Who speaks first when the call starts. Use the value supported by the agent configuration, such as
agent or user.Response
Whether the request succeeded.
Human-readable status message.
Returned data.
Authorizations
Path Parameters
Agent ID
Body
application/json

