Documentation Index Fetch the complete documentation index at: https://docs.gloriagent.ai/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint allows you to update an existing AI assistant’s configuration. All fields are optional - only provide the fields you want to update.
Path Parameters
The unique identifier of the assistant to update
Request Body
Core Fields
The name of the assistant (max 255 characters)
The voice ID to use for the assistant. Use the Get Voices endpoint with the mode parameter to get compatible voices for your engine mode.
The language ID for the assistant. Use the Get Languages endpoint to get available languages.
The assistant type. Options: inbound, outbound
The engine mode. Options: pipeline, multimodal, dualplex Changing the mode will reset mode-specific settings to defaults for the new mode.
The timezone for the assistant (e.g., “Europe/Bucharest”, “America/New_York”)
The initial message the assistant will speak when the call starts (max 200 characters)
The system prompt that defines the assistant’s behavior and personality
Mode-Specific Fields
The LLM model ID to use. Only applies to pipeline mode. Use the Get Models endpoint to get available models.
The multimodal model ID. Only applies to multimodal and dualplex modes. Use the Get Models endpoint to get available multimodal models.
Fallback LLM model ID for tool calls in multimodal/dualplex modes. Set to null to remove.
Turn detection sensitivity for multimodal/dualplex modes (0-1). Set to null for auto.
Secondary Languages
Array of additional language IDs the assistant can speak. Replaces existing secondary languages. Pass an empty array [] to remove all secondary languages. "secondary_language_ids" : [ 2 , 3 , 4 ]
Knowledgebase Settings
The knowledgebase ID to attach. Set to null to remove knowledgebase.
How to use the knowledgebase. Options:
function_call - AI calls a function to search (required for multimodal/dualplex)
prompt - Knowledge is injected into prompt (pipeline only)
Phone Number
The ID of a phone number to assign. Set to null to unassign. Must belong to your account. For inbound assistants, the phone number cannot be a Caller ID type and cannot be already assigned to another inbound assistant.
Array of custom mid-call tool IDs to sync. Replaces all existing tool assignments. Pass an empty array [] to remove all tools. Each tool must belong to your account.
Array of built-in tools. Replaces all existing built-in tools. Pass an empty array [] to remove all tools. call_transfer - Transfer the call to another phone number
phone_number (required): Phone number to transfer to
description: When to transfer the call
custom: If true, AI can determine transfer number dynamically
timezone: Timezone for transfer availability
end_call - End the call programmatically
description: When the AI should end the call
dtmf_input - Send DTMF tones (keypad input)
description: When to use DTMF input (for IVR navigation)
calendar_integration - Schedule appointments via Cal.com
calcom_api_key (required): Your Cal.com API key
calcom_event_slug (required): The event type slug
"tools" : [
{ "type" : "dtmf_input" , "description" : "Navigate IVR when needed" },
{ "type" : "end_call" , "description" : "End call when done" }
]
Voice and TTS Settings
Whether to enable emotional text-to-speech synthesis
Voice stability setting (0-1). Higher = more consistent voice
Voice similarity setting (0-1). Higher = closer to original voice
Speech speed multiplier (0.7-1.2)
LLM temperature setting (0-1). Lower = more deterministic
Custom TTS provider ID. Set to null to use language default.
Custom STT provider ID. Pipeline mode only. Set to null to use language default.
Call Behavior Settings
Whether to allow caller interruptions. Cannot be disabled for multimodal and dualplex modes.
Whether to use filler audio during processing. Only available for pipeline mode.
Whether to record the call
enable_noise_cancellation
Whether to enable noise cancellation
If true, the assistant waits for the customer to speak first
Timing Settings
Maximum call duration in seconds (20-1200)
Maximum silence duration before re-engagement in seconds (1-360)
max_initial_silence_duration
Maximum silence at call start before ending (1-120 seconds). Set to null to disable.
Maximum ringing time before giving up (1-60 seconds)
Re-engagement Settings
Re-engagement interval in seconds (7-600)
Custom prompt for re-engagement messages (max 1000 characters). Set to null to use default.
Voicemail Settings
Whether to end call when voicemail is detected
Message to leave on voicemail before hanging up (max 1000 characters). Set to null to disable.
Endpoint Detection
Voice activity detection type. Options: vad, ai
Endpoint sensitivity level (0-5)
Interrupt sensitivity level (0-5)
Minimum words before interruption is allowed (0-10). Set to null to disable.
Ambient Sound
Background ambient sound. Options: off, office, city, forest, crowded_room, cafe, nature
Ambient sound volume level (0-1)
Webhook Configuration
Whether webhook notifications are enabled
The webhook URL for post-call notifications. Set to null to remove.
send_webhook_only_on_completed
Whether to send webhooks only on completed calls (not failed/no-answer)
include_recording_in_webhook
Whether to include recording URL in webhook payload
Post-Call Evaluation
Whether to enable AI post-call evaluation
Schema definition for post-call data extraction. Replaces existing schema. Show post_call_schema properties
Field name (3-16 chars, lowercase, alphanumeric and underscores only)
Data type. Options: string, number, bool
Description of what this field represents (3-255 characters)
Variables
Key-value pairs of custom variables. Replaces all existing variables. "variables" : {
"company_name" : "Acme Corp" ,
"product" : "Premium Widget"
}
Example Requests
Update Basic Settings
{
"name" : "Updated Assistant Name" ,
"initial_message" : "Hello! How may I assist you?" ,
"max_duration" : 900
}
Switch to Multimodal Mode
{
"mode" : "multimodal" ,
"voice_id" : 41 ,
"multimodal_model_id" : 1 ,
"chat_llm_fallback_id" : 2 ,
"knowledgebase_mode" : "function_call"
}
{
"tool_ids" : [ 1 , 5 , 12 ],
"knowledgebase_id" : 3 ,
"knowledgebase_mode" : "prompt"
}
Update Re-engagement and Voicemail
{
"reengagement_interval" : 15 ,
"reengagement_prompt" : "Are you still there? I'm here to help." ,
"end_call_on_voicemail" : true ,
"voice_mail_message" : "Hello, please call us back at your convenience."
}
Remove Optional Settings
{
"phone_number_id" : null ,
"webhook_url" : null ,
"tool_ids" : [],
"secondary_language_ids" : []
}
Response
Success message confirming assistant update
The unique identifier of the updated assistant
The name of the assistant
The current status of the assistant
The type (inbound or outbound)
The engine mode (pipeline, multimodal, or dualplex)
200 Success Response
404 Not Found
422 Validation Error
{
"message" : "Assistant updated successfully" ,
"data" : {
"id" : 789 ,
"name" : "Updated Sales Assistant" ,
"status" : "active" ,
"type" : "outbound" ,
"mode" : "pipeline"
}
}
Notes
Only the fields you provide in the request body will be updated
To remove optional fields, explicitly set them to null
To clear arrays (tools, secondary languages), pass an empty array []
The assistant must belong to the authenticated user
Use the Get Voices endpoint with mode parameter to get compatible voices
For multimodal/dualplex modes, knowledgebase_mode must be function_call
For multimodal/dualplex modes, allow_interruptions cannot be disabled
Changing the mode resets mode-specific settings (LLM model, multimodal model, providers)