{ "message": "Validation failed", "errors": { "speech_speed": ["The speech speed must be between 0.7 and 1.2."], "voice_id": ["The selected voice is not compatible with the chosen engine type."], "allow_interruptions": ["Interruptions cannot be disabled in multimodal or dualplex mode."] }}
{ "message": "Validation failed", "errors": { "speech_speed": ["The speech speed must be between 0.7 and 1.2."], "voice_id": ["The selected voice is not compatible with the chosen engine type."], "allow_interruptions": ["Interruptions cannot be disabled in multimodal or dualplex mode."] }}
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
integer
required
The unique identifier of the assistant to update
Request Body
Core Fields
string
The name of the assistant (max 255 characters)
integer
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.
integer
The language ID for the assistant. Use the Get Languages endpoint to get available languages.
string
The assistant type. Options: inbound, outbound
string
The engine mode. Options: pipeline, multimodal, dualplex
Changing the mode will reset mode-specific settings to defaults for the new mode.
string
The timezone for the assistant (e.g., “Europe/Bucharest”, “America/New_York”)
string
The initial message the assistant will speak when the call starts (max 200 characters)
string
The system prompt that defines the assistant’s behavior and personality
Mode-Specific Fields
integer
The LLM model ID to use. Only applies to pipeline mode.Use the Get Models endpoint to get available models.
integer
The multimodal model ID. Only applies to multimodal and dualplex modes.Use the Get Models endpoint to get available multimodal models.
integer
Fallback LLM model ID for tool calls in multimodal/dualplex modes. Set to null to remove.
number
Turn detection sensitivity for multimodal/dualplex modes (0-1). Set to null for auto.
Secondary Languages
integer[]
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
integer
The knowledgebase ID to attach. Set to null to remove knowledgebase.
string
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
integer
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.
Custom Mid-Call Tools
integer[]
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.
"tool_ids": [1, 5, 12]
Built-in Tools
array
Array of built-in tools. Replaces all existing built-in tools. Pass an empty array [] to remove all tools.
Show Tool types
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
boolean
Whether to enable emotional text-to-speech synthesis
number
Voice stability setting (0-1). Higher = more consistent voice
number
Voice similarity setting (0-1). Higher = closer to original voice
number
Speech speed multiplier (0.7-1.2)
number
LLM temperature setting (0-1). Lower = more deterministic
integer
Custom TTS provider ID. Set to null to use language default.
integer
Custom STT provider ID. Pipeline mode only. Set to null to use language default.
Call Behavior Settings
boolean
Whether to allow caller interruptions.
Cannot be disabled for multimodal and dualplex modes.
boolean
Whether to use filler audio during processing.
Only available for pipeline mode.
boolean
Whether to record the call
boolean
Whether to enable noise cancellation
boolean
If true, the assistant waits for the customer to speak first
Timing Settings
integer
Maximum call duration in seconds (20-1200)
integer
Maximum silence duration before re-engagement in seconds (1-360)
integer
Maximum silence at call start before ending (1-120 seconds). Set to null to disable.
integer
Maximum ringing time before giving up (1-60 seconds)
Re-engagement Settings
integer
Re-engagement interval in seconds (7-600)
string
Custom prompt for re-engagement messages (max 1000 characters). Set to null to use default.
Voicemail Settings
boolean
Whether to end call when voicemail is detected
string
Message to leave on voicemail before hanging up (max 1000 characters). Set to null to disable.
Endpoint Detection
string
Voice activity detection type. Options: vad, ai
number
Endpoint sensitivity level (0-5)
number
Interrupt sensitivity level (0-5)
integer
Minimum words before interruption is allowed (0-10). Set to null to disable.
{ "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."}
{ "message": "Validation failed", "errors": { "speech_speed": ["The speech speed must be between 0.7 and 1.2."], "voice_id": ["The selected voice is not compatible with the chosen engine type."], "allow_interruptions": ["Interruptions cannot be disabled in multimodal or dualplex mode."] }}
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
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"BotRep.ai","colors":{"primary":"#6600ea","light":"#8223fc","dark":"#65fe50"},"favicon":"https://mintcdn.com/botrep/7tBG2BOsmdK1X1wY/resources/logo/favicon.png?fit=max\u0026auto=format\u0026n=7tBG2BOsmdK1X1wY\u0026q=85\u0026s=7ed9a56ab817e0108b29e6021763f6a0","logo":{"light":"https://mintcdn.com/botrep/N2qVVDEuHwjj5Uo9/resources/logo/light.png?fit=max\u0026auto=format\u0026n=N2qVVDEuHwjj5Uo9\u0026q=85\u0026s=2dc0c4290e8eb8f5107af9aa24e9c722","dark":"https://mintcdn.com/botrep/N2qVVDEuHwjj5Uo9/resources/logo/dark.png?fit=max\u0026auto=format\u0026n=N2qVVDEuHwjj5Uo9\u0026q=85\u0026s=bc82fe048e66557802af70ad3cdc4e2b"},"api":{"mdx":{"server":"https://app.botrep.ai/api/","auth":{"method":"bearer","name":null}}},"navbar":{"links":[{"label":"Home","href":"https://botrep.ai"},{"label":"Support","href":"https://botrep.ai/contact-us"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.botrep.ai"}},"footer":{"socials":{}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"botrep","hasAudioNarration":false,"actualSubdomain":"botrep","customDomains":["docs.botrep.ai"],"gitSource":{"type":"github","owner":"botrepai-support","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae9477dccbc2a0916014ed9:success","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"Platform Guide","count":79},{"language":"default","tag":"API Reference","count":57},{"language":"default","tag":"AI Assistants Overview","count":19},{"language":"default","tag":"Assistants","count":12},{"language":"default","tag":"Troubleshooting \u0026 FAQs","count":11},{"language":"default","tag":"Knowledgebases","count":10},{"language":"default","tag":"No-Code Automation","count":10},{"language":"default","tag":"Phone Numbers","count":9},{"language":"default","tag":"Leads","count":7},{"language":"default","tag":"No-Code Automation platform","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/assistants/update-assistant","slug":"/api-reference/assistants/update-assistant","pageMetadata":{"title":"Update assistant","api":"PUT /user/assistant/{id}","description":"Update an existing AI assistant's configuration","href":"/api-reference/assistants/update-assistant"},"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 an existing AI assistant’s configuration\"\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={a:`a`,code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseField,Warning}=_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);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This endpoint allows you to update an existing AI assistant’s configuration. All fields are optional - only provide the fields you want to update.`}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`id`,type:`integer`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`The unique identifier of the assistant to update`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(Heading,{level:`4`,id:`core-fields`,children:`Core Fields`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The name of the assistant (max 255 characters)`})}),`\n`,_jsx(ParamField,{body:`voice_id`,type:`integer`,id:`param-voice-id`,children:_jsxs(_components.p,{children:[`The voice ID to use for the assistant. Use the `,_jsx(_components.a,{href:`/api-reference/assistants/get-voices`,children:`Get Voices`}),` endpoint with the `,_jsx(_components.code,{children:`mode`}),` parameter to get compatible voices for your engine mode.`]})}),`\n`,_jsx(ParamField,{body:`language_id`,type:`integer`,id:`param-language-id`,children:_jsxs(_components.p,{children:[`The language ID for the assistant. Use the `,_jsx(_components.a,{href:`/api-reference/assistants/get-languages`,children:`Get Languages`}),` endpoint to get available languages.`]})}),`\n`,_jsx(ParamField,{body:`type`,type:`string`,id:`param-type`,children:_jsxs(_components.p,{children:[`The assistant type. Options: `,_jsx(_components.code,{children:`inbound`}),`, `,_jsx(_components.code,{children:`outbound`})]})}),`\n`,_jsxs(ParamField,{body:`mode`,type:`string`,id:`param-mode`,children:[_jsxs(_components.p,{children:[`The engine mode. Options: `,_jsx(_components.code,{children:`pipeline`}),`, `,_jsx(_components.code,{children:`multimodal`}),`, `,_jsx(_components.code,{children:`dualplex`})]}),_jsx(Warning,{children:_jsx(_components.p,{children:`Changing the mode will reset mode-specific settings to defaults for the new mode.`})})]}),`\n`,_jsx(ParamField,{body:`timezone`,type:`string`,id:`param-timezone`,children:_jsx(_components.p,{children:`The timezone for the assistant (e.g., “Europe/Bucharest”, “America/New_York”)`})}),`\n`,_jsx(ParamField,{body:`initial_message`,type:`string`,id:`param-initial-message`,children:_jsx(_components.p,{children:`The initial message the assistant will speak when the call starts (max 200 characters)`})}),`\n`,_jsx(ParamField,{body:`system_prompt`,type:`string`,id:`param-system-prompt`,children:_jsx(_components.p,{children:`The system prompt that defines the assistant’s behavior and personality`})}),`\n`,_jsx(Heading,{level:`4`,id:`mode-specific-fields`,children:`Mode-Specific Fields`}),`\n`,_jsxs(ParamField,{body:`llm_model_id`,type:`integer`,id:`param-llm-model-id`,children:[_jsxs(_components.p,{children:[`The LLM model ID to use. Only applies to `,_jsx(_components.code,{children:`pipeline`}),` mode.`]}),_jsxs(_components.p,{children:[`Use the `,_jsx(_components.a,{href:`/api-reference/assistants/get-models`,children:`Get Models`}),` endpoint to get available models.`]})]}),`\n`,_jsxs(ParamField,{body:`multimodal_model_id`,type:`integer`,id:`param-multimodal-model-id`,children:[_jsxs(_components.p,{children:[`The multimodal model ID. Only applies to `,_jsx(_components.code,{children:`multimodal`}),` and `,_jsx(_components.code,{children:`dualplex`}),` modes.`]}),_jsxs(_components.p,{children:[`Use the `,_jsx(_components.a,{href:`/api-reference/assistants/get-models`,children:`Get Models`}),` endpoint to get available multimodal models.`]})]}),`\n`,_jsx(ParamField,{body:`chat_llm_fallback_id`,type:`integer`,id:`param-chat-llm-fallback-id`,children:_jsxs(_components.p,{children:[`Fallback LLM model ID for tool calls in multimodal/dualplex modes. Set to `,_jsx(_components.code,{children:`null`}),` to remove.`]})}),`\n`,_jsx(ParamField,{body:`turn_detection_threshold`,type:`number`,id:`param-turn-detection-threshold`,children:_jsxs(_components.p,{children:[`Turn detection sensitivity for multimodal/dualplex modes (0-1). Set to `,_jsx(_components.code,{children:`null`}),` for auto.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`secondary-languages`,children:`Secondary Languages`}),`\n`,_jsxs(ParamField,{body:`secondary_language_ids`,type:`integer[]`,id:`param-secondary-language-ids`,children:[_jsxs(_components.p,{children:[`Array of additional language IDs the assistant can speak. Replaces existing secondary languages. Pass an empty array `,_jsx(_components.code,{children:`[]`}),` to remove all secondary languages.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"secondary_language_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`4`,id:`knowledgebase-settings`,children:`Knowledgebase Settings`}),`\n`,_jsx(ParamField,{body:`knowledgebase_id`,type:`integer`,id:`param-knowledgebase-id`,children:_jsxs(_components.p,{children:[`The knowledgebase ID to attach. Set to `,_jsx(_components.code,{children:`null`}),` to remove knowledgebase.`]})}),`\n`,_jsxs(ParamField,{body:`knowledgebase_mode`,type:`string`,id:`param-knowledgebase-mode`,children:[_jsx(_components.p,{children:`How to use the knowledgebase. Options:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`function_call`}),` - AI calls a function to search (required for multimodal/dualplex)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`prompt`}),` - Knowledge is injected into prompt (pipeline only)`]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`4`,id:`phone-number`,children:`Phone Number`}),`\n`,_jsxs(ParamField,{body:`phone_number_id`,type:`integer`,id:`param-phone-number-id`,children:[_jsxs(_components.p,{children:[`The ID of a phone number to assign. Set to `,_jsx(_components.code,{children:`null`}),` to unassign. Must belong to your account.`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`For `,_jsx(_components.code,{children:`inbound`}),` assistants, the phone number cannot be a Caller ID type and cannot be already assigned to another inbound assistant.`]})})]}),`\n`,_jsx(Heading,{level:`4`,id:`custom-mid-call-tools`,children:`Custom Mid-Call Tools`}),`\n`,_jsxs(ParamField,{body:`tool_ids`,type:`integer[]`,id:`param-tool-ids`,children:[_jsxs(_components.p,{children:[`Array of custom mid-call tool IDs to sync. `,_jsx(_components.strong,{children:`Replaces all existing tool assignments.`}),` Pass an empty array `,_jsx(_components.code,{children:`[]`}),` to remove all tools. Each tool must belong to your account.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tool_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`4`,id:`built-in-tools`,children:`Built-in Tools`}),`\n`,_jsxs(ParamField,{body:`tools`,type:`array`,id:`param-tools`,children:[_jsxs(_components.p,{children:[`Array of built-in tools. `,_jsx(_components.strong,{children:`Replaces all existing built-in tools.`}),` Pass an empty array `,_jsx(_components.code,{children:`[]`}),` to remove all tools.`]}),_jsxs(Expandable,{title:`Tool types`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`call_transfer`}),` - Transfer the call to another phone number`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`phone_number`}),` (required): Phone number to transfer to`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`description`}),`: When to transfer the call`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`custom`}),`: If true, AI can determine transfer number dynamically`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`timezone`}),`: Timezone for transfer availability`]}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`end_call`}),` - End the call programmatically`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`description`}),`: When the AI should end the call`]}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`dtmf_input`}),` - Send DTMF tones (keypad input)`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`description`}),`: When to use DTMF input (for IVR navigation)`]}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`calendar_integration`}),` - Schedule appointments via Cal.com`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`calcom_api_key`}),` (required): Your Cal.com API key`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`calcom_event_slug`}),` (required): The event type slug`]}),`\n`]})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tools\"`}),_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:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dtmf_input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Navigate IVR when needed\"`}),_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:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"end_call\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"End call when done\"`}),_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`]})})})]}),`\n`,_jsx(Heading,{level:`4`,id:`voice-and-tts-settings`,children:`Voice and TTS Settings`}),`\n`,_jsx(ParamField,{body:`tts_emotion_enabled`,type:`boolean`,id:`param-tts-emotion-enabled`,children:_jsx(_components.p,{children:`Whether to enable emotional text-to-speech synthesis`})}),`\n`,_jsx(ParamField,{body:`voice_stability`,type:`number`,id:`param-voice-stability`,children:_jsx(_components.p,{children:`Voice stability setting (0-1). Higher = more consistent voice`})}),`\n`,_jsx(ParamField,{body:`voice_similarity`,type:`number`,id:`param-voice-similarity`,children:_jsx(_components.p,{children:`Voice similarity setting (0-1). Higher = closer to original voice`})}),`\n`,_jsx(ParamField,{body:`speech_speed`,type:`number`,id:`param-speech-speed`,children:_jsx(_components.p,{children:`Speech speed multiplier (0.7-1.2)`})}),`\n`,_jsx(ParamField,{body:`llm_temperature`,type:`number`,id:`param-llm-temperature`,children:_jsx(_components.p,{children:`LLM temperature setting (0-1). Lower = more deterministic`})}),`\n`,_jsx(ParamField,{body:`synthesizer_provider_id`,type:`integer`,id:`param-synthesizer-provider-id`,children:_jsxs(_components.p,{children:[`Custom TTS provider ID. Set to `,_jsx(_components.code,{children:`null`}),` to use language default.`]})}),`\n`,_jsx(ParamField,{body:`transcriber_provider_id`,type:`integer`,id:`param-transcriber-provider-id`,children:_jsxs(_components.p,{children:[`Custom STT provider ID. Pipeline mode only. Set to `,_jsx(_components.code,{children:`null`}),` to use language default.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`call-behavior-settings`,children:`Call Behavior Settings`}),`\n`,_jsxs(ParamField,{body:`allow_interruptions`,type:`boolean`,id:`param-allow-interruptions`,children:[_jsx(_components.p,{children:`Whether to allow caller interruptions.`}),_jsxs(Warning,{children:[`Cannot be disabled for `,_jsx(_components.code,{children:`multimodal`}),` and `,_jsx(_components.code,{children:`dualplex`}),` modes.`]})]}),`\n`,_jsxs(ParamField,{body:`fillers`,type:`boolean`,id:`param-fillers`,children:[_jsx(_components.p,{children:`Whether to use filler audio during processing.`}),_jsxs(Warning,{children:[`Only available for `,_jsx(_components.code,{children:`pipeline`}),` mode.`]})]}),`\n`,_jsx(ParamField,{body:`record`,type:`boolean`,id:`param-record`,children:_jsx(_components.p,{children:`Whether to record the call`})}),`\n`,_jsx(ParamField,{body:`enable_noise_cancellation`,type:`boolean`,id:`param-enable-noise-cancellation`,children:_jsx(_components.p,{children:`Whether to enable noise cancellation`})}),`\n`,_jsx(ParamField,{body:`wait_for_customer`,type:`boolean`,id:`param-wait-for-customer`,children:_jsx(_components.p,{children:`If true, the assistant waits for the customer to speak first`})}),`\n`,_jsx(Heading,{level:`4`,id:`timing-settings`,children:`Timing Settings`}),`\n`,_jsx(ParamField,{body:`max_duration`,type:`integer`,id:`param-max-duration`,children:_jsx(_components.p,{children:`Maximum call duration in seconds (20-1200)`})}),`\n`,_jsx(ParamField,{body:`max_silence_duration`,type:`integer`,id:`param-max-silence-duration`,children:_jsx(_components.p,{children:`Maximum silence duration before re-engagement in seconds (1-360)`})}),`\n`,_jsx(ParamField,{body:`max_initial_silence_duration`,type:`integer`,id:`param-max-initial-silence-duration`,children:_jsxs(_components.p,{children:[`Maximum silence at call start before ending (1-120 seconds). Set to `,_jsx(_components.code,{children:`null`}),` to disable.`]})}),`\n`,_jsx(ParamField,{body:`ringing_time`,type:`integer`,id:`param-ringing-time`,children:_jsx(_components.p,{children:`Maximum ringing time before giving up (1-60 seconds)`})}),`\n`,_jsx(Heading,{level:`4`,id:`re-engagement-settings`,children:`Re-engagement Settings`}),`\n`,_jsx(ParamField,{body:`reengagement_interval`,type:`integer`,id:`param-reengagement-interval`,children:_jsx(_components.p,{children:`Re-engagement interval in seconds (7-600)`})}),`\n`,_jsx(ParamField,{body:`reengagement_prompt`,type:`string`,id:`param-reengagement-prompt`,children:_jsxs(_components.p,{children:[`Custom prompt for re-engagement messages (max 1000 characters). Set to `,_jsx(_components.code,{children:`null`}),` to use default.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`voicemail-settings`,children:`Voicemail Settings`}),`\n`,_jsx(ParamField,{body:`end_call_on_voicemail`,type:`boolean`,id:`param-end-call-on-voicemail`,children:_jsx(_components.p,{children:`Whether to end call when voicemail is detected`})}),`\n`,_jsx(ParamField,{body:`voice_mail_message`,type:`string`,id:`param-voice-mail-message`,children:_jsxs(_components.p,{children:[`Message to leave on voicemail before hanging up (max 1000 characters). Set to `,_jsx(_components.code,{children:`null`}),` to disable.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`endpoint-detection`,children:`Endpoint Detection`}),`\n`,_jsx(ParamField,{body:`endpoint_type`,type:`string`,id:`param-endpoint-type`,children:_jsxs(_components.p,{children:[`Voice activity detection type. Options: `,_jsx(_components.code,{children:`vad`}),`, `,_jsx(_components.code,{children:`ai`})]})}),`\n`,_jsx(ParamField,{body:`endpoint_sensitivity`,type:`number`,id:`param-endpoint-sensitivity`,children:_jsx(_components.p,{children:`Endpoint sensitivity level (0-5)`})}),`\n`,_jsx(ParamField,{body:`interrupt_sensitivity`,type:`number`,id:`param-interrupt-sensitivity`,children:_jsx(_components.p,{children:`Interrupt sensitivity level (0-5)`})}),`\n`,_jsx(ParamField,{body:`min_interrupt_words`,type:`integer`,id:`param-min-interrupt-words`,children:_jsxs(_components.p,{children:[`Minimum words before interruption is allowed (0-10). Set to `,_jsx(_components.code,{children:`null`}),` to disable.`]})}),`\n`,_jsx(Heading,{level:`4`,id:`ambient-sound`,children:`Ambient Sound`}),`\n`,_jsx(ParamField,{body:`ambient_sound`,type:`string`,id:`param-ambient-sound`,children:_jsxs(_components.p,{children:[`Background ambient sound. Options: `,_jsx(_components.code,{children:`off`}),`, `,_jsx(_components.code,{children:`office`}),`, `,_jsx(_components.code,{children:`city`}),`, `,_jsx(_components.code,{children:`forest`}),`, `,_jsx(_components.code,{children:`crowded_room`}),`, `,_jsx(_components.code,{children:`cafe`}),`, `,_jsx(_components.code,{children:`nature`})]})}),`\n`,_jsx(ParamField,{body:`ambient_sound_volume`,type:`number`,id:`param-ambient-sound-volume`,children:_jsx(_components.p,{children:`Ambient sound volume level (0-1)`})}),`\n`,_jsx(Heading,{level:`4`,id:`webhook-configuration`,children:`Webhook Configuration`}),`\n`,_jsx(ParamField,{body:`is_webhook_active`,type:`boolean`,id:`param-is-webhook-active`,children:_jsx(_components.p,{children:`Whether webhook notifications are enabled`})}),`\n`,_jsx(ParamField,{body:`webhook_url`,type:`string`,id:`param-webhook-url`,children:_jsxs(_components.p,{children:[`The webhook URL for post-call notifications. Set to `,_jsx(_components.code,{children:`null`}),` to remove.`]})}),`\n`,_jsx(ParamField,{body:`send_webhook_only_on_completed`,type:`boolean`,id:`param-send-webhook-only-on-completed`,children:_jsx(_components.p,{children:`Whether to send webhooks only on completed calls (not failed/no-answer)`})}),`\n`,_jsx(ParamField,{body:`include_recording_in_webhook`,type:`boolean`,id:`param-include-recording-in-webhook`,children:_jsx(_components.p,{children:`Whether to include recording URL in webhook payload`})}),`\n`,_jsx(Heading,{level:`4`,id:`post-call-evaluation`,children:`Post-Call Evaluation`}),`\n`,_jsx(ParamField,{body:`post_call_evaluation`,type:`boolean`,id:`param-post-call-evaluation`,children:_jsx(_components.p,{children:`Whether to enable AI post-call evaluation`})}),`\n`,_jsxs(ParamField,{body:`post_call_schema`,type:`array`,id:`param-post-call-schema`,children:[_jsx(_components.p,{children:`Schema definition for post-call data extraction. Replaces existing schema.`}),_jsxs(Expandable,{title:`post_call_schema properties`,children:[_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`Field name (3-16 chars, lowercase, alphanumeric and underscores only)`})}),_jsx(ParamField,{body:`type`,type:`string`,required:true,id:`param-type-1`,children:_jsxs(_components.p,{children:[`Data type. Options: `,_jsx(_components.code,{children:`string`}),`, `,_jsx(_components.code,{children:`number`}),`, `,_jsx(_components.code,{children:`bool`})]})}),_jsx(ParamField,{body:`description`,type:`string`,required:true,id:`param-description`,children:_jsx(_components.p,{children:`Description of what this field represents (3-255 characters)`})})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`variables`,children:`Variables`}),`\n`,_jsxs(ParamField,{body:`variables`,type:`object`,id:`param-variables`,children:[_jsxs(_components.p,{children:[`Key-value pairs of custom variables. `,_jsx(_components.strong,{children:`Replaces all existing variables.`})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"variables\"`}),_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:` \"company_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme Corp\"`}),_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:` \"product\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Premium Widget\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`example-requests`,children:`Example Requests`}),`\n`,_jsx(Heading,{level:`3`,id:`update-basic-settings`,children:`Update Basic Settings`}),`\n`,_jsx(CodeBlock,{filename:``,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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Updated Assistant Name\"`}),_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:` \"initial_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello! How may I assist you?\"`}),_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:` \"max_duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`900`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`switch-to-multimodal-mode`,children:`Switch to Multimodal Mode`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,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:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"multimodal\"`}),_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:` \"voice_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`41`}),_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:` \"multimodal_model_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_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:` \"chat_llm_fallback_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_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:` \"knowledgebase_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"function_call\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`update-tools-and-knowledgebase`,children:`Update Tools and Knowledgebase`}),`\n`,_jsx(CodeBlock,{filename:``,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:` \"tool_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12`}),_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:` \"knowledgebase_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_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:` \"knowledgebase_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"prompt\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`update-re-engagement-and-voicemail`,children:`Update Re-engagement and Voicemail`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,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:`6`,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:` \"reengagement_interval\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`15`}),_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:` \"reengagement_prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Are you still there? I'm here to help.\"`}),_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:` \"end_call_on_voicemail\"`}),_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:` \"voice_mail_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello, please call us back at your convenience.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`remove-optional-settings`,children:`Remove Optional Settings`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,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:`6`,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:` \"phone_number_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"webhook_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"tool_ids\"`}),_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:` \"secondary_language_ids\"`}),_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`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`Success message confirming assistant update`})}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`integer`,id:`param-id-1`,children:_jsx(_components.p,{children:`The unique identifier of the updated assistant`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-2`,children:_jsx(_components.p,{children:`The name of the assistant`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsx(_components.p,{children:`The current status of the assistant`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type-2`,children:_jsxs(_components.p,{children:[`The type (`,_jsx(_components.code,{children:`inbound`}),` or `,_jsx(_components.code,{children:`outbound`}),`)`]})}),_jsx(ResponseField,{name:`mode`,type:`string`,id:`param-mode-1`,children:_jsxs(_components.p,{children:[`The engine mode (`,_jsx(_components.code,{children:`pipeline`}),`, `,_jsx(_components.code,{children:`multimodal`}),`, or `,_jsx(_components.code,{children:`dualplex`}),`)`]})})]})}),`\n`,`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Only the fields you provide in the request body will be updated`}),`\n`,_jsxs(_components.li,{children:[`To remove optional fields, explicitly set them to `,_jsx(_components.code,{children:`null`})]}),`\n`,_jsxs(_components.li,{children:[`To clear arrays (tools, secondary languages), pass an empty array `,_jsx(_components.code,{children:`[]`})]}),`\n`,_jsx(_components.li,{children:`The assistant must belong to the authenticated user`}),`\n`,_jsxs(_components.li,{children:[`Use the Get Voices endpoint with `,_jsx(_components.code,{children:`mode`}),` parameter to get compatible voices`]}),`\n`,_jsxs(_components.li,{children:[`For multimodal/dualplex modes, `,_jsx(_components.code,{children:`knowledgebase_mode`}),` must be `,_jsx(_components.code,{children:`function_call`})]}),`\n`,_jsxs(_components.li,{children:[`For multimodal/dualplex modes, `,_jsx(_components.code,{children:`allow_interruptions`}),` cannot be disabled`]}),`\n`,_jsx(_components.li,{children:`Changing the mode resets mode-specific settings (LLM model, multimodal model, providers)`}),`\n`]})]})}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 assistant","api":"PUT /user/assistant/{id}","description":"Update an existing AI assistant's configuration","href":"/api-reference/assistants/update-assistant"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[361,365,"Example,ResponseFiel"],[612,627,"Example)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingM"],[37627,39277,"_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200 Success Response`,numberOfLines:`10`,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:`10`,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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Assistant 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:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,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:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`789`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Updated Sales Assistant\"`}),_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:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"outbound\"`}),_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:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pipeline\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_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`]})})}),_jsx(CodeBlock,{filename:`404 Not Found`,numberOfLines:`3`,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:`3`,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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Assistant not found\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`422 Validation Error`,numberOfLines:`8`,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:`8`,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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Validation failed\"`}),_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:` \"errors\"`}),_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:` \"speech_speed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The speech speed must be between 0.7 and 1.2.\"`}),_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:` \"voice_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The selected voice is not compatible with the chosen engine type.\"`}),_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:` \"allow_interruptions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Interruptions cannot be disabled in multimodal or dualplex mode.\"`}),_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Only the fields you provide in the request body will be updated`}),`\n`,_jsxs(_components.li,{children:[`To remove optional fields, explicitly set them to `,_jsx(_components.code,{children:`null`})]}),`\n`,_jsxs(_components.li,{children:[`To clear arrays (tools, secondary languages), pass an empty array `,_jsx(_components.code,{children:`[]`})]}),`\n`,_jsx(_components.li,{children:`The assistant must belong to the authenticated user`}),`\n`,_jsxs(_components.li,{children:[`Use the Get Voices endpoint with `,_jsx(_components.code,{children:`mode`}),` parameter to get compatible voices`]}),`\n`,_jsxs(_components.li,{children:[`For multimodal/dualplex modes, `,_jsx(_components.code,{children:`knowledgebase_mode`}),` must be `,_jsx(_components.code,{children:`function_call`})]}),`\n`,_jsxs(_components.li,{children:[`For multimodal/dualplex modes, `,_jsx(_components.code,{children:`allow_interruptions`}),` cannot be disabled`]}),`\n`,_jsx(_components.li,{children:`Changing the mode resets mode-specific settings (LLM model, multimodal model, providers)`}),`\n`]})]})}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.\")}"]]},"mdxExtracts":{"tableOfContents":[{"title":"Path Parameters","slug":"path-parameters","depth":3,"children":[]},{"title":"Request Body","slug":"request-body","depth":3,"children":[]},{"title":"Core Fields","slug":"core-fields","depth":4,"children":[]},{"title":"Mode-Specific Fields","slug":"mode-specific-fields","depth":4,"children":[]},{"title":"Secondary Languages","slug":"secondary-languages","depth":4,"children":[]},{"title":"Knowledgebase Settings","slug":"knowledgebase-settings","depth":4,"children":[]},{"title":"Phone Number","slug":"phone-number","depth":4,"children":[]},{"title":"Custom Mid-Call Tools","slug":"custom-mid-call-tools","depth":4,"children":[]},{"title":"Built-in Tools","slug":"built-in-tools","depth":4,"children":[]},{"title":"Voice and TTS Settings","slug":"voice-and-tts-settings","depth":4,"children":[]},{"title":"Call Behavior Settings","slug":"call-behavior-settings","depth":4,"children":[]},{"title":"Timing Settings","slug":"timing-settings","depth":4,"children":[]},{"title":"Re-engagement Settings","slug":"re-engagement-settings","depth":4,"children":[]},{"title":"Voicemail Settings","slug":"voicemail-settings","depth":4,"children":[]},{"title":"Endpoint Detection","slug":"endpoint-detection","depth":4,"children":[]},{"title":"Ambient Sound","slug":"ambient-sound","depth":4,"children":[]},{"title":"Webhook Configuration","slug":"webhook-configuration","depth":4,"children":[]},{"title":"Post-Call Evaluation","slug":"post-call-evaluation","depth":4,"children":[]},{"title":"Variables","slug":"variables","depth":4,"children":[]},{"title":"Example Requests","slug":"example-requests","depth":2,"children":[{"title":"Update Basic Settings","slug":"update-basic-settings","depth":3,"children":[]},{"title":"Switch to Multimodal Mode","slug":"switch-to-multimodal-mode","depth":3,"children":[]},{"title":"Update Tools and Knowledgebase","slug":"update-tools-and-knowledgebase","depth":3,"children":[]},{"title":"Update Re-engagement and Voicemail","slug":"update-re-engagement-and-voicemail","depth":3,"children":[]},{"title":"Remove Optional Settings","slug":"remove-optional-settings","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"200 Success Response","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=\"10\">\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\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Assistant 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>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">789\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Updated Sales Assistant\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"active\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"outbound\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pipeline\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\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>"},{"filename":"404 Not Found","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=\"3\">\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\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Assistant not found\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"422 Validation Error","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=\"8\">\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\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Validation failed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"errors\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"speech_speed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The speech speed must be between 0.7 and 1.2.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"voice_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The selected voice is not compatible with the chosen engine type.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"allow_interruptions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Interruptions cannot be disabled in multimodal or dualplex mode.\"\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\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Update assistant","path":"/user/assistant/{id}","servers":[{"url":"https://app.botrep.ai/api/"}],"method":"put","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{"id":{"schema":[{"type":"integer","description":"The unique identifier of the assistant to update","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"name":[{"type":"string","description":"The name of the assistant (max 255 characters)"}],"voice_id":[{"type":"integer","description":"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."}],"language_id":[{"type":"integer","description":"The language ID for the assistant. Use the Get Languages endpoint to get available languages."}],"type":[{"type":"string","description":"The assistant type. Options: `inbound` , `outbound`"}],"mode":[{"type":"string","description":"The engine mode. Options: `pipeline` , `multimodal` , `dualplex`"}],"timezone":[{"type":"string","description":"The timezone for the assistant (e.g., “Europe/Bucharest”, “America/New_York”)"}],"initial_message":[{"type":"string","description":"The initial message the assistant will speak when the call starts (max 200 characters)"}],"system_prompt":[{"type":"string","description":"The system prompt that defines the assistant’s behavior and personality"}],"llm_model_id":[{"type":"integer","description":"The LLM model ID to use. Only applies to `pipeline` mode. Use the Get Models endpoint to get available models."}],"multimodal_model_id":[{"type":"integer","description":"The multimodal model ID. Only applies to `multimodal` and `dualplex` modes. Use the Get Models endpoint to get available multimodal models."}],"chat_llm_fallback_id":[{"type":"integer","description":"Fallback LLM model ID for tool calls in multimodal/dualplex modes. Set to `null` to remove."}],"turn_detection_threshold":[{"type":"number","description":"Turn detection sensitivity for multimodal/dualplex modes (0-1). Set to `null` for auto."}],"secondary_language_ids":[{"type":"array","items":[{"type":"integer"}],"description":"Array of additional language IDs the assistant can speak. Replaces existing secondary languages. Pass an empty array `[]` to remove all secondary languages."}],"knowledgebase_id":[{"type":"integer","description":"The knowledgebase ID to attach. Set to `null` to remove knowledgebase."}],"knowledgebase_mode":[{"type":"string","description":"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_id":[{"type":"integer","description":"The ID of a phone number to assign. Set to `null` to unassign. Must belong to your account."}],"tool_ids":[{"type":"array","items":[{"type":"integer"}],"description":"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."}],"tools":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of built-in tools. Replaces all existing built-in tools. Pass an empty array `[]` to remove all tools."}],"tts_emotion_enabled":[{"type":"boolean","description":"Whether to enable emotional text-to-speech synthesis"}],"voice_stability":[{"type":"number","description":"Voice stability setting (0-1). Higher = more consistent voice"}],"voice_similarity":[{"type":"number","description":"Voice similarity setting (0-1). Higher = closer to original voice"}],"speech_speed":[{"type":"number","description":"Speech speed multiplier (0.7-1.2)"}],"llm_temperature":[{"type":"number","description":"LLM temperature setting (0-1). Lower = more deterministic"}],"synthesizer_provider_id":[{"type":"integer","description":"Custom TTS provider ID. Set to `null` to use language default."}],"transcriber_provider_id":[{"type":"integer","description":"Custom STT provider ID. Pipeline mode only. Set to `null` to use language default."}],"allow_interruptions":[{"type":"boolean","description":"Whether to allow caller interruptions."}],"fillers":[{"type":"boolean","description":"Whether to use filler audio during processing."}],"record":[{"type":"boolean","description":"Whether to record the call"}],"enable_noise_cancellation":[{"type":"boolean","description":"Whether to enable noise cancellation"}],"wait_for_customer":[{"type":"boolean","description":"If true, the assistant waits for the customer to speak first"}],"max_duration":[{"type":"integer","description":"Maximum call duration in seconds (20-1200)"}],"max_silence_duration":[{"type":"integer","description":"Maximum silence duration before re-engagement in seconds (1-360)"}],"max_initial_silence_duration":[{"type":"integer","description":"Maximum silence at call start before ending (1-120 seconds). Set to `null` to disable."}],"ringing_time":[{"type":"integer","description":"Maximum ringing time before giving up (1-60 seconds)"}],"reengagement_interval":[{"type":"integer","description":"Re-engagement interval in seconds (7-600)"}],"reengagement_prompt":[{"type":"string","description":"Custom prompt for re-engagement messages (max 1000 characters). Set to `null` to use default."}],"end_call_on_voicemail":[{"type":"boolean","description":"Whether to end call when voicemail is detected"}],"voice_mail_message":[{"type":"string","description":"Message to leave on voicemail before hanging up (max 1000 characters). Set to `null` to disable."}],"endpoint_type":[{"type":"string","description":"Voice activity detection type. Options: `vad` , `ai`"}],"endpoint_sensitivity":[{"type":"number","description":"Endpoint sensitivity level (0-5)"}],"interrupt_sensitivity":[{"type":"number","description":"Interrupt sensitivity level (0-5)"}],"min_interrupt_words":[{"type":"integer","description":"Minimum words before interruption is allowed (0-10). Set to `null` to disable."}],"ambient_sound":[{"type":"string","description":"Background ambient sound. Options: `off` , `office` , `city` , `forest` , `crowded_room` , `cafe` , `nature`"}],"ambient_sound_volume":[{"type":"number","description":"Ambient sound volume level (0-1)"}],"is_webhook_active":[{"type":"boolean","description":"Whether webhook notifications are enabled"}],"webhook_url":[{"type":"string","description":"The webhook URL for post-call notifications. Set to `null` to remove."}],"send_webhook_only_on_completed":[{"type":"boolean","description":"Whether to send webhooks only on completed calls (not failed/no-answer)"}],"include_recording_in_webhook":[{"type":"boolean","description":"Whether to include recording URL in webhook payload"}],"post_call_evaluation":[{"type":"boolean","description":"Whether to enable AI post-call evaluation"}],"post_call_schema":[{"type":"array","items":[{"type":"object","properties":{"name":[{"type":"string","description":"Field name (3-16 chars, lowercase, alphanumeric and underscores only)","required":true}],"type":[{"type":"string","description":"Data type. Options: `string` , `number` , `bool`","required":true}],"description":[{"type":"string","description":"Description of what this field represents (3-255 characters)","required":true}]}}],"description":"Schema definition for post-call data extraction. Replaces existing schema."}],"variables":[{"type":"object","properties":{},"description":"Key-value pairs of custom variables. Replaces all existing variables."}]}}],"examples":{"example":{"value":{"name":"\u003cstring>","voice_id":123,"language_id":123,"type":"\u003cstring>","mode":"\u003cstring>","timezone":"\u003cstring>","initial_message":"\u003cstring>","system_prompt":"\u003cstring>","llm_model_id":123,"multimodal_model_id":123,"chat_llm_fallback_id":123,"turn_detection_threshold":123,"secondary_language_ids":[123],"knowledgebase_id":123,"knowledgebase_mode":"\u003cstring>","phone_number_id":123,"tool_ids":[123],"tools":[{}],"tts_emotion_enabled":true,"voice_stability":123,"voice_similarity":123,"speech_speed":123,"llm_temperature":123,"synthesizer_provider_id":123,"transcriber_provider_id":123,"allow_interruptions":true,"fillers":true,"record":true,"enable_noise_cancellation":true,"wait_for_customer":true,"max_duration":123,"max_silence_duration":123,"max_initial_silence_duration":123,"ringing_time":123,"reengagement_interval":123,"reengagement_prompt":"\u003cstring>","end_call_on_voicemail":true,"voice_mail_message":"\u003cstring>","endpoint_type":"\u003cstring>","endpoint_sensitivity":123,"interrupt_sensitivity":123,"min_interrupt_words":123,"ambient_sound":"\u003cstring>","ambient_sound_volume":123,"is_webhook_active":true,"webhook_url":"\u003cstring>","send_webhook_only_on_completed":true,"include_recording_in_webhook":true,"post_call_evaluation":true,"post_call_schema":[{"name":"\u003cstring>","type":"\u003cstring>","description":"\u003cstring>"}],"variables":{}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"message":[{"type":"string","description":"Success message confirming assistant update"}],"data":[{"type":"object","properties":{"id":[{"type":"integer","description":"The unique identifier of the updated assistant"}],"name":[{"type":"string","description":"The name of the assistant"}],"status":[{"type":"string","description":"The current status of the assistant"}],"type":[{"type":"string","description":"The type ( `inbound` or `outbound` )"}],"mode":[{"type":"string","description":"The engine mode ( `pipeline` , `multimodal` , or `dualplex` )"}]}}]}}],"examples":{"example":{"value":{"message":"\u003cstring>","data":{"id":123,"name":"\u003cstring>","status":"\u003cstring>","type":"\u003cstring>","mode":"\u003cstring>"}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"botrep","siteName":"BotRep.ai","title":"Update assistant - BotRep.ai","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-12T14:32:31.993Z","originalFileLocation":"api-reference/assistants/update-assistant.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 an existing AI assistant\u0026#x27;s configuration\">\u003cmeta data-mint-head name=\"application-name\" content=\"BotRep.ai\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/botrep/6ZXnQkHrbzR9I9Ht/_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/botrep/6ZXnQkHrbzR9I9Ht/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/botrep/6ZXnQkHrbzR9I9Ht/_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/botrep/6ZXnQkHrbzR9I9Ht/_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/botrep/6ZXnQkHrbzR9I9Ht/_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/botrep/6ZXnQkHrbzR9I9Ht/_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/botrep/6ZXnQkHrbzR9I9Ht/_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/botrep/6ZXnQkHrbzR9I9Ht/_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/botrep/6ZXnQkHrbzR9I9Ht/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update assistant - BotRep.ai\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an existing AI assistant\u0026#x27;s configuration\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"BotRep.ai\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.botrep.ai/api-reference/assistants/update-assistant\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://botrep.mintlify.site/_mintlify/api/og/v2?division=Assistants\u0026amp;title=Update+assistant\u0026amp;description=Update+an+existing+AI+assistant%27s+configuration\u0026amp;theme=d7519214cb00f73f10448d49\u0026amp;signature=f6b7a5a4cfb4b7f36cadabc4a7014a2ffd7ff1e27d525d0e5464f47a17a2b8ef\">\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 assistant - BotRep.ai\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an existing AI assistant\u0026#x27;s configuration\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://botrep.mintlify.site/_mintlify/api/og/v2?division=Assistants\u0026amp;title=Update+assistant\u0026amp;description=Update+an+existing+AI+assistant%27s+configuration\u0026amp;theme=d7519214cb00f73f10448d49\u0026amp;signature=f6b7a5a4cfb4b7f36cadabc4a7014a2ffd7ff1e27d525d0e5464f47a17a2b8ef\">\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/botrep/6ZXnQkHrbzR9I9Ht/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"BotRep.ai\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6600ea\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.botrep.ai/api-reference/assistants/update-assistant\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/assistants/update-assistant.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.botrep.ai/#organization\",\"name\":\"BotRep.ai\",\"url\":\"https://docs.botrep.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/botrep/N2qVVDEuHwjj5Uo9/resources/logo/light.png?fit=max\u0026auto=format\u0026n=N2qVVDEuHwjj5Uo9\u0026q=85\u0026s=2dc0c4290e8eb8f5107af9aa24e9c722\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.botrep.ai#website\",\"name\":\"BotRep.ai\",\"url\":\"https://docs.botrep.ai\",\"publisher\":{\"@id\":\"https://docs.botrep.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.botrep.ai/api-reference/assistants/update-assistant#webpage\",\"url\":\"https://docs.botrep.ai/api-reference/assistants/update-assistant\",\"name\":\"Update assistant\",\"description\":\"Update an existing AI assistant's configuration\",\"dateModified\":\"2026-02-12T14:32:31.993Z\",\"isPartOf\":{\"@id\":\"https://docs.botrep.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.botrep.ai/api-reference/assistants/update-assistant#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.botrep.ai/api-reference/assistants/update-assistant#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Assistants\",\"item\":\"https://docs.botrep.ai/api-reference/assistants/get-assistants\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update assistant\",\"item\":\"https://docs.botrep.ai/api-reference/assistants/update-assistant\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.botrep.ai/api-reference/assistants/update-assistant#apireference\",\"headline\":\"Update assistant\",\"name\":\"Update assistant\",\"description\":\"Update an existing AI assistant's configuration\",\"url\":\"https://docs.botrep.ai/api-reference/assistants/update-assistant\",\"mainEntityOfPage\":{\"@id\":\"https://docs.botrep.ai/api-reference/assistants/update-assistant#webpage\"},\"dateModified\":\"2026-02-12T14:32:31.993Z\",\"publisher\":{\"@id\":\"https://docs.botrep.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.botrep.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"BotRep.ai\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"BotRep.ai\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/assistants/update-assistant.md","siteName":"BotRep.ai","nav":{"global":null,"anchors":[{"anchor":"Platform Guide","icon":"book","pages":[{"title":"Platform Guide","href":"/introduction/what-is-platform"}]},{"anchor":"No-Code Automation","icon":"wand-magic-sparkles","color":{"light":"#6c63ff","dark":"#6c63ff"},"pages":[{"title":"No-Code Automation","href":"/automation-platform/introduction"}]},{"anchor":"API Reference","icon":"code","color":{"light":"#1c51fc","dark":"#1c51fc"},"groups":[{"group":"API Reference","pages":[{"title":"Introduction","icon":"book-open","href":"/api-reference/introduction"},{"title":"Authentication","icon":"key","href":"/api-reference/authentication"},{"title":"Get current user","api":"GET /user/me","href":"/api-reference/user/me"}]},{"group":"Assistants","pages":[{"title":"List assistants","api":"GET /user/assistants/get","href":"/api-reference/assistants/get-assistants"},{"title":"Get outbound assistants","api":"GET /user/assistants/outbound","href":"/api-reference/assistants/get-outbound-assistants"},{"title":"Create assistant","api":"POST /user/assistant","description":"Create a new AI assistant with specified configuration","href":"/api-reference/assistants/create-assistant"},{"title":"Update assistant","api":"PUT /user/assistant/{id}","href":"/api-reference/assistants/update-assistant"},{"title":"Delete assistant","api":"DELETE /user/assistant/{id}","description":"Delete a specific AI assistant","href":"/api-reference/assistants/delete-assistant"},{"title":"Enable assistant inbound webhook","api":"POST /user/assistants/enable-inbound-webhook","href":"/api-reference/assistants/enable-inbound-webhook"},{"title":"Disable assistant inbound webhook","api":"POST /user/assistants/disable-inbound-webhook","href":"/api-reference/assistants/disable-inbound-webhook"},{"title":"Disable assistant webhook","api":"POST /user/assistants/disable-webhook","href":"/api-reference/assistants/disable-webhook"},{"title":"Get available languages","api":"GET /user/assistants/languages","href":"/api-reference/assistants/get-languages"},{"title":"Get available voices","api":"GET /user/assistants/voices","href":"/api-reference/assistants/get-voices"},{"title":"Get available models","api":"GET /user/assistants/models","href":"/api-reference/assistants/get-models"},{"title":"Get available phone numbers","api":"GET /user/assistants/phone-numbers","href":"/api-reference/assistants/get-phone-numbers"}]},{"group":"Calls","pages":[{"title":"List calls","api":"GET /user/calls","href":"/api-reference/calls/get-calls"},{"title":"Get call","api":"GET /user/calls/{id}","href":"/api-reference/calls/get-call"},{"title":"Make a phone call","api":"POST /user/make_call","href":"/api-reference/calls/make-phone-call"},{"title":"Delete call","api":"DELETE /user/calls/{call}","href":"/api-reference/calls/delete-call"}]},{"group":"Conversations","pages":[{"title":"List Conversations","api":"GET /user/conversations","href":"/api-reference/conversations/list-conversations"},{"title":"Create Conversation","api":"POST /conversations","href":"/api-reference/conversations/create-conversation"},{"title":"Get Conversation","api":"GET /conversations/{uuid}","href":"/api-reference/conversations/get-conversation"},{"title":"Send Message","api":"POST /conversations/{uuid}/messages","href":"/api-reference/conversations/send-message"}]},{"group":"AI","pages":[{"title":"Generate AI Reply","api":"POST /ai/generate-reply","href":"/api-reference/ai/generate-reply"}]},{"group":"Mid Call Tools","pages":[{"title":"List mid call tools","api":"GET /user/tools","href":"/api-reference/mid-call-tools/get-tools"},{"title":"Get mid call tool","api":"GET /user/tools/{id}","href":"/api-reference/mid-call-tools/get-tool"},{"title":"Create mid call tool","api":"POST /user/tools","href":"/api-reference/mid-call-tools/create-tool"},{"title":"Update mid call tool","api":"PUT /user/tools/{id}","href":"/api-reference/mid-call-tools/update-tool"},{"title":"Delete mid call tool","api":"DELETE /user/tools/{id}","href":"/api-reference/mid-call-tools/delete-tool"}]},{"group":"Leads","pages":[{"title":"List leads","api":"GET /user/leads","href":"/api-reference/leads/get-lead"},{"title":"Create lead","api":"POST /user/lead","href":"/api-reference/leads/create"},{"title":"Update Lead","api":"PUT /user/leads/{id}","href":"/api-reference/leads/update-lead"},{"title":"Delete lead","api":"DELETE /user/leads/{id}","href":"/api-reference/leads/delete"}]},{"group":"Campaigns","pages":[{"title":"List campaigns","api":"GET /user/campaigns","href":"/api-reference/campaigns/get-campaigns"},{"title":"Update campaign status","api":"POST /user/campaigns/update-status","href":"/api-reference/campaigns/update-status"}]},{"group":"Phone Numbers","pages":[{"title":"Get all phone numbers","api":"GET /user/phone-numbers/all","href":"/api-reference/phone-numbers/get-phone-numbers"},{"title":"Search available phone numbers","api":"GET /user/phone-numbers/search","href":"/api-reference/phone-numbers/search-phone-numbers"},{"title":"Purchase phone number","api":"POST /user/phone-numbers/purchase","href":"/api-reference/phone-numbers/purchase-phone-number"},{"title":"Release phone number","api":"DELETE /user/phone-numbers/{id}","href":"/api-reference/phone-numbers/release-phone-number"}]},{"group":"Knowledgebases","pages":[{"title":"Get knowledgebases","api":"GET /user/knowledgebases","href":"/api-reference/knowledgebases/get-knowledgebases"},{"title":"Get knowledgebase","api":"GET /user/knowledgebases/{id}","href":"/api-reference/knowledgebases/get-knowledgebase"},{"title":"Create knowledgebase","api":"POST /user/knowledgebases","href":"/api-reference/knowledgebases/create-knowledgebase"},{"title":"Update knowledgebase","api":"PUT /user/knowledgebases/{id}","href":"/api-reference/knowledgebases/update-knowledgebase"},{"title":"Delete knowledgebase","api":"DELETE /user/knowledgebases/{id}","href":"/api-reference/knowledgebases/delete-knowledgebase"},{"title":"Get documents","api":"GET /user/knowledgebases/{knowledgebaseId}/documents","href":"/api-reference/knowledgebases/get-documents"},{"title":"Get document","api":"GET /user/knowledgebases/{knowledgebaseId}/documents/{documentId}","href":"/api-reference/knowledgebases/get-document"},{"title":"Create document","api":"POST /user/knowledgebases/{knowledgebaseId}/documents","href":"/api-reference/knowledgebases/create-document"},{"title":"Update document","api":"PUT /user/knowledgebases/{knowledgebaseId}/documents/{documentId}","href":"/api-reference/knowledgebases/update-document"},{"title":"Delete document","api":"DELETE /user/knowledgebases/{knowledgebaseId}/documents/{documentId}","href":"/api-reference/knowledgebases/delete-document"}]},{"group":"SMS","pages":[{"title":"Send SMS","api":"POST /user/sms","href":"/api-reference/sms/send-sms"}]},{"group":"Webhooks","pages":[{"title":"Post-Call Webhook","icon":"webhook","href":"/api-reference/webhooks/post-call-webhook"}]},{"group":"API Keys","pages":[{"title":"Create API key","api":"POST /user/api-keys","href":"/api-reference/authentication/create-api-key"},{"title":"List API keys","api":"GET /user/api-keys","href":"/api-reference/authentication/list-api-keys"},{"title":"Delete API key","api":"DELETE /user/api-keys/{id}","href":"/api-reference/authentication/delete-api-key"}]}]},{"anchor":"Platform updates","icon":"scroll","color":{"light":"#ffbb00","dark":"#ffbb00"},"pages":[{"title":"Platform updates","href":"/releases"}]}]},"basePath":"","title":"Update assistant - BotRep.ai","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","SectionHeading-DyxPTJti.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js"]}