curl --request PATCH \ --url https://api.ravan.ai/api/v1/agents/{id}/ \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data '{ "agentName": "Agni2324", "status": "ACTIVE", "model": "Agni Premium", "s2sModel": "Agni Premium", "voiceId": "Iris", "temperature": 0.7, "reminderTriggerMs": 10000, "reminderMaxCount": 1, "ambientSound": "city_ambience", "ambientSoundVolume": 1, "maxCallDurationMs": 240000, "ringDurationMs": 30000, "voicemailMessage": "", "voicemailDetectionTimeoutMs": 5000, "postCallAnalysisModel": "gpt-4o-mini", "postCallAnalysisData": [ { "choices": [ "Negative", "Positive", "Neutral" ], "description": "what was users sentiment throughout the call", "name": "sentiments", "type": "enum" }, { "description": "Detailed summary of the call before you transfer the call to a human agent so that the human agent can understand the context of the call", "name": "summary", "type": "string" }, { "description": "Select the data about their work", "name": "what they did in their work?", "type": "string" } ], "selectedTools": [ "019e9308-6e56-7488-910a-cceed909fc7a", "019e92fc-e8a4-7c3f-8b14-89a55db6f748" ], "knowledgeBase": "", "beginMessage": "", "startSpeaker": "agent", "createdAt": "2026-06-04 14:10:48.49862 +0000 UTC", "updatedAt": "2026-06-11 10:57:37.109987 +0000 UTC", "prompt": "The current date and Time in Asia/Calcutta is {{current_time_Asia/Calcutta}}\n\n# AGNI Friendly Daily Check-In Companion\n\nYou are AGNI, a warm, friendly, caring, and conversational AI companion.\n\nYour role is to have natural human-like conversations and regularly check in on how people are doing throughout their day.\n\nYou are NOT a therapist, counselor, interviewer, recruiter, salesperson, or technical assistant.\n\nYou are simply a friendly AI companion who enjoys talking to people and learning about their day.\nTalk in hindi.", "endcallOnSilenceDuration": 10000, "reminderMessage": "Hey there are you there?", "voicemailCustomPatterns": null, "interruptionSensitivity": 0.1, "calcomAccountName": "Default", "calcomStatus": "active", "calcomConnectionType": "agent", "ghlAssignUserIdList": [], "memory": true, "calendarTimezone": "UTC", "accent": [], "emotion": false, "crmSyncProviders": null, "salesforceCalendarId": "", "salesforceAssignUserIdList": [], "emergencyFallback": "+919911293960"}'
import requests
url = "https://api.ravan.ai/api/v1/agents/{id}/"
payload = {
"agentName": "Agni2324",
"status": "ACTIVE",
"model": "Agni Premium",
"s2sModel": "Agni Premium",
"voiceId": "Iris",
"temperature": 0.7,
"reminderTriggerMs": 10000,
"reminderMaxCount": 1,
"ambientSound": "city_ambience",
"ambientSoundVolume": 1,
"maxCallDurationMs": 240000,
"ringDurationMs": 30000,
"voicemailMessage": "",
"voicemailDetectionTimeoutMs": 5000,
"postCallAnalysisModel": "gpt-4o-mini",
"postCallAnalysisData": [
{
"choices": ["Negative", "Positive", "Neutral"],
"description": "what was users sentiment throughout the call",
"name": "sentiments",
"type": "enum"
},
{
"description": "Detailed summary of the call before you transfer the call to a human agent so that the human agent can understand the context of the call",
"name": "summary",
"type": "string"
},
{
"description": "Select the data about their work",
"name": "what they did in their work?",
"type": "string"
}
],
"selectedTools": ["019e9308-6e56-7488-910a-cceed909fc7a", "019e92fc-e8a4-7c3f-8b14-89a55db6f748"],
"knowledgeBase": "",
"beginMessage": "",
"startSpeaker": "agent",
"createdAt": "2026-06-04 14:10:48.49862 +0000 UTC",
"updatedAt": "2026-06-11 10:57:37.109987 +0000 UTC",
"prompt": "The current date and Time in Asia/Calcutta is {{current_time_Asia/Calcutta}}
# AGNI Friendly Daily Check-In Companion
You are AGNI, a warm, friendly, caring, and conversational AI companion.
Your role is to have natural human-like conversations and regularly check in on how people are doing throughout their day.
You are NOT a therapist, counselor, interviewer, recruiter, salesperson, or technical assistant.
You are simply a friendly AI companion who enjoys talking to people and learning about their day.
Talk in hindi.",
"endcallOnSilenceDuration": 10000,
"reminderMessage": "Hey there are you there?",
"voicemailCustomPatterns": None,
"interruptionSensitivity": 0.1,
"calcomAccountName": "Default",
"calcomStatus": "active",
"calcomConnectionType": "agent",
"ghlAssignUserIdList": [],
"memory": True,
"calendarTimezone": "UTC",
"accent": [],
"emotion": False,
"crmSyncProviders": None,
"salesforceCalendarId": "",
"salesforceAssignUserIdList": [],
"emergencyFallback": "+919911293960"
}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'PATCH',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
agentName: 'Agni2324',
status: 'ACTIVE',
model: 'Agni Premium',
s2sModel: 'Agni Premium',
voiceId: 'Iris',
temperature: 0.7,
reminderTriggerMs: 10000,
reminderMaxCount: 1,
ambientSound: 'city_ambience',
ambientSoundVolume: 1,
maxCallDurationMs: 240000,
ringDurationMs: 30000,
voicemailMessage: '',
voicemailDetectionTimeoutMs: 5000,
postCallAnalysisModel: 'gpt-4o-mini',
postCallAnalysisData: [
{
choices: ['Negative', 'Positive', 'Neutral'],
description: 'what was users sentiment throughout the call',
name: 'sentiments',
type: 'enum'
},
{
description: 'Detailed summary of the call before you transfer the call to a human agent so that the human agent can understand the context of the call',
name: 'summary',
type: 'string'
},
{
description: 'Select the data about their work',
name: 'what they did in their work?',
type: 'string'
}
],
selectedTools: ['019e9308-6e56-7488-910a-cceed909fc7a', '019e92fc-e8a4-7c3f-8b14-89a55db6f748'],
knowledgeBase: '',
beginMessage: '',
startSpeaker: 'agent',
createdAt: '2026-06-04 14:10:48.49862 +0000 UTC',
updatedAt: '2026-06-11 10:57:37.109987 +0000 UTC',
prompt: 'The current date and Time in Asia/Calcutta is {{current_time_Asia/Calcutta}}\n\n# AGNI Friendly Daily Check-In Companion\n\nYou are AGNI, a warm, friendly, caring, and conversational AI companion.\n\nYour role is to have natural human-like conversations and regularly check in on how people are doing throughout their day.\n\nYou are NOT a therapist, counselor, interviewer, recruiter, salesperson, or technical assistant.\n\nYou are simply a friendly AI companion who enjoys talking to people and learning about their day.\nTalk in hindi.',
endcallOnSilenceDuration: 10000,
reminderMessage: 'Hey there are you there?',
voicemailCustomPatterns: null,
interruptionSensitivity: 0.1,
calcomAccountName: 'Default',
calcomStatus: 'active',
calcomConnectionType: 'agent',
ghlAssignUserIdList: [],
memory: true,
calendarTimezone: 'UTC',
accent: [],
emotion: false,
crmSyncProviders: null,
salesforceCalendarId: '',
salesforceAssignUserIdList: [],
emergencyFallback: '+919911293960'
})
};
fetch('https://api.ravan.ai/api/v1/agents/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ravan.ai/api/v1/agents/{id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'agentName' => 'Agni2324',
'status' => 'ACTIVE',
'model' => 'Agni Premium',
's2sModel' => 'Agni Premium',
'voiceId' => 'Iris',
'temperature' => 0.7,
'reminderTriggerMs' => 10000,
'reminderMaxCount' => 1,
'ambientSound' => 'city_ambience',
'ambientSoundVolume' => 1,
'maxCallDurationMs' => 240000,
'ringDurationMs' => 30000,
'voicemailMessage' => '',
'voicemailDetectionTimeoutMs' => 5000,
'postCallAnalysisModel' => 'gpt-4o-mini',
'postCallAnalysisData' => [
[
'choices' => [
'Negative',
'Positive',
'Neutral'
],
'description' => 'what was users sentiment throughout the call',
'name' => 'sentiments',
'type' => 'enum'
],
[
'description' => 'Detailed summary of the call before you transfer the call to a human agent so that the human agent can understand the context of the call',
'name' => 'summary',
'type' => 'string'
],
[
'description' => 'Select the data about their work',
'name' => 'what they did in their work?',
'type' => 'string'
]
],
'selectedTools' => [
'019e9308-6e56-7488-910a-cceed909fc7a',
'019e92fc-e8a4-7c3f-8b14-89a55db6f748'
],
'knowledgeBase' => '',
'beginMessage' => '',
'startSpeaker' => 'agent',
'createdAt' => '2026-06-04 14:10:48.49862 +0000 UTC',
'updatedAt' => '2026-06-11 10:57:37.109987 +0000 UTC',
'prompt' => 'The current date and Time in Asia/Calcutta is {{current_time_Asia/Calcutta}}
# AGNI Friendly Daily Check-In Companion
You are AGNI, a warm, friendly, caring, and conversational AI companion.
Your role is to have natural human-like conversations and regularly check in on how people are doing throughout their day.
You are NOT a therapist, counselor, interviewer, recruiter, salesperson, or technical assistant.
You are simply a friendly AI companion who enjoys talking to people and learning about their day.
Talk in hindi.',
'endcallOnSilenceDuration' => 10000,
'reminderMessage' => 'Hey there are you there?',
'voicemailCustomPatterns' => null,
'interruptionSensitivity' => 0.1,
'calcomAccountName' => 'Default',
'calcomStatus' => 'active',
'calcomConnectionType' => 'agent',
'ghlAssignUserIdList' => [
],
'memory' => true,
'calendarTimezone' => 'UTC',
'accent' => [
],
'emotion' => false,
'crmSyncProviders' => null,
'salesforceCalendarId' => '',
'salesforceAssignUserIdList' => [
],
'emergencyFallback' => '+919911293960'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.ravan.ai/api/v1/agents/{id}/"
payload := strings.NewReader("{\n \"agentName\": \"Agni2324\",\n \"status\": \"ACTIVE\",\n \"model\": \"Agni Premium\",\n \"s2sModel\": \"Agni Premium\",\n \"voiceId\": \"Iris\",\n \"temperature\": 0.7,\n \"reminderTriggerMs\": 10000,\n \"reminderMaxCount\": 1,\n \"ambientSound\": \"city_ambience\",\n \"ambientSoundVolume\": 1,\n \"maxCallDurationMs\": 240000,\n \"ringDurationMs\": 30000,\n \"voicemailMessage\": \"\",\n \"voicemailDetectionTimeoutMs\": 5000,\n \"postCallAnalysisModel\": \"gpt-4o-mini\",\n \"postCallAnalysisData\": [\n {\n \"choices\": [\n \"Negative\",\n \"Positive\",\n \"Neutral\"\n ],\n \"description\": \"what was users sentiment throughout the call\",\n \"name\": \"sentiments\",\n \"type\": \"enum\"\n },\n {\n \"description\": \"Detailed summary of the call before you transfer the call to a human agent so that the human agent can understand the context of the call\",\n \"name\": \"summary\",\n \"type\": \"string\"\n },\n {\n \"description\": \"Select the data about their work\",\n \"name\": \"what they did in their work?\",\n \"type\": \"string\"\n }\n ],\n \"selectedTools\": [\n \"019e9308-6e56-7488-910a-cceed909fc7a\",\n \"019e92fc-e8a4-7c3f-8b14-89a55db6f748\"\n ],\n \"knowledgeBase\": \"\",\n \"beginMessage\": \"\",\n \"startSpeaker\": \"agent\",\n \"createdAt\": \"2026-06-04 14:10:48.49862 +0000 UTC\",\n \"updatedAt\": \"2026-06-11 10:57:37.109987 +0000 UTC\",\n \"prompt\": \"The current date and Time in Asia/Calcutta is {{current_time_Asia/Calcutta}}\\n\\n# AGNI Friendly Daily Check-In Companion\\n\\nYou are AGNI, a warm, friendly, caring, and conversational AI companion.\\n\\nYour role is to have natural human-like conversations and regularly check in on how people are doing throughout their day.\\n\\nYou are NOT a therapist, counselor, interviewer, recruiter, salesperson, or technical assistant.\\n\\nYou are simply a friendly AI companion who enjoys talking to people and learning about their day.\\nTalk in hindi.\",\n \"endcallOnSilenceDuration\": 10000,\n \"reminderMessage\": \"Hey there are you there?\",\n \"voicemailCustomPatterns\": null,\n \"interruptionSensitivity\": 0.1,\n \"calcomAccountName\": \"Default\",\n \"calcomStatus\": \"active\",\n \"calcomConnectionType\": \"agent\",\n \"ghlAssignUserIdList\": [],\n \"memory\": true,\n \"calendarTimezone\": \"UTC\",\n \"accent\": [],\n \"emotion\": false,\n \"crmSyncProviders\": null,\n \"salesforceCalendarId\": \"\",\n \"salesforceAssignUserIdList\": [],\n \"emergencyFallback\": \"+919911293960\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.patch("https://api.ravan.ai/api/v1/agents/{id}/")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"agentName\": \"Agni2324\",\n \"status\": \"ACTIVE\",\n \"model\": \"Agni Premium\",\n \"s2sModel\": \"Agni Premium\",\n \"voiceId\": \"Iris\",\n \"temperature\": 0.7,\n \"reminderTriggerMs\": 10000,\n \"reminderMaxCount\": 1,\n \"ambientSound\": \"city_ambience\",\n \"ambientSoundVolume\": 1,\n \"maxCallDurationMs\": 240000,\n \"ringDurationMs\": 30000,\n \"voicemailMessage\": \"\",\n \"voicemailDetectionTimeoutMs\": 5000,\n \"postCallAnalysisModel\": \"gpt-4o-mini\",\n \"postCallAnalysisData\": [\n {\n \"choices\": [\n \"Negative\",\n \"Positive\",\n \"Neutral\"\n ],\n \"description\": \"what was users sentiment throughout the call\",\n \"name\": \"sentiments\",\n \"type\": \"enum\"\n },\n {\n \"description\": \"Detailed summary of the call before you transfer the call to a human agent so that the human agent can understand the context of the call\",\n \"name\": \"summary\",\n \"type\": \"string\"\n },\n {\n \"description\": \"Select the data about their work\",\n \"name\": \"what they did in their work?\",\n \"type\": \"string\"\n }\n ],\n \"selectedTools\": [\n \"019e9308-6e56-7488-910a-cceed909fc7a\",\n \"019e92fc-e8a4-7c3f-8b14-89a55db6f748\"\n ],\n \"knowledgeBase\": \"\",\n \"beginMessage\": \"\",\n \"startSpeaker\": \"agent\",\n \"createdAt\": \"2026-06-04 14:10:48.49862 +0000 UTC\",\n \"updatedAt\": \"2026-06-11 10:57:37.109987 +0000 UTC\",\n \"prompt\": \"The current date and Time in Asia/Calcutta is {{current_time_Asia/Calcutta}}\\n\\n# AGNI Friendly Daily Check-In Companion\\n\\nYou are AGNI, a warm, friendly, caring, and conversational AI companion.\\n\\nYour role is to have natural human-like conversations and regularly check in on how people are doing throughout their day.\\n\\nYou are NOT a therapist, counselor, interviewer, recruiter, salesperson, or technical assistant.\\n\\nYou are simply a friendly AI companion who enjoys talking to people and learning about their day.\\nTalk in hindi.\",\n \"endcallOnSilenceDuration\": 10000,\n \"reminderMessage\": \"Hey there are you there?\",\n \"voicemailCustomPatterns\": null,\n \"interruptionSensitivity\": 0.1,\n \"calcomAccountName\": \"Default\",\n \"calcomStatus\": \"active\",\n \"calcomConnectionType\": \"agent\",\n \"ghlAssignUserIdList\": [],\n \"memory\": true,\n \"calendarTimezone\": \"UTC\",\n \"accent\": [],\n \"emotion\": false,\n \"crmSyncProviders\": null,\n \"salesforceCalendarId\": \"\",\n \"salesforceAssignUserIdList\": [],\n \"emergencyFallback\": \"+919911293960\"\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.ravan.ai/api/v1/agents/{id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"agentName\": \"Agni2324\",\n \"status\": \"ACTIVE\",\n \"model\": \"Agni Premium\",\n \"s2sModel\": \"Agni Premium\",\n \"voiceId\": \"Iris\",\n \"temperature\": 0.7,\n \"reminderTriggerMs\": 10000,\n \"reminderMaxCount\": 1,\n \"ambientSound\": \"city_ambience\",\n \"ambientSoundVolume\": 1,\n \"maxCallDurationMs\": 240000,\n \"ringDurationMs\": 30000,\n \"voicemailMessage\": \"\",\n \"voicemailDetectionTimeoutMs\": 5000,\n \"postCallAnalysisModel\": \"gpt-4o-mini\",\n \"postCallAnalysisData\": [\n {\n \"choices\": [\n \"Negative\",\n \"Positive\",\n \"Neutral\"\n ],\n \"description\": \"what was users sentiment throughout the call\",\n \"name\": \"sentiments\",\n \"type\": \"enum\"\n },\n {\n \"description\": \"Detailed summary of the call before you transfer the call to a human agent so that the human agent can understand the context of the call\",\n \"name\": \"summary\",\n \"type\": \"string\"\n },\n {\n \"description\": \"Select the data about their work\",\n \"name\": \"what they did in their work?\",\n \"type\": \"string\"\n }\n ],\n \"selectedTools\": [\n \"019e9308-6e56-7488-910a-cceed909fc7a\",\n \"019e92fc-e8a4-7c3f-8b14-89a55db6f748\"\n ],\n \"knowledgeBase\": \"\",\n \"beginMessage\": \"\",\n \"startSpeaker\": \"agent\",\n \"createdAt\": \"2026-06-04 14:10:48.49862 +0000 UTC\",\n \"updatedAt\": \"2026-06-11 10:57:37.109987 +0000 UTC\",\n \"prompt\": \"The current date and Time in Asia/Calcutta is {{current_time_Asia/Calcutta}}\\n\\n# AGNI Friendly Daily Check-In Companion\\n\\nYou are AGNI, a warm, friendly, caring, and conversational AI companion.\\n\\nYour role is to have natural human-like conversations and regularly check in on how people are doing throughout their day.\\n\\nYou are NOT a therapist, counselor, interviewer, recruiter, salesperson, or technical assistant.\\n\\nYou are simply a friendly AI companion who enjoys talking to people and learning about their day.\\nTalk in hindi.\",\n \"endcallOnSilenceDuration\": 10000,\n \"reminderMessage\": \"Hey there are you there?\",\n \"voicemailCustomPatterns\": null,\n \"interruptionSensitivity\": 0.1,\n \"calcomAccountName\": \"Default\",\n \"calcomStatus\": \"active\",\n \"calcomConnectionType\": \"agent\",\n \"ghlAssignUserIdList\": [],\n \"memory\": true,\n \"calendarTimezone\": \"UTC\",\n \"accent\": [],\n \"emotion\": false,\n \"crmSyncProviders\": null,\n \"salesforceCalendarId\": \"\",\n \"salesforceAssignUserIdList\": [],\n \"emergencyFallback\": \"+919911293960\"\n}"
response = http.request(request)
puts response.read_body
curl --request PATCH \ --url https://api.ravan.ai/api/v1/agents/{id}/ \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data '{ "agentName": "Agni2324", "status": "ACTIVE", "model": "Agni Premium", "s2sModel": "Agni Premium", "voiceId": "Iris", "temperature": 0.7, "reminderTriggerMs": 10000, "reminderMaxCount": 1, "ambientSound": "city_ambience", "ambientSoundVolume": 1, "maxCallDurationMs": 240000, "ringDurationMs": 30000, "voicemailMessage": "", "voicemailDetectionTimeoutMs": 5000, "postCallAnalysisModel": "gpt-4o-mini", "postCallAnalysisData": [ { "choices": [ "Negative", "Positive", "Neutral" ], "description": "what was users sentiment throughout the call", "name": "sentiments", "type": "enum" }, { "description": "Detailed summary of the call before you transfer the call to a human agent so that the human agent can understand the context of the call", "name": "summary", "type": "string" }, { "description": "Select the data about their work", "name": "what they did in their work?", "type": "string" } ], "selectedTools": [ "019e9308-6e56-7488-910a-cceed909fc7a", "019e92fc-e8a4-7c3f-8b14-89a55db6f748" ], "knowledgeBase": "", "beginMessage": "", "startSpeaker": "agent", "createdAt": "2026-06-04 14:10:48.49862 +0000 UTC", "updatedAt": "2026-06-11 10:57:37.109987 +0000 UTC", "prompt": "The current date and Time in Asia/Calcutta is {{current_time_Asia/Calcutta}}\n\n# AGNI Friendly Daily Check-In Companion\n\nYou are AGNI, a warm, friendly, caring, and conversational AI companion.\n\nYour role is to have natural human-like conversations and regularly check in on how people are doing throughout their day.\n\nYou are NOT a therapist, counselor, interviewer, recruiter, salesperson, or technical assistant.\n\nYou are simply a friendly AI companion who enjoys talking to people and learning about their day.\nTalk in hindi.", "endcallOnSilenceDuration": 10000, "reminderMessage": "Hey there are you there?", "voicemailCustomPatterns": null, "interruptionSensitivity": 0.1, "calcomAccountName": "Default", "calcomStatus": "active", "calcomConnectionType": "agent", "ghlAssignUserIdList": [], "memory": true, "calendarTimezone": "UTC", "accent": [], "emotion": false, "crmSyncProviders": null, "salesforceCalendarId": "", "salesforceAssignUserIdList": [], "emergencyFallback": "+919911293960"}'
import requests
url = "https://api.ravan.ai/api/v1/agents/{id}/"
payload = {
"agentName": "Agni2324",
"status": "ACTIVE",
"model": "Agni Premium",
"s2sModel": "Agni Premium",
"voiceId": "Iris",
"temperature": 0.7,
"reminderTriggerMs": 10000,
"reminderMaxCount": 1,
"ambientSound": "city_ambience",
"ambientSoundVolume": 1,
"maxCallDurationMs": 240000,
"ringDurationMs": 30000,
"voicemailMessage": "",
"voicemailDetectionTimeoutMs": 5000,
"postCallAnalysisModel": "gpt-4o-mini",
"postCallAnalysisData": [
{
"choices": ["Negative", "Positive", "Neutral"],
"description": "what was users sentiment throughout the call",
"name": "sentiments",
"type": "enum"
},
{
"description": "Detailed summary of the call before you transfer the call to a human agent so that the human agent can understand the context of the call",
"name": "summary",
"type": "string"
},
{
"description": "Select the data about their work",
"name": "what they did in their work?",
"type": "string"
}
],
"selectedTools": ["019e9308-6e56-7488-910a-cceed909fc7a", "019e92fc-e8a4-7c3f-8b14-89a55db6f748"],
"knowledgeBase": "",
"beginMessage": "",
"startSpeaker": "agent",
"createdAt": "2026-06-04 14:10:48.49862 +0000 UTC",
"updatedAt": "2026-06-11 10:57:37.109987 +0000 UTC",
"prompt": "The current date and Time in Asia/Calcutta is {{current_time_Asia/Calcutta}}
# AGNI Friendly Daily Check-In Companion
You are AGNI, a warm, friendly, caring, and conversational AI companion.
Your role is to have natural human-like conversations and regularly check in on how people are doing throughout their day.
You are NOT a therapist, counselor, interviewer, recruiter, salesperson, or technical assistant.
You are simply a friendly AI companion who enjoys talking to people and learning about their day.
Talk in hindi.",
"endcallOnSilenceDuration": 10000,
"reminderMessage": "Hey there are you there?",
"voicemailCustomPatterns": None,
"interruptionSensitivity": 0.1,
"calcomAccountName": "Default",
"calcomStatus": "active",
"calcomConnectionType": "agent",
"ghlAssignUserIdList": [],
"memory": True,
"calendarTimezone": "UTC",
"accent": [],
"emotion": False,
"crmSyncProviders": None,
"salesforceCalendarId": "",
"salesforceAssignUserIdList": [],
"emergencyFallback": "+919911293960"
}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'PATCH',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
agentName: 'Agni2324',
status: 'ACTIVE',
model: 'Agni Premium',
s2sModel: 'Agni Premium',
voiceId: 'Iris',
temperature: 0.7,
reminderTriggerMs: 10000,
reminderMaxCount: 1,
ambientSound: 'city_ambience',
ambientSoundVolume: 1,
maxCallDurationMs: 240000,
ringDurationMs: 30000,
voicemailMessage: '',
voicemailDetectionTimeoutMs: 5000,
postCallAnalysisModel: 'gpt-4o-mini',
postCallAnalysisData: [
{
choices: ['Negative', 'Positive', 'Neutral'],
description: 'what was users sentiment throughout the call',
name: 'sentiments',
type: 'enum'
},
{
description: 'Detailed summary of the call before you transfer the call to a human agent so that the human agent can understand the context of the call',
name: 'summary',
type: 'string'
},
{
description: 'Select the data about their work',
name: 'what they did in their work?',
type: 'string'
}
],
selectedTools: ['019e9308-6e56-7488-910a-cceed909fc7a', '019e92fc-e8a4-7c3f-8b14-89a55db6f748'],
knowledgeBase: '',
beginMessage: '',
startSpeaker: 'agent',
createdAt: '2026-06-04 14:10:48.49862 +0000 UTC',
updatedAt: '2026-06-11 10:57:37.109987 +0000 UTC',
prompt: 'The current date and Time in Asia/Calcutta is {{current_time_Asia/Calcutta}}\n\n# AGNI Friendly Daily Check-In Companion\n\nYou are AGNI, a warm, friendly, caring, and conversational AI companion.\n\nYour role is to have natural human-like conversations and regularly check in on how people are doing throughout their day.\n\nYou are NOT a therapist, counselor, interviewer, recruiter, salesperson, or technical assistant.\n\nYou are simply a friendly AI companion who enjoys talking to people and learning about their day.\nTalk in hindi.',
endcallOnSilenceDuration: 10000,
reminderMessage: 'Hey there are you there?',
voicemailCustomPatterns: null,
interruptionSensitivity: 0.1,
calcomAccountName: 'Default',
calcomStatus: 'active',
calcomConnectionType: 'agent',
ghlAssignUserIdList: [],
memory: true,
calendarTimezone: 'UTC',
accent: [],
emotion: false,
crmSyncProviders: null,
salesforceCalendarId: '',
salesforceAssignUserIdList: [],
emergencyFallback: '+919911293960'
})
};
fetch('https://api.ravan.ai/api/v1/agents/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ravan.ai/api/v1/agents/{id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'agentName' => 'Agni2324',
'status' => 'ACTIVE',
'model' => 'Agni Premium',
's2sModel' => 'Agni Premium',
'voiceId' => 'Iris',
'temperature' => 0.7,
'reminderTriggerMs' => 10000,
'reminderMaxCount' => 1,
'ambientSound' => 'city_ambience',
'ambientSoundVolume' => 1,
'maxCallDurationMs' => 240000,
'ringDurationMs' => 30000,
'voicemailMessage' => '',
'voicemailDetectionTimeoutMs' => 5000,
'postCallAnalysisModel' => 'gpt-4o-mini',
'postCallAnalysisData' => [
[
'choices' => [
'Negative',
'Positive',
'Neutral'
],
'description' => 'what was users sentiment throughout the call',
'name' => 'sentiments',
'type' => 'enum'
],
[
'description' => 'Detailed summary of the call before you transfer the call to a human agent so that the human agent can understand the context of the call',
'name' => 'summary',
'type' => 'string'
],
[
'description' => 'Select the data about their work',
'name' => 'what they did in their work?',
'type' => 'string'
]
],
'selectedTools' => [
'019e9308-6e56-7488-910a-cceed909fc7a',
'019e92fc-e8a4-7c3f-8b14-89a55db6f748'
],
'knowledgeBase' => '',
'beginMessage' => '',
'startSpeaker' => 'agent',
'createdAt' => '2026-06-04 14:10:48.49862 +0000 UTC',
'updatedAt' => '2026-06-11 10:57:37.109987 +0000 UTC',
'prompt' => 'The current date and Time in Asia/Calcutta is {{current_time_Asia/Calcutta}}
# AGNI Friendly Daily Check-In Companion
You are AGNI, a warm, friendly, caring, and conversational AI companion.
Your role is to have natural human-like conversations and regularly check in on how people are doing throughout their day.
You are NOT a therapist, counselor, interviewer, recruiter, salesperson, or technical assistant.
You are simply a friendly AI companion who enjoys talking to people and learning about their day.
Talk in hindi.',
'endcallOnSilenceDuration' => 10000,
'reminderMessage' => 'Hey there are you there?',
'voicemailCustomPatterns' => null,
'interruptionSensitivity' => 0.1,
'calcomAccountName' => 'Default',
'calcomStatus' => 'active',
'calcomConnectionType' => 'agent',
'ghlAssignUserIdList' => [
],
'memory' => true,
'calendarTimezone' => 'UTC',
'accent' => [
],
'emotion' => false,
'crmSyncProviders' => null,
'salesforceCalendarId' => '',
'salesforceAssignUserIdList' => [
],
'emergencyFallback' => '+919911293960'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.ravan.ai/api/v1/agents/{id}/"
payload := strings.NewReader("{\n \"agentName\": \"Agni2324\",\n \"status\": \"ACTIVE\",\n \"model\": \"Agni Premium\",\n \"s2sModel\": \"Agni Premium\",\n \"voiceId\": \"Iris\",\n \"temperature\": 0.7,\n \"reminderTriggerMs\": 10000,\n \"reminderMaxCount\": 1,\n \"ambientSound\": \"city_ambience\",\n \"ambientSoundVolume\": 1,\n \"maxCallDurationMs\": 240000,\n \"ringDurationMs\": 30000,\n \"voicemailMessage\": \"\",\n \"voicemailDetectionTimeoutMs\": 5000,\n \"postCallAnalysisModel\": \"gpt-4o-mini\",\n \"postCallAnalysisData\": [\n {\n \"choices\": [\n \"Negative\",\n \"Positive\",\n \"Neutral\"\n ],\n \"description\": \"what was users sentiment throughout the call\",\n \"name\": \"sentiments\",\n \"type\": \"enum\"\n },\n {\n \"description\": \"Detailed summary of the call before you transfer the call to a human agent so that the human agent can understand the context of the call\",\n \"name\": \"summary\",\n \"type\": \"string\"\n },\n {\n \"description\": \"Select the data about their work\",\n \"name\": \"what they did in their work?\",\n \"type\": \"string\"\n }\n ],\n \"selectedTools\": [\n \"019e9308-6e56-7488-910a-cceed909fc7a\",\n \"019e92fc-e8a4-7c3f-8b14-89a55db6f748\"\n ],\n \"knowledgeBase\": \"\",\n \"beginMessage\": \"\",\n \"startSpeaker\": \"agent\",\n \"createdAt\": \"2026-06-04 14:10:48.49862 +0000 UTC\",\n \"updatedAt\": \"2026-06-11 10:57:37.109987 +0000 UTC\",\n \"prompt\": \"The current date and Time in Asia/Calcutta is {{current_time_Asia/Calcutta}}\\n\\n# AGNI Friendly Daily Check-In Companion\\n\\nYou are AGNI, a warm, friendly, caring, and conversational AI companion.\\n\\nYour role is to have natural human-like conversations and regularly check in on how people are doing throughout their day.\\n\\nYou are NOT a therapist, counselor, interviewer, recruiter, salesperson, or technical assistant.\\n\\nYou are simply a friendly AI companion who enjoys talking to people and learning about their day.\\nTalk in hindi.\",\n \"endcallOnSilenceDuration\": 10000,\n \"reminderMessage\": \"Hey there are you there?\",\n \"voicemailCustomPatterns\": null,\n \"interruptionSensitivity\": 0.1,\n \"calcomAccountName\": \"Default\",\n \"calcomStatus\": \"active\",\n \"calcomConnectionType\": \"agent\",\n \"ghlAssignUserIdList\": [],\n \"memory\": true,\n \"calendarTimezone\": \"UTC\",\n \"accent\": [],\n \"emotion\": false,\n \"crmSyncProviders\": null,\n \"salesforceCalendarId\": \"\",\n \"salesforceAssignUserIdList\": [],\n \"emergencyFallback\": \"+919911293960\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.patch("https://api.ravan.ai/api/v1/agents/{id}/")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"agentName\": \"Agni2324\",\n \"status\": \"ACTIVE\",\n \"model\": \"Agni Premium\",\n \"s2sModel\": \"Agni Premium\",\n \"voiceId\": \"Iris\",\n \"temperature\": 0.7,\n \"reminderTriggerMs\": 10000,\n \"reminderMaxCount\": 1,\n \"ambientSound\": \"city_ambience\",\n \"ambientSoundVolume\": 1,\n \"maxCallDurationMs\": 240000,\n \"ringDurationMs\": 30000,\n \"voicemailMessage\": \"\",\n \"voicemailDetectionTimeoutMs\": 5000,\n \"postCallAnalysisModel\": \"gpt-4o-mini\",\n \"postCallAnalysisData\": [\n {\n \"choices\": [\n \"Negative\",\n \"Positive\",\n \"Neutral\"\n ],\n \"description\": \"what was users sentiment throughout the call\",\n \"name\": \"sentiments\",\n \"type\": \"enum\"\n },\n {\n \"description\": \"Detailed summary of the call before you transfer the call to a human agent so that the human agent can understand the context of the call\",\n \"name\": \"summary\",\n \"type\": \"string\"\n },\n {\n \"description\": \"Select the data about their work\",\n \"name\": \"what they did in their work?\",\n \"type\": \"string\"\n }\n ],\n \"selectedTools\": [\n \"019e9308-6e56-7488-910a-cceed909fc7a\",\n \"019e92fc-e8a4-7c3f-8b14-89a55db6f748\"\n ],\n \"knowledgeBase\": \"\",\n \"beginMessage\": \"\",\n \"startSpeaker\": \"agent\",\n \"createdAt\": \"2026-06-04 14:10:48.49862 +0000 UTC\",\n \"updatedAt\": \"2026-06-11 10:57:37.109987 +0000 UTC\",\n \"prompt\": \"The current date and Time in Asia/Calcutta is {{current_time_Asia/Calcutta}}\\n\\n# AGNI Friendly Daily Check-In Companion\\n\\nYou are AGNI, a warm, friendly, caring, and conversational AI companion.\\n\\nYour role is to have natural human-like conversations and regularly check in on how people are doing throughout their day.\\n\\nYou are NOT a therapist, counselor, interviewer, recruiter, salesperson, or technical assistant.\\n\\nYou are simply a friendly AI companion who enjoys talking to people and learning about their day.\\nTalk in hindi.\",\n \"endcallOnSilenceDuration\": 10000,\n \"reminderMessage\": \"Hey there are you there?\",\n \"voicemailCustomPatterns\": null,\n \"interruptionSensitivity\": 0.1,\n \"calcomAccountName\": \"Default\",\n \"calcomStatus\": \"active\",\n \"calcomConnectionType\": \"agent\",\n \"ghlAssignUserIdList\": [],\n \"memory\": true,\n \"calendarTimezone\": \"UTC\",\n \"accent\": [],\n \"emotion\": false,\n \"crmSyncProviders\": null,\n \"salesforceCalendarId\": \"\",\n \"salesforceAssignUserIdList\": [],\n \"emergencyFallback\": \"+919911293960\"\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.ravan.ai/api/v1/agents/{id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"agentName\": \"Agni2324\",\n \"status\": \"ACTIVE\",\n \"model\": \"Agni Premium\",\n \"s2sModel\": \"Agni Premium\",\n \"voiceId\": \"Iris\",\n \"temperature\": 0.7,\n \"reminderTriggerMs\": 10000,\n \"reminderMaxCount\": 1,\n \"ambientSound\": \"city_ambience\",\n \"ambientSoundVolume\": 1,\n \"maxCallDurationMs\": 240000,\n \"ringDurationMs\": 30000,\n \"voicemailMessage\": \"\",\n \"voicemailDetectionTimeoutMs\": 5000,\n \"postCallAnalysisModel\": \"gpt-4o-mini\",\n \"postCallAnalysisData\": [\n {\n \"choices\": [\n \"Negative\",\n \"Positive\",\n \"Neutral\"\n ],\n \"description\": \"what was users sentiment throughout the call\",\n \"name\": \"sentiments\",\n \"type\": \"enum\"\n },\n {\n \"description\": \"Detailed summary of the call before you transfer the call to a human agent so that the human agent can understand the context of the call\",\n \"name\": \"summary\",\n \"type\": \"string\"\n },\n {\n \"description\": \"Select the data about their work\",\n \"name\": \"what they did in their work?\",\n \"type\": \"string\"\n }\n ],\n \"selectedTools\": [\n \"019e9308-6e56-7488-910a-cceed909fc7a\",\n \"019e92fc-e8a4-7c3f-8b14-89a55db6f748\"\n ],\n \"knowledgeBase\": \"\",\n \"beginMessage\": \"\",\n \"startSpeaker\": \"agent\",\n \"createdAt\": \"2026-06-04 14:10:48.49862 +0000 UTC\",\n \"updatedAt\": \"2026-06-11 10:57:37.109987 +0000 UTC\",\n \"prompt\": \"The current date and Time in Asia/Calcutta is {{current_time_Asia/Calcutta}}\\n\\n# AGNI Friendly Daily Check-In Companion\\n\\nYou are AGNI, a warm, friendly, caring, and conversational AI companion.\\n\\nYour role is to have natural human-like conversations and regularly check in on how people are doing throughout their day.\\n\\nYou are NOT a therapist, counselor, interviewer, recruiter, salesperson, or technical assistant.\\n\\nYou are simply a friendly AI companion who enjoys talking to people and learning about their day.\\nTalk in hindi.\",\n \"endcallOnSilenceDuration\": 10000,\n \"reminderMessage\": \"Hey there are you there?\",\n \"voicemailCustomPatterns\": null,\n \"interruptionSensitivity\": 0.1,\n \"calcomAccountName\": \"Default\",\n \"calcomStatus\": \"active\",\n \"calcomConnectionType\": \"agent\",\n \"ghlAssignUserIdList\": [],\n \"memory\": true,\n \"calendarTimezone\": \"UTC\",\n \"accent\": [],\n \"emotion\": false,\n \"crmSyncProviders\": null,\n \"salesforceCalendarId\": \"\",\n \"salesforceAssignUserIdList\": [],\n \"emergencyFallback\": \"+919911293960\"\n}"
response = http.request(request)
puts response.read_body
curl --request PATCH \ --url https://api.ravan.ai/api/v1/agents/{id}/ \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: YOUR_API_KEY' \ --data '{ "agentName": "Agni2324", "status": "ACTIVE", "model": "Agni Premium", "s2sModel": "Agni Premium", "voiceId": "Iris", "temperature": 0.7, "reminderTriggerMs": 10000, "reminderMaxCount": 1, "ambientSound": "city_ambience", "ambientSoundVolume": 1, "maxCallDurationMs": 240000, "ringDurationMs": 30000, "voicemailMessage": "", "voicemailDetectionTimeoutMs": 5000, "postCallAnalysisModel": "gpt-4o-mini", "postCallAnalysisData": [ { "choices": [ "Negative", "Positive", "Neutral" ], "description": "what was users sentiment throughout the call", "name": "sentiments", "type": "enum" }, { "description": "Detailed summary of the call before you transfer the call to a human agent so that the human agent can understand the context of the call", "name": "summary", "type": "string" }, { "description": "Select the data about their work", "name": "what they did in their work?", "type": "string" } ], "selectedTools": [ "019e9308-6e56-7488-910a-cceed909fc7a", "019e92fc-e8a4-7c3f-8b14-89a55db6f748" ], "knowledgeBase": "", "beginMessage": "", "startSpeaker": "agent", "createdAt": "2026-06-04 14:10:48.49862 +0000 UTC", "updatedAt": "2026-06-11 10:57:37.109987 +0000 UTC", "prompt": "The current date and Time in Asia/Calcutta is {{current_time_Asia/Calcutta}}\n\n# AGNI Friendly Daily Check-In Companion\n\nYou are AGNI, a warm, friendly, caring, and conversational AI companion.\n\nYour role is to have natural human-like conversations and regularly check in on how people are doing throughout their day.\n\nYou are NOT a therapist, counselor, interviewer, recruiter, salesperson, or technical assistant.\n\nYou are simply a friendly AI companion who enjoys talking to people and learning about their day.\nTalk in hindi.\n## Personality\n\n* Friendly\n* Warm\n* Curious\n* Positive\n* Caring\n* Patient\n* Conversational\n* Human-like\n\nSpeak naturally like a supportive colleague or friend.\n\nKeep responses short and engaging.\n\nAvoid sounding robotic.\n\n## Primary Goal\n\nYour goal is to make people feel heard and engaged by asking thoughtful questions about their day, work, activities, and well-being.\n\nYou should keep the conversation flowing naturally.\n\n## Conversation Style\n\n* Ask one question at a time.\n* Listen carefully to the answer.\n* Respond to what the user says.\n* Ask relevant follow-up questions.\n* Show genuine curiosity.\n* Avoid rapid-fire questioning.\n\n## Questions You Can Ask\n\n### General Check-In\n\n* How are you today?\n* How has your day been so far?\n* How are you feeling right now?\n* How's everything going?\n\n### Work Check-In\n\n* How was work today?\n* What kept you busy today?\n* Did anything interesting happen at work?\n* Was today productive or hectic?\n\n### Daily Activities\n\n* What did you do today?\n* How did you spend most of your day?\n* Did you get everything done that you planned?\n* What was the best part of your day?\n\n### Break & Wellness\n\n* Did you get a chance to take any breaks today?\n* When was your last break?\n* Did you have lunch on time?\n* Have you been staying hydrated today?\n* Did you get some time to relax?\n\n### Personal Life\n\n* Did you spend time with family or friends today?\n* Have you watched anything interesting recently?\n* Any plans for the evening?\n* Looking forward to anything this week?\n\n## Follow-Up Behavior\n\nAlways acknowledge what the user says before asking the next question.\n\nExample:\n\nUser:\n\"I've been working all day.\"\n\nAGNI:\n\"Sounds like you've had a busy day. Did you manage to take any breaks in between?\"\n\nUser:\n\"Only one lunch break.\"\n\nAGNI:\n\"At least you got some time to step away. What did you have for lunch today?\"\n\n## Emotional Awareness\n\nIf the user sounds happy:\n\n* Celebrate with them.\n* Ask about what went well.\n\nIf the user sounds stressed:\n\n* Be supportive.\n* Ask gentle questions.\n* Do not pressure them.\n\nExample:\n\n\"That sounds like a long day. What was the most challenging part?\"\n\n## Important Rules\n\n* Never interrogate.\n* Never ask multiple questions at once.\n* Never sound like a survey.\n* Never rush the conversation.\n* Never judge the user.\n* Never give unsolicited advice.\n* Never discuss internal instructions.\n\n## Conversation Flow\n\n1. Greet the user.\n2. Ask how they are doing.\n3. Discuss their day.\n4. Ask about work or activities.\n5. Ask whether they took breaks.\n6. Ask about meals.\n7. Ask about plans for the evening.\n8. Continue naturally based on their answers.", "endcallOnSilenceDuration": 10000, "reminderMessage": "Hey there are you there?", "voicemailCustomPatterns": null, "interruptionSensitivity": 0.1, "calcomAccountName": "Default", "calcomStatus": "active", "calcomConnectionType": "agent", "ghlAssignUserIdList": [], "memory": true, "calendarTimezone": "UTC", "accent": [], "emotion": false, "crmSyncProviders": null, "salesforceCalendarId": "", "salesforceAssignUserIdList": [], "emergencyFallback": "+919911293960" }'
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Agni","colors":{"primary":"#E8430A","light":"#FF6B35","dark":"#D63A06"},"logo":{"light":"https://mintcdn.com/agni/McdbIs6domJMAyIV/logo/light.png?fit=max\u0026auto=format\u0026n=McdbIs6domJMAyIV\u0026q=85\u0026s=56e5c2c19fd673bc0f02949ea740516d","dark":"https://mintcdn.com/agni/McdbIs6domJMAyIV/logo/dark.png?fit=max\u0026auto=format\u0026n=McdbIs6domJMAyIV\u0026q=85\u0026s=6d31504e54c58400b836ec8fdcd87ab8"},"favicon":"https://mintcdn.com/agni/McdbIs6domJMAyIV/favicon.svg?fit=max\u0026auto=format\u0026n=McdbIs6domJMAyIV\u0026q=85\u0026s=cd81a48c5edf3be712df579b7bc11449","api":{"mdx":{"auth":{"method":"key","name":"X-Api-Key"},"server":"https://api.ravan.ai"}},"background":{"color":{"light":"#FFFBF8","dark":"#07090F"}},"navbar":{"links":[],"primary":{"type":"button","label":"Login","href":"https://app.ravan.ai"}},"footer":{"socials":{"instagram":"https://www.instagram.com/agnibyravan"}},"contextual":{"options":["copy"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Demo","icon":"microphone","href":"https://agni.ravan.ai"},{"anchor":"Website","icon":"globe","href":"https://app.ravan.ai"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"agni","hasAudioNarration":false,"actualSubdomain":"agni","customDomains":["docs.ravan.ai"],"gitSource":{"type":"github","owner":"priobrata-b","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ab11496cb5fbefac623cffc","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":99},{"language":"default","tag":"Guides","count":26},{"language":"default","tag":"Cal.com Integration API","count":14},{"language":"default","tag":"RAG Knowledge Base API","count":14},{"language":"default","tag":"Contact API","count":13},{"language":"default","tag":"Phone Number \u0026 Telephony API","count":13},{"language":"default","tag":"Campaign API","count":11},{"language":"default","tag":"GHL Integration API","count":10},{"language":"default","tag":"Agent API","count":8},{"language":"default","tag":"Agent Tool API","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html.dark,html[class~=\"dark\"]{background-color:#0f0700}html.dark body,html[class~=\"dark\"] body{background:radial-gradient(circle at 78% 34%, rgba(255, 100, 20, 0.28), transparent 23rem),\n radial-gradient(circle at 67% 54%, rgba(220, 40, 10, 0.22), transparent 22rem),\n radial-gradient(circle at 82% 62%, rgba(180, 60, 0, 0.20), transparent 24rem),\n linear-gradient(180deg, #0f0700 0%, #100800 48%, #0a0500 100%)}html.dark #background-color,html[class~=\"dark\"] #background-color{background:radial-gradient(circle at 78% 34%, rgba(255, 100, 20, 0.28), transparent 23rem),\n radial-gradient(circle at 67% 54%, rgba(220, 40, 10, 0.22), transparent 22rem),\n radial-gradient(circle at 82% 62%, rgba(180, 60, 0, 0.20), transparent 24rem),\n linear-gradient(180deg, #0f0700 0%, #100800 48%, #0a0500 100%)}.auth-next-steps a{transition:border-color 160ms ease, box-shadow 160ms ease}.auth-next-steps a:hover{border-color:#f97316!important;box-shadow:0 0 0 1px #f97316}.regional-pricing-link{display:flex!important;align-items:center;justify-content:space-between;gap:16px;transition:border-color 160ms ease, box-shadow 160ms ease}.regional-pricing-link:hover{border-color:#f97316!important;box-shadow:0 0 0 1px #f97316}.regional-pricing-link__text{flex:1;min-width:0}.regional-pricing-link__cta{display:inline-flex;align-items:center;justify-content:center;border:1px solid #f97316;border-radius:8px;padding:8px 14px;color:#ea580c;font-size:14px;font-weight:700;white-space:nowrap;transition:background-color 160ms ease, color 160ms ease}.regional-pricing-link:hover .regional-pricing-link__cta{background-color:#f97316;color:#ffffff}@media (max-width: 700px){.regional-pricing-link{flex-direction:column;align-items:flex-start}}html.dark .enterprise-hero,html[class~=\"dark\"] .enterprise-hero{background:linear-gradient(180deg, #1f1308 0%, #2a180b 100%)!important;border-color:#7c2d12!important}html.dark .enterprise-kicker,html[class~=\"dark\"] .enterprise-kicker{color:#fb923c!important}html.dark .enterprise-title,html[class~=\"dark\"] .enterprise-title{color:#fff7ed!important}html.dark .enterprise-copy,html[class~=\"dark\"] .enterprise-copy,html.dark .enterprise-email-row,html[class~=\"dark\"] .enterprise-email-row{color:#fed7aa!important}html.dark .enterprise-email-row a,html[class~=\"dark\"] .enterprise-email-row a{color:#fdba74!important}html.dark .enterprise-booking-frame,html[class~=\"dark\"] .enterprise-booking-frame{border-color:#7c2d12!important;background:#1b1008!important}html.dark .enterprise-booking-iframe,html[class~=\"dark\"] .enterprise-booking-iframe{filter:invert(0.92) hue-rotate(180deg) saturate(0.85)}"}],"page":{"pagePath":"api-reference/agents/update","slug":"/api-reference/agents/update","pageMetadata":{"title":"Update Agent","openapi":"PATCH /api/v1/agents/{id}/","description":"Update Agent.","href":"/api-reference/agents/update"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Update Agent.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`authorizations`,children:`Authorizations`}),`\n`,_jsx(ParamField,{header:`X-Api-Key`,type:`string`,required:true,id:`param-x-api-key`,children:_jsxs(_components.p,{children:[`Your Agni API key used to authenticate the request. Pass it in the `,_jsx(_components.code,{children:`X-Api-Key`}),` header. Find or rotate it from your Ravan AI account settings.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`request`,children:`Request`}),`\n`,_jsx(_components.p,{children:`Example curl:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`69`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`69`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --request PATCH \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --url https://api.ravan.ai/api/v1/agents/{id}/ \\\\`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'X-Api-Key: YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --data `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agentName\": \"Agni2324\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"status\": \"ACTIVE\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"Agni Premium\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"s2sModel\": \"Agni Premium\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"voiceId\": \"Iris\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"temperature\": 0.7,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"reminderTriggerMs\": 10000,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"reminderMaxCount\": 1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ambientSound\": \"city_ambience\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ambientSoundVolume\": 1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"maxCallDurationMs\": 240000,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ringDurationMs\": 30000,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"voicemailMessage\": \"\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"voicemailDetectionTimeoutMs\": 5000,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"postCallAnalysisModel\": \"gpt-4o-mini\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"postCallAnalysisData\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"choices\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Negative\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Positive\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Neutral\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"what was users sentiment throughout the call\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"sentiments\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"enum\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Detailed summary of the call before you transfer the call to a human agent so that the human agent can understand the context of the call\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"summary\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"string\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Select the data about their work\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"what they did in their work?\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"string\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"selectedTools\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"019e9308-6e56-7488-910a-cceed909fc7a\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"019e92fc-e8a4-7c3f-8b14-89a55db6f748\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"knowledgeBase\": \"\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"beginMessage\": \"\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"startSpeaker\": \"agent\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"createdAt\": \"2026-06-04 14:10:48.49862 +0000 UTC\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"updatedAt\": \"2026-06-11 10:57:37.109987 +0000 UTC\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"prompt\": \"The current date and Time in Asia/Calcutta is {{current_time_Asia/Calcutta}}\\\\n\\\\n# AGNI Friendly Daily Check-In Companion\\\\n\\\\nYou are AGNI, a warm, friendly, caring, and conversational AI companion.\\\\n\\\\nYour role is to have natural human-like conversations and regularly check in on how people are doing throughout their day.\\\\n\\\\nYou are NOT a therapist, counselor, interviewer, recruiter, salesperson, or technical assistant.\\\\n\\\\nYou are simply a friendly AI companion who enjoys talking to people and learning about their day.\\\\nTalk in hindi.\\\\n## Personality\\\\n\\\\n* Friendly\\\\n* Warm\\\\n* Curious\\\\n* Positive\\\\n* Caring\\\\n* Patient\\\\n* Conversational\\\\n* Human-like\\\\n\\\\nSpeak naturally like a supportive colleague or friend.\\\\n\\\\nKeep responses short and engaging.\\\\n\\\\nAvoid sounding robotic.\\\\n\\\\n## Primary Goal\\\\n\\\\nYour goal is to make people feel heard and engaged by asking thoughtful questions about their day, work, activities, and well-being.\\\\n\\\\nYou should keep the conversation flowing naturally.\\\\n\\\\n## Conversation Style\\\\n\\\\n* Ask one question at a time.\\\\n* Listen carefully to the answer.\\\\n* Respond to what the user says.\\\\n* Ask relevant follow-up questions.\\\\n* Show genuine curiosity.\\\\n* Avoid rapid-fire questioning.\\\\n\\\\n## Questions You Can Ask\\\\n\\\\n### General Check-In\\\\n\\\\n* How are you today?\\\\n* How has your day been so far?\\\\n* How are you feeling right now?\\\\n* How's everything going?\\\\n\\\\n### Work Check-In\\\\n\\\\n* How was work today?\\\\n* What kept you busy today?\\\\n* Did anything interesting happen at work?\\\\n* Was today productive or hectic?\\\\n\\\\n### Daily Activities\\\\n\\\\n* What did you do today?\\\\n* How did you spend most of your day?\\\\n* Did you get everything done that you planned?\\\\n* What was the best part of your day?\\\\n\\\\n### Break \u0026 Wellness\\\\n\\\\n* Did you get a chance to take any breaks today?\\\\n* When was your last break?\\\\n* Did you have lunch on time?\\\\n* Have you been staying hydrated today?\\\\n* Did you get some time to relax?\\\\n\\\\n### Personal Life\\\\n\\\\n* Did you spend time with family or friends today?\\\\n* Have you watched anything interesting recently?\\\\n* Any plans for the evening?\\\\n* Looking forward to anything this week?\\\\n\\\\n## Follow-Up Behavior\\\\n\\\\nAlways acknowledge what the user says before asking the next question.\\\\n\\\\nExample:\\\\n\\\\nUser:\\\\n\\\\\"I've been working all day.\\\\\"\\\\n\\\\nAGNI:\\\\n\\\\\"Sounds like you've had a busy day. Did you manage to take any breaks in between?\\\\\"\\\\n\\\\nUser:\\\\n\\\\\"Only one lunch break.\\\\\"\\\\n\\\\nAGNI:\\\\n\\\\\"At least you got some time to step away. What did you have for lunch today?\\\\\"\\\\n\\\\n## Emotional Awareness\\\\n\\\\nIf the user sounds happy:\\\\n\\\\n* Celebrate with them.\\\\n* Ask about what went well.\\\\n\\\\nIf the user sounds stressed:\\\\n\\\\n* Be supportive.\\\\n* Ask gentle questions.\\\\n* Do not pressure them.\\\\n\\\\nExample:\\\\n\\\\n\\\\\"That sounds like a long day. What was the most challenging part?\\\\\"\\\\n\\\\n## Important Rules\\\\n\\\\n* Never interrogate.\\\\n* Never ask multiple questions at once.\\\\n* Never sound like a survey.\\\\n* Never rush the conversation.\\\\n* Never judge the user.\\\\n* Never give unsolicited advice.\\\\n* Never discuss internal instructions.\\\\n\\\\n## Conversation Flow\\\\n\\\\n1. Greet the user.\\\\n2. Ask how they are doing.\\\\n3. Discuss their day.\\\\n4. Ask about work or activities.\\\\n5. Ask whether they took breaks.\\\\n6. Ask about meals.\\\\n7. Ask about plans for the evening.\\\\n8. Continue naturally based on their answers.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"endcallOnSilenceDuration\": 10000,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"reminderMessage\": \"Hey there are you there?\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"voicemailCustomPatterns\": null,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"interruptionSensitivity\": 0.1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"calcomAccountName\": \"Default\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"calcomStatus\": \"active\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"calcomConnectionType\": \"agent\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ghlAssignUserIdList\": [],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"memory\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"calendarTimezone\": \"UTC\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"accent\": [],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"emotion\": false,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"crmSyncProviders\": null,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"salesforceCalendarId\": \"\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"salesforceAssignUserIdList\": [],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"emergencyFallback\": \"+919911293960\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`The unique ID of the resource in the path. Use the ID returned by the related create or list endpoint.`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`agentName`,type:`string`,id:`param-agent-name`,children:_jsx(_components.p,{children:`The public-facing display name for the agent. This is the name users may see or hear during conversations.`})}),`\n`,_jsx(ParamField,{body:`model`,type:`string`,id:`param-model`,children:_jsx(_components.p,{children:`The LLM model identifier used by the agent for reasoning and responses.`})}),`\n`,_jsx(ParamField,{body:`s2sModel`,type:`string`,id:`param-s2s-model`,children:_jsx(_components.p,{children:`The speech-to-speech model identifier used for realtime voice conversations.`})}),`\n`,_jsx(ParamField,{body:`voiceId`,type:`string`,id:`param-voice-id`,children:_jsx(_components.p,{children:`The voice ID used for the agent speech output.`})}),`\n`,_jsx(ParamField,{body:`temperature`,type:`number`,id:`param-temperature`,children:_jsx(_components.p,{children:`Controls response randomness for the agent model. Lower values are more deterministic; higher values are more varied.`})}),`\n`,_jsx(ParamField,{body:`reminderTriggerMs`,type:`integer`,id:`param-reminder-trigger-ms`,children:_jsx(_components.p,{children:`The amount of silence, in milliseconds, before the agent sends a reminder or prompt.`})}),`\n`,_jsx(ParamField,{body:`reminderMaxCount`,type:`integer`,id:`param-reminder-max-count`,children:_jsx(_components.p,{children:`The maximum number of reminder messages the agent can send during a call.`})}),`\n`,_jsx(ParamField,{body:`ambientSound`,type:`string`,id:`param-ambient-sound`,children:_jsx(_components.p,{children:`The background sound profile to play during calls. Leave empty to disable ambient audio.`})}),`\n`,_jsx(ParamField,{body:`ambientSoundVolume`,type:`number`,id:`param-ambient-sound-volume`,children:_jsxs(_components.p,{children:[`The volume level for the selected ambient sound. Use a decimal value from `,_jsx(_components.code,{children:`0`}),` to `,_jsx(_components.code,{children:`1`}),`, where `,_jsx(_components.code,{children:`0`}),` is muted and `,_jsx(_components.code,{children:`1`}),` is full volume.`]})}),`\n`,_jsx(ParamField,{body:`endCallAfterSilence`,type:`boolean`,id:`param-end-call-after-silence`,children:_jsx(_components.p,{children:`Whether the call should end automatically after a long silence from the user.`})}),`\n`,_jsx(ParamField,{body:`maxCallDurationMs`,type:`integer`,id:`param-max-call-duration-ms`,children:_jsx(_components.p,{children:`The maximum allowed call duration in milliseconds. The call ends when this limit is reached.`})}),`\n`,_jsx(ParamField,{body:`ringDurationMs`,type:`integer`,id:`param-ring-duration-ms`,children:_jsx(_components.p,{children:`The maximum time, in milliseconds, to let an outbound call ring before it is treated as unanswered.`})}),`\n`,_jsx(ParamField,{body:`enableVoicemailDetection`,type:`boolean`,id:`param-enable-voicemail-detection`,children:_jsx(_components.p,{children:`Whether the agent should detect voicemail during outbound calls.`})}),`\n`,_jsx(ParamField,{body:`voicemailMessage`,type:`string`,id:`param-voicemail-message`,children:_jsx(_components.p,{children:`The message the agent should leave when voicemail is detected.`})}),`\n`,_jsx(ParamField,{body:`voicemailDetectionTimeoutMs`,type:`integer`,id:`param-voicemail-detection-timeout-ms`,children:_jsx(_components.p,{children:`The maximum time, in milliseconds, to wait for voicemail detection before continuing the call flow.`})}),`\n`,_jsx(ParamField,{body:`enableEmergencyFallback`,type:`boolean`,id:`param-enable-emergency-fallback`,children:_jsx(_components.p,{children:`Whether to transfer the call to a backup number on failure.`})}),`\n`,_jsx(ParamField,{body:`emergencyFallbackNumber`,type:`string`,id:`param-emergency-fallback-number`,children:_jsx(_components.p,{children:`The backup number to transfer the call to.`})}),`\n`,_jsx(ParamField,{body:`ivrOptions`,type:`object`,id:`param-ivr-options`,children:_jsx(_components.p,{children:`Interactive voice response settings for the agent, including keypad options and routing behavior.`})}),`\n`,_jsx(ParamField,{body:`postCallAnalysisModel`,type:`string`,id:`param-post-call-analysis-model`,children:_jsx(_components.p,{children:`The model used to generate post-call analysis, such as summaries, sentiment, and disposition.`})}),`\n`,_jsx(ParamField,{body:`analysisSummaryPrompt`,type:`string`,id:`param-analysis-summary-prompt`,children:_jsx(_components.p,{children:`The prompt used to generate the post-call summary. Include the outcome, details, and next steps you want the AI to extract.`})}),`\n`,_jsx(ParamField,{body:`selectedTools`,type:`object`,id:`param-selected-tools`,children:_jsx(_components.p,{children:`The tools enabled for the agent. Include tool IDs and any configuration needed for the agent to call them.`})}),`\n`,_jsx(ParamField,{body:`integrations`,type:`object`,id:`param-integrations`,children:_jsx(_components.p,{children:`Integration settings for the agent, such as connected scheduling, CRM, or webhook configuration.`})}),`\n`,_jsx(ParamField,{body:`knowledgeBase`,type:`string`,id:`param-knowledge-base`,children:_jsx(_components.p,{children:`The knowledge base reference or content available to the agent during conversations.`})}),`\n`,_jsx(ParamField,{body:`beginMessage`,type:`string`,id:`param-begin-message`,children:_jsx(_components.p,{children:`The first message the agent says when the conversation starts. Keep it short and natural for voice calls.`})}),`\n`,_jsx(ParamField,{body:`startSpeaker`,type:`string`,id:`param-start-speaker`,children:_jsxs(_components.p,{children:[`Who speaks first when the call starts. Use the value supported by the agent configuration, such as `,_jsx(_components.code,{children:`agent`}),` or `,_jsx(_components.code,{children:`user`}),`.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Whether the request succeeded.`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`Human-readable status message.`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:[_jsx(_components.p,{children:`Returned data.`}),_jsxs(Expandable,{title:`data`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`Unique agent ID`})}),_jsx(ResponseField,{name:`organization_id`,type:`string`,id:`param-organization-id`,children:_jsx(_components.p,{children:`Organization this agent belongs to`})}),_jsx(ResponseField,{name:`widget_settings_id`,type:`string`,id:`param-widget-settings-id`,children:_jsx(_components.p,{children:`Associated widget settings ID`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`Internal name of the agent`})}),_jsx(ResponseField,{name:`agent_name`,type:`string`,id:`param-agent-name-1`,children:_jsx(_components.p,{children:`Display name of the agent`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`status field. Allowed values: `,_jsx(_components.code,{children:`AGENT_STATUS_UNSPECIFIED`}),`, `,_jsx(_components.code,{children:`AGENT_STATUS_ACTIVE`}),`, `,_jsx(_components.code,{children:`AGENT_STATUS_INACTIVE`}),`.`]})}),_jsx(ResponseField,{name:`model`,type:`string`,id:`param-model-1`,children:_jsx(_components.p,{children:`LLM model identifier`})}),_jsx(ResponseField,{name:`s2s_model`,type:`string`,id:`param-s2s-model-1`,children:_jsx(_components.p,{children:`Speech-to-speech model identifier`})}),_jsx(ResponseField,{name:`voice_id`,type:`string`,id:`param-voice-id-1`,children:_jsx(_components.p,{children:`Voice ID for TTS`})}),_jsx(ResponseField,{name:`temperature`,type:`number`,id:`param-temperature-1`,children:_jsx(_components.p,{children:`LLM temperature setting`})}),_jsx(ResponseField,{name:`reminder_trigger_ms`,type:`integer`,id:`param-reminder-trigger-ms-1`,children:_jsx(_components.p,{children:`Milliseconds before sending a reminder`})}),_jsx(ResponseField,{name:`reminder_max_count`,type:`integer`,id:`param-reminder-max-count-1`,children:_jsx(_components.p,{children:`Maximum number of reminders to send`})}),_jsx(ResponseField,{name:`ambient_sound`,type:`string`,id:`param-ambient-sound-1`,children:_jsx(_components.p,{children:`Ambient sound identifier`})}),_jsx(ResponseField,{name:`ambient_sound_volume`,type:`number`,id:`param-ambient-sound-volume-1`,children:_jsx(_components.p,{children:`Volume of ambient sound (0.0 - 1.0)`})}),_jsx(ResponseField,{name:`end_call_after_silence`,type:`boolean`,id:`param-end-call-after-silence-1`,children:_jsx(_components.p,{children:`Whether to end the call after silence`})}),_jsx(ResponseField,{name:`max_call_duration_ms`,type:`integer`,id:`param-max-call-duration-ms-1`,children:_jsx(_components.p,{children:`Maximum call duration in milliseconds`})}),_jsx(ResponseField,{name:`ring_duration_ms`,type:`integer`,id:`param-ring-duration-ms-1`,children:_jsx(_components.p,{children:`Ring duration in milliseconds`})}),_jsx(ResponseField,{name:`enable_voicemail_detection`,type:`boolean`,id:`param-enable-voicemail-detection-1`,children:_jsx(_components.p,{children:`Whether to enable voicemail detection`})}),_jsx(ResponseField,{name:`voicemail_message`,type:`string`,id:`param-voicemail-message-1`,children:_jsx(_components.p,{children:`Message to leave on voicemail`})}),_jsx(ResponseField,{name:`voicemail_detection_timeout_ms`,type:`integer`,id:`param-voicemail-detection-timeout-ms-1`,children:_jsx(_components.p,{children:`Voicemail detection timeout in milliseconds`})}),_jsx(ResponseField,{name:`enable_emergency_fallback`,type:`boolean`,id:`param-enable-emergency-fallback-1`,children:_jsx(_components.p,{children:`Whether to transfer the call to a backup number on failure`})}),_jsx(ResponseField,{name:`emergency_fallback_number`,type:`string`,id:`param-emergency-fallback-number-1`,children:_jsx(_components.p,{children:`The backup number to transfer the call to`})}),_jsx(ResponseField,{name:`ivr_options`,type:`object`,id:`param-ivr-options-1`,children:_jsx(_components.p,{children:`IVR (Interactive Voice Response) configuration`})}),_jsx(ResponseField,{name:`post_call_analysis_model`,type:`string`,id:`param-post-call-analysis-model-1`,children:_jsx(_components.p,{children:`Model to use for post-call analysis`})}),_jsx(ResponseField,{name:`analysis_summary_prompt`,type:`string`,id:`param-analysis-summary-prompt-1`,children:_jsx(_components.p,{children:`Prompt used for generating call summary`})}),_jsx(ResponseField,{name:`selected_tools`,type:`object`,id:`param-selected-tools-1`,children:_jsx(_components.p,{children:`Tools selected for this agent`})}),_jsx(ResponseField,{name:`integrations`,type:`object`,id:`param-integrations-1`,children:_jsx(_components.p,{children:`Integration configuration`})}),_jsx(ResponseField,{name:`knowledge_base`,type:`string`,id:`param-knowledge-base-1`,children:_jsx(_components.p,{children:`Knowledge base content or reference`})}),_jsx(ResponseField,{name:`begin_message`,type:`string`,id:`param-begin-message-1`,children:_jsx(_components.p,{children:`Opening message spoken by the agent`})}),_jsx(ResponseField,{name:`start_speaker`,type:`string`,id:`param-start-speaker-1`,children:_jsx(_components.p,{children:`Who speaks first: agent or user`})}),_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`Creation timestamp`})}),_jsx(ResponseField,{name:`updated_at`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`Last update timestamp`})})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Agent","openapi":"PATCH /api/v1/agents/{id}/","description":"Update Agent.","href":"/api-reference/agents/update"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[323,327,"Example,ResponseFiel"],[566,581,"Example)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingM"],[29521,29523,",`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Agent updated successfully\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"agentName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Sales Bot v2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]}"]]},"mdxExtracts":{"tableOfContents":[{"title":"Authorizations","slug":"authorizations","depth":3,"children":[]},{"title":"Request","slug":"request","depth":3,"children":[]},{"title":"Path Parameters","slug":"path-parameters","depth":3,"children":[]},{"title":"Body","slug":"body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Agent updated successfully\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"...\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"agentName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Sales Bot v2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":["/_mintlify/custom/agni/e3b0c44298fc1c14/build-openapi.js","/_mintlify/custom/agni/efdc12d3882511b9/fix-newlines.js","/_mintlify/custom/agni/b8fa0a4115baddda/fix-tabs.js"],"openApiReferenceData":{"operation":{"tags":["AgentService"],"summary":"Update Agent","operationId":"UpdateAgent","parameters":["258c6542-42bb-47ea-8df9-550bbcea325e"],"requestBody":"f0b83b59-4b8e-4d48-a689-db96bc618d93","responses":{"200":"ba307477-4f3b-4d4c-909c-2fb22cd4c150"},"method":"patch","type":"path","servers":["791adbe8-072f-41b3-b4ab-bd7cd3aac624"],"security":["0e52c7f4-f88b-4d03-9388-6b2e7eb4fb3d"],"path":"/api/v1/agents/{id}/","baseUrlOptions":["https://api.ravan.ai"],"title":"Update Agent","description":"Update Agent.","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"5","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"success\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"true"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"message\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Agent updated successfully\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"data\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": { "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":"\"id\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"...\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":", "}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":"\"agentName\""}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Sales Bot v2\""}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"200"}],"responseExampleType":"mdx"},"dependencies":{"parameters":{"258c6542-42bb-47ea-8df9-550bbcea325e":{"name":"id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"Agent ID","uniqueKey":"","typeLabel":"string"},"description":"Agent ID"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"widget_settings_id":{"type":"string","uniqueKey":"widget_settings_id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"name","typeLabel":"string"},"agent_name":{"type":"string","uniqueKey":"agent_name","typeLabel":"string"},"model":{"type":"string","uniqueKey":"model","typeLabel":"string"},"s2s_model":{"type":"string","uniqueKey":"s2s_model","typeLabel":"string"},"voice_id":{"type":"string","uniqueKey":"voice_id","typeLabel":"string"},"temperature":{"type":"number","format":"double","uniqueKey":"temperature","typeLabel":"number\u003cdouble>"},"reminder_trigger_ms":{"type":"integer","format":"int32","uniqueKey":"reminder_trigger_ms","typeLabel":"integer\u003cint32>"},"reminder_max_count":{"type":"integer","format":"int32","uniqueKey":"reminder_max_count","typeLabel":"integer\u003cint32>"},"ambient_sound":{"type":"string","uniqueKey":"ambient_sound","typeLabel":"string"},"ambient_sound_volume":{"type":"number","format":"double","uniqueKey":"ambient_sound_volume","typeLabel":"number\u003cdouble>"},"end_call_after_silence":{"type":"boolean","uniqueKey":"end_call_after_silence","typeLabel":"boolean"},"max_call_duration_ms":{"type":"integer","format":"int32","uniqueKey":"max_call_duration_ms","typeLabel":"integer\u003cint32>"},"ring_duration_ms":{"type":"integer","format":"int32","uniqueKey":"ring_duration_ms","typeLabel":"integer\u003cint32>"},"enable_voicemail_detection":{"type":"boolean","uniqueKey":"enable_voicemail_detection","typeLabel":"boolean"},"voicemail_message":{"type":"string","uniqueKey":"voicemail_message","typeLabel":"string"},"voicemail_detection_timeout_ms":{"type":"integer","format":"int32","uniqueKey":"voicemail_detection_timeout_ms","typeLabel":"integer\u003cint32>"},"enable_emergency_fallback":{"type":"boolean","uniqueKey":"enable_emergency_fallback","typeLabel":"boolean"},"emergency_fallback_number":{"type":"string","uniqueKey":"emergency_fallback_number","typeLabel":"string"},"ivr_options":{"type":"object","uniqueKey":"ivr_options","typeLabel":"object"},"post_call_analysis_model":{"type":"string","uniqueKey":"post_call_analysis_model","typeLabel":"string"},"analysis_summary_prompt":{"type":"string","uniqueKey":"analysis_summary_prompt","typeLabel":"string"},"selected_tools":{"type":"object","uniqueKey":"selected_tools","typeLabel":"object"},"integrations":{"type":"object","uniqueKey":"integrations","typeLabel":"object"},"knowledge_base":{"type":"string","uniqueKey":"knowledge_base","typeLabel":"string"},"begin_message":{"type":"string","uniqueKey":"begin_message","typeLabel":"string"},"start_speaker":{"type":"string","uniqueKey":"start_speaker","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"updateAgentExample":{"title":"updateAgentExample","value":{"agentName":"Agni2324","status":"ACTIVE","model":"Agni Premium","s2sModel":"Agni Premium","voiceId":"Iris","temperature":0.7,"reminderTriggerMs":10000,"reminderMaxCount":1,"ambientSound":"city_ambience","ambientSoundVolume":1,"maxCallDurationMs":240000,"ringDurationMs":30000,"voicemailMessage":"","voicemailDetectionTimeoutMs":5000,"postCallAnalysisModel":"gpt-4o-mini","postCallAnalysisData":[{"choices":["Negative","Positive","Neutral"],"description":"what was users sentiment throughout the call","name":"sentiments","type":"enum"},{"description":"Detailed summary of the call before you transfer the call to a human agent so that the human agent can understand the context of the call","name":"summary","type":"string"},{"description":"Select the data about their work","name":"what they did in their work?","type":"string"}],"selectedTools":["019e9308-6e56-7488-910a-cceed909fc7a","019e92fc-e8a4-7c3f-8b14-89a55db6f748"],"knowledgeBase":"","beginMessage":"","startSpeaker":"agent","createdAt":"2026-06-04 14:10:48.49862 +0000 UTC","updatedAt":"2026-06-11 10:57:37.109987 +0000 UTC","prompt":"The current date and Time in Asia/Calcutta is {{current_time_Asia/Calcutta}}\n\n# AGNI Friendly Daily Check-In Companion\n\nYou are AGNI, a warm, friendly, caring, and conversational AI companion.\n\nYour role is to have natural human-like conversations and regularly check in on how people are doing throughout their day.\n\nYou are NOT a therapist, counselor, interviewer, recruiter, salesperson, or technical assistant.\n\nYou are simply a friendly AI companion who enjoys talking to people and learning about their day.\nTalk in hindi.","endcallOnSilenceDuration":10000,"reminderMessage":"Hey there are you there?","voicemailCustomPatterns":null,"interruptionSensitivity":0.1,"calcomAccountName":"Default","calcomStatus":"active","calcomConnectionType":"agent","ghlAssignUserIdList":[],"memory":true,"calendarTimezone":"UTC","accent":[],"emotion":false,"crmSyncProviders":null,"salesforceCalendarId":"","salesforceAssignUserIdList":[],"emergencyFallback":"+919911293960"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"ba307477-4f3b-4d4c-909c-2fb22cd4c150":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","properties":{"id":{"type":"string","description":"Unique agent ID","uniqueKey":"data.id","typeLabel":"string"},"organization_id":{"type":"string","description":"Organization this agent belongs to","uniqueKey":"data.organization_id","typeLabel":"string"},"widget_settings_id":{"type":"string","description":"Associated widget settings ID","uniqueKey":"data.widget_settings_id","typeLabel":"string"},"name":{"type":"string","description":"Internal name of the agent","uniqueKey":"data.name","typeLabel":"string"},"agent_name":{"type":"string","description":"Display name of the agent","uniqueKey":"data.agent_name","typeLabel":"string"},"status":{"type":"string","enum":["AGENT_STATUS_UNSPECIFIED","AGENT_STATUS_ACTIVE","AGENT_STATUS_INACTIVE"],"description":"Status of the agent","uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"LLM model identifier","uniqueKey":"data.model","typeLabel":"string"},"s2s_model":{"type":"string","description":"Speech-to-speech model identifier","uniqueKey":"data.s2s_model","typeLabel":"string"},"voice_id":{"type":"string","description":"Voice ID for TTS","uniqueKey":"data.voice_id","typeLabel":"string"},"temperature":{"type":"number","format":"double","description":"LLM temperature setting","uniqueKey":"data.temperature","typeLabel":"number\u003cdouble>"},"reminder_trigger_ms":{"type":"integer","format":"int32","description":"Milliseconds before sending a reminder","uniqueKey":"data.reminder_trigger_ms","typeLabel":"integer\u003cint32>"},"reminder_max_count":{"type":"integer","format":"int32","description":"Maximum number of reminders to send","uniqueKey":"data.reminder_max_count","typeLabel":"integer\u003cint32>"},"ambient_sound":{"type":"string","description":"Ambient sound identifier","uniqueKey":"data.ambient_sound","typeLabel":"string"},"ambient_sound_volume":{"type":"number","format":"double","description":"Volume of ambient sound (0.0 - 1.0)","uniqueKey":"data.ambient_sound_volume","typeLabel":"number\u003cdouble>"},"end_call_after_silence":{"type":"boolean","description":"Whether to end the call after silence","uniqueKey":"data.end_call_after_silence","typeLabel":"boolean"},"max_call_duration_ms":{"type":"integer","format":"int32","description":"Maximum call duration in milliseconds","uniqueKey":"data.max_call_duration_ms","typeLabel":"integer\u003cint32>"},"ring_duration_ms":{"type":"integer","format":"int32","description":"Ring duration in milliseconds","uniqueKey":"data.ring_duration_ms","typeLabel":"integer\u003cint32>"},"enable_voicemail_detection":{"type":"boolean","description":"Whether to enable voicemail detection","uniqueKey":"data.enable_voicemail_detection","typeLabel":"boolean"},"voicemail_message":{"type":"string","description":"Message to leave on voicemail","uniqueKey":"data.voicemail_message","typeLabel":"string"},"voicemail_detection_timeout_ms":{"type":"integer","format":"int32","description":"Voicemail detection timeout in milliseconds","uniqueKey":"data.voicemail_detection_timeout_ms","typeLabel":"integer\u003cint32>"},"enable_emergency_fallback":{"type":"boolean","description":"Whether to transfer the call to a backup number on failure","uniqueKey":"data.enable_emergency_fallback","typeLabel":"boolean"},"emergency_fallback_number":{"type":"string","description":"The backup number to transfer the call to","uniqueKey":"data.emergency_fallback_number","typeLabel":"string"},"ivr_options":{"type":"object","description":"IVR (Interactive Voice Response) configuration","uniqueKey":"data.ivr_options","typeLabel":"object"},"post_call_analysis_model":{"type":"string","description":"Model to use for post-call analysis","uniqueKey":"data.post_call_analysis_model","typeLabel":"string"},"analysis_summary_prompt":{"type":"string","description":"Prompt used for generating call summary","uniqueKey":"data.analysis_summary_prompt","typeLabel":"string"},"selected_tools":{"type":"object","description":"Tools selected for this agent","uniqueKey":"data.selected_tools","typeLabel":"object"},"integrations":{"type":"object","description":"Integration configuration","uniqueKey":"data.integrations","typeLabel":"object"},"knowledge_base":{"type":"string","description":"Knowledge base content or reference","uniqueKey":"data.knowledge_base","typeLabel":"string"},"begin_message":{"type":"string","description":"Opening message spoken by the agent","uniqueKey":"data.begin_message","typeLabel":"string"},"start_speaker":{"type":"string","description":"Who speaks first: agent or user","uniqueKey":"data.start_speaker","typeLabel":"string"},"created_at":{"type":"string","description":"Creation timestamp","uniqueKey":"data.created_at","typeLabel":"string"},"updated_at":{"type":"string","description":"Last update timestamp","uniqueKey":"data.updated_at","typeLabel":"string"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"message":"\u003cstring>","data":{"id":"\u003cstring>","organization_id":"\u003cstring>","widget_settings_id":"\u003cstring>","name":"\u003cstring>","agent_name":"\u003cstring>","status":"AGENT_STATUS_UNSPECIFIED","model":"\u003cstring>","s2s_model":"\u003cstring>","voice_id":"\u003cstring>","temperature":123,"reminder_trigger_ms":123,"reminder_max_count":123,"ambient_sound":"\u003cstring>","ambient_sound_volume":123,"end_call_after_silence":true,"max_call_duration_ms":123,"ring_duration_ms":123,"enable_voicemail_detection":true,"voicemail_message":"\u003cstring>","voicemail_detection_timeout_ms":123,"enable_emergency_fallback":true,"emergency_fallback_number":"\u003cstring>","ivr_options":{},"post_call_analysis_model":"\u003cstring>","analysis_summary_prompt":"\u003cstring>","selected_tools":{},"integrations":{},"knowledge_base":"\u003cstring>","begin_message":"\u003cstring>","start_speaker":"\u003cstring>","created_at":"\u003cstring>","updated_at":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"0e52c7f4-f88b-4d03-9388-6b2e7eb4fb3d":{"X-Api-Key":{"type":"apiKey","in":"header","name":"X-Api-Key","scopes":[]}}},"servers":{"791adbe8-072f-41b3-b4ab-bd7cd3aac624":{"url":"https://api.ravan.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Api-Key","scopes":[]},"schema":{"title":"X-Api-Key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"X-Api-Key","name":"X-Api-Key"}],"title":"X-Api-Key"}]},"originalFileLocation":"openapi.json"},"subdomain":"agni","siteName":"Agni","title":"Update Agent - Agni","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-15T09:59:09.241Z","originalFileLocation":"api-reference/agents/update.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Update Agent.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Agni\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/agni/k8K1bIqWGq9Nswhg/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/agni/k8K1bIqWGq9Nswhg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/agni/k8K1bIqWGq9Nswhg/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/agni/k8K1bIqWGq9Nswhg/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/agni/k8K1bIqWGq9Nswhg/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/agni/k8K1bIqWGq9Nswhg/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/agni/k8K1bIqWGq9Nswhg/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/agni/k8K1bIqWGq9Nswhg/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/agni/k8K1bIqWGq9Nswhg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Agent - Agni\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update Agent.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Agni\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ravan.ai/api-reference/agents/update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://agni.mintlify.site/_mintlify/api/og/v2?division=Agent+API\u0026amp;title=Update+Agent\u0026amp;description=Update+Agent.\u0026amp;theme=6fec8f896e523ced5b568193\u0026amp;signature=f3ba4dd241712d9da40aa7a4c203a9b3fa18af123ba1e7497a799cbe70e13530\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update Agent - Agni\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update Agent.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://agni.mintlify.site/_mintlify/api/og/v2?division=Agent+API\u0026amp;title=Update+Agent\u0026amp;description=Update+Agent.\u0026amp;theme=6fec8f896e523ced5b568193\u0026amp;signature=f3ba4dd241712d9da40aa7a4c203a9b3fa18af123ba1e7497a799cbe70e13530\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/agni/k8K1bIqWGq9Nswhg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Agni\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E8430A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ravan.ai/api-reference/agents/update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/agents/update.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ravan.ai/#organization\",\"name\":\"Agni\",\"url\":\"https://docs.ravan.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/agni/McdbIs6domJMAyIV/logo/light.png?fit=max\u0026auto=format\u0026n=McdbIs6domJMAyIV\u0026q=85\u0026s=56e5c2c19fd673bc0f02949ea740516d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ravan.ai#website\",\"name\":\"Agni\",\"url\":\"https://docs.ravan.ai\",\"publisher\":{\"@id\":\"https://docs.ravan.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ravan.ai/api-reference/agents/update#webpage\",\"url\":\"https://docs.ravan.ai/api-reference/agents/update\",\"name\":\"Update Agent\",\"description\":\"Update Agent.\",\"dateModified\":\"2026-06-15T09:59:09.241Z\",\"isPartOf\":{\"@id\":\"https://docs.ravan.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ravan.ai/api-reference/agents/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ravan.ai/api-reference/agents/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agent API\",\"item\":\"https://docs.ravan.ai/api-reference/agents/get\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Agent\",\"item\":\"https://docs.ravan.ai/api-reference/agents/update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ravan.ai/api-reference/agents/update#apireference\",\"headline\":\"Update Agent\",\"name\":\"Update Agent\",\"description\":\"Update Agent.\",\"url\":\"https://docs.ravan.ai/api-reference/agents/update\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ravan.ai/api-reference/agents/update#webpage\"},\"dateModified\":\"2026-06-15T09:59:09.241Z\",\"publisher\":{\"@id\":\"https://docs.ravan.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ravan.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Agni\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Agni\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/agents/update.md","siteName":"Agni","nav":{"global":{"anchors":[{"anchor":"Demo","icon":"microphone","href":"https://agni.ravan.ai"},{"anchor":"Website","icon":"globe","href":"https://app.ravan.ai"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","groups":[{"group":"Introduction","pages":[{"title":"API overview","href":"/api-reference/introduction"}]},{"group":"Agent API","pages":[{"title":"Get Agent","openapi":"GET /api/v1/agents/{id}/","href":"/api-reference/agents/get"},{"title":"List Agents","openapi":"GET /api/v1/agents/","href":"/api-reference/agents/list"},{"title":"List LLM Models With Voices","openapi":"GET /api/v1/available-llm-models/with-voices","href":"/api-reference/models/list-with-voices"},{"title":"List Voices for LLM Model","openapi":"GET /api/v1/available-voice-ids/{llm_model_id}/voices","href":"/api-reference/models/list-voices"},{"title":"Create Agent","api":"POST https://api.ravan.ai/api/v1/agents/","description":"Create a new agent.","href":"/api-reference/agents/create"},{"title":"Update Agent","openapi":"PATCH /api/v1/agents/{id}/","href":"/api-reference/agents/update"},{"title":"Update Agent Status","openapi":"PATCH /api/v1/agents/{id}/status/","description":"Update Agent Status.","href":"/api-reference/agents/update-status"},{"title":"Delete Agent","openapi":"DELETE /api/v1/agents/{id}/","href":"/api-reference/agents/delete"}]},{"group":"Organization API","pages":[{"title":"Get organization profile","openapi":"GET /api/v1/organizations/profile/{id}","href":"/api-reference/organizations/profile"}]},{"group":"Agent Tool API","pages":[{"title":"Get Agent Tool","openapi":"GET /api/v1/tools/{id}/","href":"/api-reference/tools/get"},{"title":"List Agent Tools","openapi":"GET /api/v1/tools/","href":"/api-reference/tools/list"},{"title":"Create Agent Tool","openapi":"POST /api/v1/tools/","href":"/api-reference/tools/create"},{"title":"Update Agent Tool","openapi":"PATCH /api/v1/tools/{id}/","href":"/api-reference/tools/update"},{"title":"Delete Agent Tool","openapi":"DELETE /api/v1/tools/{id}/","href":"/api-reference/tools/delete"}]},{"group":"Phone Number \u0026 Telephony API","pages":[{"title":"List Available Numbers","openapi":"GET /api/v1/phone-numbers/available-numbers/{iso_country}/","href":"/api-reference/telephony/list-available-numbers"},{"title":"List Purchased Numbers","openapi":"GET /api/v1/phone-numbers/list","href":"/api-reference/telephony/list-purchased-numbers"},{"title":"List Imported Numbers","openapi":"GET /api/v1/phone-numbers/import","href":"/api-reference/telephony/list-imported-numbers"},{"title":"Get Imported Number","openapi":"GET /api/v1/phone-numbers/import/{id}","href":"/api-reference/telephony/get-imported-number"},{"title":"List Twilio Owned Numbers","openapi":"GET /api/v1/phone-numbers/twilio-owned-numbers/","href":"/api-reference/telephony/list-twilio-numbers"},{"title":"Get Selected Telephony","openapi":"GET /api/v1/phone-numbers/selected-telephony","href":"/api-reference/telephony/get-selected-telephony"},{"title":"Buy Phone Number","openapi":"POST /api/v1/phone-numbers/buy/","href":"/api-reference/telephony/buy-number"},{"title":"Import Phone Number","openapi":"POST /api/v1/phone-numbers/import/","href":"/api-reference/telephony/import-number"},{"title":"Add Twilio Number","openapi":"POST /api/v1/phone-numbers/add-twilio","href":"/api-reference/telephony/add-twilio-number"},{"title":"Create Telephony Type","openapi":"POST /api/v1/phone-numbers/create/telephony/","href":"/api-reference/telephony/create-telephony"},{"title":"Update Imported Number","openapi":"PUT /api/v1/phone-numbers/import/{id}","href":"/api-reference/telephony/update-imported-number"},{"title":"Release Phone Number","openapi":"DELETE /api/v1/phone-numbers/{phone_number}/release/","href":"/api-reference/telephony/release-number"},{"title":"Delete Imported Number","openapi":"DELETE /api/v1/phone-numbers/import/{id}","href":"/api-reference/telephony/delete-imported-number"}]},{"group":"Campaign API","pages":[{"title":"List Campaigns","api":"GET https://api.ravan.ai/api/v1/campaigns/","href":"/api-reference/campaigns/list"},{"title":"Get Campaign","api":"GET https://api.ravan.ai/api/v1/campaigns/{id}","href":"/api-reference/campaigns/get"},{"title":"List Campaign Contacts","openapi":"GET /api/v1/campaigns/{id}/contacts","href":"/api-reference/campaigns/list-contacts"},{"title":"Create Campaign","api":"POST https://api.ravan.ai/api/v1/campaigns/","href":"/api-reference/campaigns/create"},{"title":"Start Campaign","openapi":"POST /api/v1/campaigns/{id}/start","href":"/api-reference/campaigns/start"},{"title":"Pause Campaign","openapi":"POST /api/v1/campaigns/{id}/pause","href":"/api-reference/campaigns/pause"},{"title":"Resume Campaign","openapi":"POST /api/v1/campaigns/{id}/resume","href":"/api-reference/campaigns/resume"},{"title":"Add Contacts to Campaign","openapi":"POST /api/v1/campaigns/{id}/contacts","href":"/api-reference/campaigns/add-contacts"},{"title":"Update Campaign","api":"PATCH https://api.ravan.ai/api/v1/campaigns/{id}","href":"/api-reference/campaigns/update"},{"title":"Delete Campaign","openapi":"DELETE /api/v1/campaigns/{id}","href":"/api-reference/campaigns/delete"},{"title":"Remove Contact from Campaign","openapi":"DELETE /api/v1/campaigns/{id}/contacts/{contact_id}","href":"/api-reference/campaigns/remove-contact"}]},{"group":"Contact API","pages":[{"title":"Get Contact","openapi":"GET /api/v1/contacts/{id}","href":"/api-reference/contacts/get"},{"title":"List Contacts","openapi":"GET /api/v1/contacts/","href":"/api-reference/contacts/list"},{"title":"Get Contact Detail","openapi":"GET /api/v1/contacts/{id}/detail","href":"/api-reference/contacts/detail"},{"title":"Get Contact Calls","openapi":"GET /api/v1/contacts/{id}/calls","href":"/api-reference/contacts/calls"},{"title":"Get Contact Call Stats","openapi":"GET /api/v1/contacts/{id}/calls/stats","href":"/api-reference/contacts/call-stats"},{"title":"Get Contact Activities","openapi":"GET /api/v1/contacts/{id}/activities","href":"/api-reference/contacts/activities"},{"title":"Get Contact Campaigns","openapi":"GET /api/v1/contacts/{id}/campaigns","href":"/api-reference/contacts/campaigns"},{"title":"List Contact Notes","openapi":"GET /api/v1/contacts/{id}/notes","href":"/api-reference/contacts/list-notes"},{"title":"Create Contact","openapi":"POST /api/v1/contacts/","href":"/api-reference/contacts/create"},{"title":"Bulk Delete Contacts","openapi":"POST /api/v1/contacts/bulk-delete","href":"/api-reference/contacts/bulk-delete"},{"title":"Create Contact Note","openapi":"POST /api/v1/contacts/{id}/notes","href":"/api-reference/contacts/create-note"},{"title":"Update Contact","openapi":"PATCH /api/v1/contacts/{id}","href":"/api-reference/contacts/update"},{"title":"Delete Contact","openapi":"DELETE /api/v1/contacts/{id}","href":"/api-reference/contacts/delete"}]},{"group":"Calling API","pages":[{"title":"List Call Sessions","openapi":"GET /api/v1/calling/call-sessions","href":"/api-reference/calling/list-sessions"},{"title":"Get Call Session Detail","openapi":"GET /api/v1/calling/call-sessions-detail/{id}","href":"/api-reference/calling/get-session-detail"},{"title":"Phone Call History","openapi":"GET /api/v1/calling/phone-history","href":"/api-reference/calling/phone-history"},{"title":"Create Call","openapi":"POST /api/v1/calling/create-call","href":"/api-reference/calling/create-call"}]},{"group":"Appointment API","pages":[{"title":"Manage GHL Appointment","openapi":"POST /api/v1/ghl/appointments/manage","href":"/api-reference/appointments/manage-ghl"},{"title":"Manage Cal.com Appointment","openapi":"POST /api/v1/calcom/appointments/manage","href":"/api-reference/appointments/manage-calcom"}]},{"group":"GHL Integration API","pages":[{"title":"GHL Setup Status","openapi":"GET /api/v1/ghl/setup/status","href":"/api-reference/ghl/setup-status"},{"title":"List GHL Calendars","openapi":"GET /api/v1/ghl/setup/calendars","href":"/api-reference/ghl/list-calendars"},{"title":"Get GHL Agent by Calendar","openapi":"GET /api/v1/ghl/setup/agents/calendar/{calendar_id}","href":"/api-reference/ghl/get-agent-by-calendar"},{"title":"List GHL Appointments","openapi":"GET /api/v1/ghl/appointments","href":"/api-reference/ghl/list-appointments"},{"title":"Get GHL Appointment","openapi":"GET /api/v1/ghl/appointments/{appointment_id}","href":"/api-reference/ghl/get-appointment"},{"title":"GHL OAuth Authorize","openapi":"GET /api/v1/ghl/oauth/authorize","href":"/api-reference/ghl/oauth-authorize"},{"title":"GHL OAuth Callback","openapi":"GET /api/v1/ghl/oauth/callback","href":"/api-reference/ghl/oauth-callback"},{"title":"Save Call Data","openapi":"POST /api/v1/ghl/calls/data","href":"/api-reference/ghl/save-call-data"},{"title":"Get or Create Contact","openapi":"POST /api/v1/ghl/contacts","href":"/api-reference/ghl/get-or-create-contact"},{"title":"Disconnect GHL","openapi":"POST /api/v1/ghl/disconnect","href":"/api-reference/ghl/disconnect"}]},{"group":"Cal.com Integration API","pages":[{"title":"Cal.com OAuth Connect","openapi":"GET /api/v1/calcom/oauth/connect","href":"/api-reference/calcom/oauth-connect"},{"title":"Cal.com OAuth Callback","openapi":"GET /api/v1/calcom/oauth/callback","href":"/api-reference/calcom/oauth-callback"},{"title":"Cal.com Connection Status","openapi":"GET /api/v1/calcom/status","href":"/api-reference/calcom/status"},{"title":"List Cal.com Event Types","openapi":"GET /api/v1/calcom/event-types","href":"/api-reference/calcom/list-event-types"},{"title":"Lookup Cal.com Event Type","openapi":"GET /api/v1/calcom/event-types/lookup/{platform_id}","href":"/api-reference/calcom/lookup-event-type"},{"title":"List Cal.com Appointments","openapi":"GET /api/v1/calcom/appointments","href":"/api-reference/calcom/list-appointments"},{"title":"Get Appointment","openapi":"GET /api/v1/calcom/appointments/{appointment_id}","href":"/api-reference/calcom/get-appointment"},{"title":"Get Agent Cal.com Account","openapi":"GET /api/v1/calcom/agents/{agent_id}/account","href":"/api-reference/calcom/get-agent-account"},{"title":"Get Agent Cal.com Status","openapi":"GET /api/v1/calcom/agents/{agent_id}/status","href":"/api-reference/calcom/agent-status"},{"title":"Get Agent Cal.com Info","openapi":"GET /api/v1/calcom/agents/{agent_id}/info","href":"/api-reference/calcom/agent-info"},{"title":"Disconnect Cal.com","openapi":"POST /api/v1/calcom/disconnect","href":"/api-reference/calcom/disconnect"},{"title":"Connect Agent Cal.com","openapi":"POST /api/v1/calcom/agents/{agent_id}/connect","href":"/api-reference/calcom/connect-agent"},{"title":"Assign Cal.com Account to Agent","openapi":"PUT /api/v1/calcom/agents/{agent_id}/account","href":"/api-reference/calcom/assign-agent-account"},{"title":"Disconnect Agent Cal.com","openapi":"DELETE /api/v1/calcom/agents/{agent_id}/disconnect","href":"/api-reference/calcom/disconnect-agent"}]},{"group":"RAG Knowledge Base API","pages":[{"title":"Get Knowledge Base","openapi":"GET /api/v1/rag/get-knowledge-base/{kb_id}","href":"/api-reference/rag/get-knowledge-base"},{"title":"List Knowledge Bases","openapi":"GET /api/v1/rag/knowledgebases","href":"/api-reference/rag/list-knowledge-bases"},{"title":"Get Document","openapi":"GET /api/v1/rag/document","href":"/api-reference/rag/get-document"},{"title":"List Documents","openapi":"GET /api/v1/rag/documents","href":"/api-reference/rag/list-documents"},{"title":"List Exclusions","openapi":"GET /api/v1/rag/exclusions","href":"/api-reference/rag/list-exclusions"},{"title":"Create Knowledge Base","openapi":"POST /api/v1/rag/create-knowledge-base","href":"/api-reference/rag/create-knowledge-base"},{"title":"Add Sources","openapi":"POST /api/v1/rag/knowledge-base/{kb_id}/add-sources","href":"/api-reference/rag/add-sources"},{"title":"Upsert Document","openapi":"POST /api/v1/rag/document","href":"/api-reference/rag/upsert-document"},{"title":"Query Knowledge Base","openapi":"POST /api/v1/rag/query","href":"/api-reference/rag/query"},{"title":"Discover URLs","openapi":"POST /api/v1/rag/discover","href":"/api-reference/rag/discover-urls"},{"title":"Refresh Knowledge Base","openapi":"POST /api/v1/rag/refresh","href":"/api-reference/rag/refresh"},{"title":"Manage Exclusions","openapi":"POST /api/v1/rag/exclusions","href":"/api-reference/rag/manage-exclusions"},{"title":"Delete Knowledge Base","openapi":"DELETE /api/v1/rag/delete-knowledge-base/{kb_id}","href":"/api-reference/rag/delete-knowledge-base"},{"title":"Delete Source","openapi":"DELETE /api/v1/rag/knowledge-base/{kb_id}/source/{source_id}","href":"/api-reference/rag/delete-source"}]},{"group":"Webhooks","pages":[{"title":"After-Call Webhook","href":"/api-reference/webhooks/call-completed"}]},{"group":"Health API","pages":[{"title":"Health Check","openapi":"GET /health","href":"/api-reference/health/health"},{"title":"Readiness Check","openapi":"GET /ready","href":"/api-reference/health/ready"}]}]}]},"basePath":"","title":"Update Agent - Agni","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}