curl --request PATCH \
--url https://app.closerx.ai/api/agent-llm/ \
--header 'Company-Name: <company-name>' \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"agent": {
"agent_name": "Jarvis",
"voice_id": "11labs-Adrian",
"voice_temperature": 1,
"voice_speed": 1,
"volume": 1,
"responsiveness": 1,
"interruption_sensitivity": 1,
"pronunciation_dictionary": [
{
"word": "actually",
"alphabet": "cmu",
"phoneme": "ˈæktʃuəli"
}
],
"enable_backchannel": true,
"backchannel_frequency": 0.9,
"backchannel_words": [
"yeah",
"uh-huh"
],
"vocab_specialization": "general",
"allow_user_dtmf": true,
"user_dtmf_options": {
"digit_limit": 123,
"timeout_ms": 123,
"termination_key": "<string>"
},
"denoising_mode": "noise-cancellation",
"reminder_trigger_ms": 10000,
"reminder_max_count": 2,
"ambient_sound": "coffee-shop",
"ambient_sound_volume": 1,
"language": "en-US",
"boosted_keywords": [
"aicall",
"kroger"
],
"normalize_for_speech": true,
"end_call_after_silence_ms": 600000,
"max_call_duration_ms": 3600000,
"voicemail_option": {
"action": {
"type": "static_text",
"text": "Please give us a callback tomorrow at 10am."
}
},
"analysis_data": [
{
"type": "<string>",
"name": "<string>",
"description": "<string>",
"examples": [
"<string>"
]
}
],
"ring_duration_ms": 30000
}
}
'{
"agent": {
"agent_name": "Jarvis",
"voice_id": "11labs-Adrian",
"voice_temperature": 1,
"voice_speed": 1,
"volume": 1,
"responsiveness": 1,
"interruption_sensitivity": 1,
"pronunciation_dictionary": [
{
"word": "actually",
"alphabet": "cmu",
"phoneme": "ˈæktʃuəli"
}
],
"enable_backchannel": true,
"backchannel_frequency": 0.9,
"backchannel_words": [
"yeah",
"uh-huh"
],
"vocab_specialization": "general",
"allow_user_dtmf": true,
"user_dtmf_options": {
"digit_limit": 123,
"timeout_ms": 123,
"termination_key": "<string>"
},
"denoising_mode": "noise-cancellation",
"reminder_trigger_ms": 10000,
"reminder_max_count": 2,
"ambient_sound": "coffee-shop",
"ambient_sound_volume": 1,
"language": "en-US",
"boosted_keywords": [
"aicall",
"kroger"
],
"normalize_for_speech": true,
"end_call_after_silence_ms": 600000,
"max_call_duration_ms": 3600000,
"voicemail_option": {
"action": {
"type": "static_text",
"text": "Please give us a callback tomorrow at 10am."
}
},
"analysis_data": [
{
"type": "<string>",
"name": "<string>",
"description": "<string>",
"examples": [
"<string>"
]
}
],
"ring_duration_ms": 30000
}
}Updates the configuration of an existing AI call agent or LLM by its ID
curl --request PATCH \
--url https://app.closerx.ai/api/agent-llm/ \
--header 'Company-Name: <company-name>' \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"agent": {
"agent_name": "Jarvis",
"voice_id": "11labs-Adrian",
"voice_temperature": 1,
"voice_speed": 1,
"volume": 1,
"responsiveness": 1,
"interruption_sensitivity": 1,
"pronunciation_dictionary": [
{
"word": "actually",
"alphabet": "cmu",
"phoneme": "ˈæktʃuəli"
}
],
"enable_backchannel": true,
"backchannel_frequency": 0.9,
"backchannel_words": [
"yeah",
"uh-huh"
],
"vocab_specialization": "general",
"allow_user_dtmf": true,
"user_dtmf_options": {
"digit_limit": 123,
"timeout_ms": 123,
"termination_key": "<string>"
},
"denoising_mode": "noise-cancellation",
"reminder_trigger_ms": 10000,
"reminder_max_count": 2,
"ambient_sound": "coffee-shop",
"ambient_sound_volume": 1,
"language": "en-US",
"boosted_keywords": [
"aicall",
"kroger"
],
"normalize_for_speech": true,
"end_call_after_silence_ms": 600000,
"max_call_duration_ms": 3600000,
"voicemail_option": {
"action": {
"type": "static_text",
"text": "Please give us a callback tomorrow at 10am."
}
},
"analysis_data": [
{
"type": "<string>",
"name": "<string>",
"description": "<string>",
"examples": [
"<string>"
]
}
],
"ring_duration_ms": 30000
}
}
'{
"agent": {
"agent_name": "Jarvis",
"voice_id": "11labs-Adrian",
"voice_temperature": 1,
"voice_speed": 1,
"volume": 1,
"responsiveness": 1,
"interruption_sensitivity": 1,
"pronunciation_dictionary": [
{
"word": "actually",
"alphabet": "cmu",
"phoneme": "ˈæktʃuəli"
}
],
"enable_backchannel": true,
"backchannel_frequency": 0.9,
"backchannel_words": [
"yeah",
"uh-huh"
],
"vocab_specialization": "general",
"allow_user_dtmf": true,
"user_dtmf_options": {
"digit_limit": 123,
"timeout_ms": 123,
"termination_key": "<string>"
},
"denoising_mode": "noise-cancellation",
"reminder_trigger_ms": 10000,
"reminder_max_count": 2,
"ambient_sound": "coffee-shop",
"ambient_sound_volume": 1,
"language": "en-US",
"boosted_keywords": [
"aicall",
"kroger"
],
"normalize_for_speech": true,
"end_call_after_silence_ms": 600000,
"max_call_duration_ms": 3600000,
"voicemail_option": {
"action": {
"type": "static_text",
"text": "Please give us a callback tomorrow at 10am."
}
},
"analysis_data": [
{
"type": "<string>",
"name": "<string>",
"description": "<string>",
"examples": [
"<string>"
]
}
],
"ring_duration_ms": 30000
}
}The name of the schema to be used for the request
Specifies whether the request is for an agent or LLM
agent, llm "agent"
Unique identifier for the AI call agent or LLM to be updated
12
Configuration details to update for the AI call agent or LLM
Show child attributes
The name of the agent, used for reference.
"Jarvis"
Unique voice ID used for the agent.
"11labs-Adrian"
Controls voice stability for ElevenLabs voices. Lower is more stable, higher is more variant. Defaults to 1.
0 <= x <= 21
Controls voice speed. Lower is slower, higher is faster. Defaults to 1.
0.5 <= x <= 21
Controls agent volume. Lower is quieter, higher is louder. Defaults to 1.
0 <= x <= 21
Controls agent responsiveness. Lower is slower, higher is faster. Defaults to 1.
0 <= x <= 11
Controls sensitivity to user interruptions. Lower is harder to interrupt, higher is easier. Defaults to 1.
0 <= x <= 11
A list of words/phrases and their pronunciation to guide audio synthesis. Currently only supported for English & 11labs voices. Set to null to remove.
Show child attributes
The string of word/phrase to be annotated with pronunciation.
"actually"
The phonetic alphabet to be used for pronunciation.
cmu, ipa Pronunciation of the word in the format of IPA/CMU pronunciation.
"ˈæktʃuəli"
Enables backchannel responses (e.g., 'yeah', 'uh-huh'). Defaults to false.
true
Controls backchannel frequency when enabled. Lower is less frequent, higher is more frequent. Defaults to 0.8.
0 <= x <= 10.9
List of backchannel words. Defaults apply if not set.
["yeah", "uh-huh"]Vocabulary set for transcription (English only). Defaults to general.
general, medical "general"
If set to true, DTMF input will be accepted and processed. If false, any DTMF input will be ignored. Default to true.
true
DTMF options for the agent.
Show child attributes
The maximum number of digits allowed in the user's DTMF input per turn.
The time (in milliseconds) to wait for user DTMF input before timing out.
A single key that signals the end of DTMF input (0–9, #, *).
Denoising mode for audio. Defaults to noise-cancellation.
noise-cancellation, noise-and-background-speech-cancellation "noise-cancellation"
Triggers reminder after user silence duration (ms). Defaults to 10000.
x >= 010000
Maximum number of reminders for unresponsive user. Defaults to 1.
x >= 02
Ambient sound for realistic call experience. Set to null to remove.
coffee-shop, convention-hall, summer-outdoor, mountain-outdoor, static-noise, call-center Controls ambient sound volume. Lower is quieter, higher is louder. Defaults to 1.
0 <= x <= 21
Language and dialect for speech recognition. Defaults to en-US.
en-US, en-IN, en-GB, en-AU, en-NZ, de-DE, es-ES, es-419, hi-IN, fr-FR, fr-CA, ja-JP, pt-PT, pt-BR, zh-CN, ru-RU, it-IT, ko-KR, nl-NL, nl-BE, pl-PL, tr-TR, th-TH, vi-VN, ro-RO, bg-BG, ca-ES, da-DK, fi-FI, el-GR, hu-HU, id-ID, no-NO, sk-SK, sv-SE, multi "en-US"
Keywords to bias transcriber model. Set to null to remove.
["aicall", "kroger"]Normalizes text to spoken form for consistent synthesis.
true
Ends call after user silence duration (ms). Defaults to 600000.
x >= 10000600000
Maximum call duration (ms). Defaults to 3600000.
60000 <= x <= 72000003600000
Voicemail detection settings. Set to null to disable.
Show child attributes
Additional data to extract post-call. Available after call ends.
Configuration for a single post-call analysis field.
Show child attributes
The data type of the analysis field, set to string.
"string"The name of the analysis field.
A description of what the analysis field represents.
Example values for the analysis field.
Ring duration for calls (ms). Defaults to 30000.
5000 <= x <= 9000030000
AI call agent or LLM update response
Show child attributes
The name of the agent, used for reference.
"Jarvis"
Unique voice ID used for the agent.
"11labs-Adrian"
Controls voice stability for ElevenLabs voices. Lower is more stable, higher is more variant. Defaults to 1.
0 <= x <= 21
Controls voice speed. Lower is slower, higher is faster. Defaults to 1.
0.5 <= x <= 21
Controls agent volume. Lower is quieter, higher is louder. Defaults to 1.
0 <= x <= 21
Controls agent responsiveness. Lower is slower, higher is faster. Defaults to 1.
0 <= x <= 11
Controls sensitivity to user interruptions. Lower is harder to interrupt, higher is easier. Defaults to 1.
0 <= x <= 11
A list of words/phrases and their pronunciation to guide audio synthesis. Currently only supported for English & 11labs voices. Set to null to remove.
Show child attributes
The string of word/phrase to be annotated with pronunciation.
"actually"
The phonetic alphabet to be used for pronunciation.
cmu, ipa Pronunciation of the word in the format of IPA/CMU pronunciation.
"ˈæktʃuəli"
Enables backchannel responses (e.g., 'yeah', 'uh-huh'). Defaults to false.
true
Controls backchannel frequency when enabled. Lower is less frequent, higher is more frequent. Defaults to 0.8.
0 <= x <= 10.9
List of backchannel words. Defaults apply if not set.
["yeah", "uh-huh"]Vocabulary set for transcription (English only). Defaults to general.
general, medical "general"
If set to true, DTMF input will be accepted and processed. If false, any DTMF input will be ignored. Default to true.
true
DTMF options for the agent.
Show child attributes
The maximum number of digits allowed in the user's DTMF input per turn.
The time (in milliseconds) to wait for user DTMF input before timing out.
A single key that signals the end of DTMF input (0–9, #, *).
Denoising mode for audio. Defaults to noise-cancellation.
noise-cancellation, noise-and-background-speech-cancellation "noise-cancellation"
Triggers reminder after user silence duration (ms). Defaults to 10000.
x >= 010000
Maximum number of reminders for unresponsive user. Defaults to 1.
x >= 02
Ambient sound for realistic call experience. Set to null to remove.
coffee-shop, convention-hall, summer-outdoor, mountain-outdoor, static-noise, call-center Controls ambient sound volume. Lower is quieter, higher is louder. Defaults to 1.
0 <= x <= 21
Language and dialect for speech recognition. Defaults to en-US.
en-US, en-IN, en-GB, en-AU, en-NZ, de-DE, es-ES, es-419, hi-IN, fr-FR, fr-CA, ja-JP, pt-PT, pt-BR, zh-CN, ru-RU, it-IT, ko-KR, nl-NL, nl-BE, pl-PL, tr-TR, th-TH, vi-VN, ro-RO, bg-BG, ca-ES, da-DK, fi-FI, el-GR, hu-HU, id-ID, no-NO, sk-SK, sv-SE, multi "en-US"
Keywords to bias transcriber model. Set to null to remove.
["aicall", "kroger"]Normalizes text to spoken form for consistent synthesis.
true
Ends call after user silence duration (ms). Defaults to 600000.
x >= 10000600000
Maximum call duration (ms). Defaults to 3600000.
60000 <= x <= 72000003600000
Voicemail detection settings. Set to null to disable.
Show child attributes
Additional data to extract post-call. Available after call ends.
Configuration for a single post-call analysis field.
Show child attributes
The data type of the analysis field, set to string.
"string"The name of the analysis field.
A description of what the analysis field represents.
Example values for the analysis field.
Ring duration for calls (ms). Defaults to 30000.
5000 <= x <= 9000030000