This is a partial update (PATCH). Only include the fields you want to change in the request body.
Authorizations
Path Parameters
The unique UUID of the agent to update.
Body
UUID of the widget settings to associate.
Internal name for the agent.
Display name shown to end users.
LLM model identifier (e.g. gpt-4o, gpt-4o-mini).
Speech-to-speech model identifier.
Voice profile ID for text-to-speech.
LLM temperature (0.0–1.0).
Milliseconds of silence before sending a reminder.
Maximum reminders per call.
Ambient sound identifier.
Ambient sound volume (0.0–1.0).
Whether to end the call after prolonged silence.
Maximum call duration in milliseconds.
Ring duration in milliseconds.
enable_voicemail_detection
Enable or disable voicemail detection.
Message to leave on voicemail.
voicemail_detection_timeout_ms
Voicemail detection timeout in milliseconds.
Model for post-call analysis.
Prompt for post-call summary generation.
Tool IDs enabled for this agent.
Integration configuration.
Knowledge base content or reference.
Opening greeting message.
Who speaks first: "agent" or "user".
Response
Whether the request succeeded.
Human-readable status message.
The updated agent object with all fields.
Agent status. Values: AGENT_STATUS_UNSPECIFIED, AGENT_STATUS_ACTIVE, AGENT_STATUS_INACTIVE.
Creation timestamp (ISO 8601).
Last update timestamp (ISO 8601).
curl -X PATCH https://api.ravan.ai/api/v1/agents/019d1fdb-98e9-7c87-86c7-321e2fa98733/ \
-H "X-Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Updated Sales Assistant",
"temperature": 0.5,
"begin_message": "Hi there! How can I assist you today?"
}'
{
"success": true,
"message": "Agent updated successfully",
"data": {
"id": "019d1fdb-98e9-7c87-86c7-321e2fa98733",
"organization_id": "1268c1f0-19f3-47db-aefb-c16a7c3ace6e",
"name": "Updated Sales Assistant",
"agent_name": "Ava",
"status": "AGENT_STATUS_ACTIVE",
"model": "gpt-4o",
"temperature": 0.5,
"selected_tools": [],
"integrations": null,
"begin_message": "Hi there! How can I assist you today?",
"start_speaker": "agent",
"created_at": "2026-03-20T10:30:00Z",
"updated_at": "2026-03-20T15:45:00Z"
}
}
enable_voicemail_detection
voicemail_detection_timeout_ms