{ "message": "Validation failed", "errors": { "name": ["The name field is required."], "voice_id": ["The selected voice is not compatible with the chosen engine type."], "knowledgebase_mode": ["Only function_call mode is available for multimodal assistants."] }}
Assistants
Create assistant
Create a new AI assistant with specified configuration
{ "message": "Validation failed", "errors": { "name": ["The name field is required."], "voice_id": ["The selected voice is not compatible with the chosen engine type."], "knowledgebase_mode": ["Only function_call mode is available for multimodal assistants."] }}
This endpoint allows you to create a new AI assistant with comprehensive configuration options.
Engine Modes
The API supports three engine modes, each with different capabilities:
Mode
Description
Required Fields
pipeline
Traditional STT → LLM → TTS pipeline
llm_model_id
multimodal
Real-time multimodal AI
multimodal_model_id
dualplex
Multimodal brain + custom TTS voice
multimodal_model_id
Request Body
Core Required Fields
string
required
The name of the assistant (max 255 characters)
integer
required
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
required
The language ID for the assistant. Use the Get Languages endpoint to get available languages.
string
required
The assistant type. Options: inbound, outbound
string
required
The engine mode. Options: pipeline, multimodal, dualplex
string
required
The timezone for the assistant (e.g., “Europe/Bucharest”, “America/New_York”)
string
required
The initial message the assistant will speak when the call starts (max 200 characters)
string
required
The system prompt that defines the assistant’s behavior and personality
Mode-Specific Fields
integer
The LLM model ID to use. Required for pipeline mode.Use the Get Models endpoint to get available models.
integer
The multimodal model ID. Required for 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. Optional.
number
Turn detection sensitivity for multimodal/dualplex modes (0-1). Default: auto
Secondary Languages
integer[]
Array of additional language IDs the assistant can speak. The assistant will auto-detect and switch languages.
"secondary_language_ids": [2, 3, 4]
Knowledgebase Settings
integer
The knowledgebase ID to attach to this assistant
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 to the assistant. 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 attach. Each tool must belong to your account.
"tool_ids": [1, 5, 12]
Built-in Tools
array
Array of built-in tools to enable. Each tool has a type and tool-specific fields.
Show Tool types
call_transfer - Transfer the call to another phone number
phone_number (required): Phone number to transfer to (e.g., “+1234567890”)
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
description: When to offer scheduling
"tools": [ { "type": "call_transfer", "phone_number": "+1234567890", "description": "Transfer when customer requests human support" }, { "type": "dtmf_input", "description": "Navigate IVR menus when needed" }, { "type": "end_call", "description": "End call when customer confirms satisfaction" }]
Voice and TTS Settings
boolean
default:"true"
Whether to enable emotional text-to-speech synthesis
number
default:"0.70"
Voice stability setting (0-1). Higher = more consistent voice
number
default:"0.50"
Voice similarity setting (0-1). Higher = closer to original voice
number
default:"1.00"
Speech speed multiplier (0.7-1.2)
number
default:"0.10"
LLM temperature setting (0-1). Lower = more deterministic
integer
Custom TTS provider ID. Auto-selected based on language if not provided.
integer
Custom STT provider ID. Auto-selected based on language if not provided. Pipeline mode only.
Call Behavior Settings
boolean
default:"true"
Whether to allow caller interruptions.
Cannot be disabled for multimodal and dualplex modes.
boolean
default:"false"
Whether to use filler audio during processing (e.g., “um”, “let me check”).
Only available for pipeline mode.
boolean
default:"false"
Whether to record the call
boolean
default:"true"
Whether to enable noise cancellation
boolean
default:"false"
If true, the assistant waits for the customer to speak first
Timing Settings
integer
default:"600"
Maximum call duration in seconds (20-1200)
integer
default:"40"
Maximum silence duration before re-engagement in seconds (1-360)
integer
Maximum silence at call start before ending (1-120 seconds). Optional.
integer
default:"30"
Maximum ringing time before giving up (1-60 seconds)
Re-engagement Settings
integer
default:"30"
Re-engagement interval in seconds (7-600)
string
Custom prompt for re-engagement messages (max 1000 characters)Example: "Are you still there? Do you have any other questions?"
Voicemail Settings
boolean
default:"true"
Whether to end call when voicemail is detected
string
Message to leave on voicemail before hanging up (max 1000 characters)
Endpoint Detection
string
default:"vad"
Voice activity detection type. Options: vad, ai
number
default:"0.5"
Endpoint sensitivity level (0-5)
number
default:"0.5"
Interrupt sensitivity level (0-5)
integer
Minimum words before interruption is allowed (0-10). Set to enable.
{ "message": "Validation failed", "errors": { "name": ["The name field is required."], "voice_id": ["The selected voice is not compatible with the chosen engine type."], "knowledgebase_mode": ["Only function_call mode is available for multimodal assistants."] }}
Notes
All required fields must be provided for successful assistant creation
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 is always enabled
Fillers are only available in pipeline mode
The assistant is created with inactive status by default
{"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/create-assistant","slug":"/api-reference/assistants/create-assistant","pageMetadata":{"title":"Create assistant","api":"POST /user/assistant","description":"Create a new AI assistant with specified configuration","href":"/api-reference/assistants/create-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: \"Create a new AI assistant with specified 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`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseField,Table,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(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This endpoint allows you to create a new AI assistant with comprehensive configuration options.`}),`\n`,_jsx(Heading,{level:`2`,id:`engine-modes`,children:`Engine Modes`}),`\n`,_jsx(_components.p,{children:`The API supports three engine modes, each with different capabilities:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Mode`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Required Fields`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pipeline`})}),_jsx(_components.td,{children:`Traditional STT → LLM → TTS pipeline`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`llm_model_id`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`multimodal`})}),_jsx(_components.td,{children:`Real-time multimodal AI`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`multimodal_model_id`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`dualplex`})}),_jsx(_components.td,{children:`Multimodal brain + custom TTS voice`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`multimodal_model_id`})})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(Heading,{level:`4`,id:`core-required-fields`,children:`Core Required Fields`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`The name of the assistant (max 255 characters)`})}),`\n`,_jsx(ParamField,{body:`voice_id`,type:`integer`,required:true,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`,required:true,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`,required:true,id:`param-type`,children:_jsxs(_components.p,{children:[`The assistant type. Options: `,_jsx(_components.code,{children:`inbound`}),`, `,_jsx(_components.code,{children:`outbound`})]})}),`\n`,_jsx(ParamField,{body:`mode`,type:`string`,required:true,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`})]})}),`\n`,_jsx(ParamField,{body:`timezone`,type:`string`,required:true,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`,required:true,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`,required:true,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. `,_jsxs(_components.strong,{children:[`Required for `,_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. `,_jsxs(_components.strong,{children:[`Required for `,_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:_jsx(_components.p,{children:`Fallback LLM model ID for tool calls in multimodal/dualplex modes. Optional.`})}),`\n`,_jsx(ParamField,{body:`turn_detection_threshold`,type:`number`,id:`param-turn-detection-threshold`,children:_jsx(_components.p,{children:`Turn detection sensitivity for multimodal/dualplex modes (0-1). Default: 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:[_jsx(_components.p,{children:`Array of additional language IDs the assistant can speak. The assistant will auto-detect and switch 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:_jsx(_components.p,{children:`The knowledgebase ID to attach to this assistant`})}),`\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:[_jsx(_components.p,{children:`The ID of a phone number to assign to the assistant. 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:[_jsx(_components.p,{children:`Array of custom mid-call tool IDs to attach. 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 to enable. Each tool has a `,_jsx(_components.code,{children:`type`}),` and tool-specific fields.`]}),_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 (e.g., “+1234567890”)`]}),`\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`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`description`}),`: When to offer scheduling`]}),`\n`]})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`15`,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:`15`,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`,_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call_transfer\"`}),_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\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+1234567890\"`}),_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:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Transfer when customer requests human support\"`})]}),`\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`,_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:`\"dtmf_input\"`}),_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:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Navigate IVR menus when needed\"`})]}),`\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`,_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:`\"end_call\"`}),_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:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"End call when customer confirms satisfaction\"`})]}),`\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(Heading,{level:`4`,id:`voice-and-tts-settings`,children:`Voice and TTS Settings`}),`\n`,_jsx(ParamField,{body:`tts_emotion_enabled`,type:`boolean`,default:`true`,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`,default:`0.70`,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`,default:`0.50`,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`,default:`1.00`,id:`param-speech-speed`,children:_jsx(_components.p,{children:`Speech speed multiplier (0.7-1.2)`})}),`\n`,_jsx(ParamField,{body:`llm_temperature`,type:`number`,default:`0.10`,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:_jsx(_components.p,{children:`Custom TTS provider ID. Auto-selected based on language if not provided.`})}),`\n`,_jsx(ParamField,{body:`transcriber_provider_id`,type:`integer`,id:`param-transcriber-provider-id`,children:_jsx(_components.p,{children:`Custom STT provider ID. Auto-selected based on language if not provided. Pipeline mode only.`})}),`\n`,_jsx(Heading,{level:`4`,id:`call-behavior-settings`,children:`Call Behavior Settings`}),`\n`,_jsxs(ParamField,{body:`allow_interruptions`,type:`boolean`,default:`true`,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`,default:`false`,id:`param-fillers`,children:[_jsx(_components.p,{children:`Whether to use filler audio during processing (e.g., “um”, “let me check”).`}),_jsxs(Warning,{children:[`Only available for `,_jsx(_components.code,{children:`pipeline`}),` mode.`]})]}),`\n`,_jsx(ParamField,{body:`record`,type:`boolean`,default:`false`,id:`param-record`,children:_jsx(_components.p,{children:`Whether to record the call`})}),`\n`,_jsx(ParamField,{body:`enable_noise_cancellation`,type:`boolean`,default:`true`,id:`param-enable-noise-cancellation`,children:_jsx(_components.p,{children:`Whether to enable noise cancellation`})}),`\n`,_jsx(ParamField,{body:`wait_for_customer`,type:`boolean`,default:`false`,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`,default:`600`,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`,default:`40`,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:_jsx(_components.p,{children:`Maximum silence at call start before ending (1-120 seconds). Optional.`})}),`\n`,_jsx(ParamField,{body:`ringing_time`,type:`integer`,default:`30`,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`,default:`30`,id:`param-reengagement-interval`,children:_jsx(_components.p,{children:`Re-engagement interval in seconds (7-600)`})}),`\n`,_jsxs(ParamField,{body:`reengagement_prompt`,type:`string`,id:`param-reengagement-prompt`,children:[_jsx(_components.p,{children:`Custom prompt for re-engagement messages (max 1000 characters)`}),_jsxs(_components.p,{children:[`Example: `,_jsx(_components.code,{children:`\"Are you still there? Do you have any other questions?\"`})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`voicemail-settings`,children:`Voicemail Settings`}),`\n`,_jsx(ParamField,{body:`end_call_on_voicemail`,type:`boolean`,default:`true`,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:_jsx(_components.p,{children:`Message to leave on voicemail before hanging up (max 1000 characters)`})}),`\n`,_jsx(Heading,{level:`4`,id:`endpoint-detection`,children:`Endpoint Detection`}),`\n`,_jsx(ParamField,{body:`endpoint_type`,type:`string`,default:`vad`,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`,default:`0.5`,id:`param-endpoint-sensitivity`,children:_jsx(_components.p,{children:`Endpoint sensitivity level (0-5)`})}),`\n`,_jsx(ParamField,{body:`interrupt_sensitivity`,type:`number`,default:`0.5`,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:_jsx(_components.p,{children:`Minimum words before interruption is allowed (0-10). Set to enable.`})}),`\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`,default:`0.5`,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`,default:`false`,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. `,_jsxs(_components.strong,{children:[`Required if `,_jsx(_components.code,{children:`is_webhook_active`}),` is true.`]})]})}),`\n`,_jsx(ParamField,{body:`send_webhook_only_on_completed`,type:`boolean`,default:`true`,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`,default:`true`,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`,default:`true`,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`}),_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)`})})]}),_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:`\"post_call_schema\"`}),_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:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"status\"`}),_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:`\"bool\"`}),_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:`\"Was the call objective achieved\"`}),_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:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"summary\"`}),_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:`\"string\"`}),_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:`\"Brief summary of the call\"`}),_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:`variables`,children:`Variables`}),`\n`,_jsxs(ParamField,{body:`variables`,type:`object`,id:`param-variables`,children:[_jsxs(_components.p,{children:[`Key-value pairs of custom variables accessible in prompts via `,_jsx(_components.code,{children:`{{variable_name}}`})]}),_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:[_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\"`}),_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:` \"support_email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"support@acme.com\"`})]}),`\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:`pipeline-mode-assistant`,children:`Pipeline Mode Assistant`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`22`,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:`22`,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:`\"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:` \"voice_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:` \"language_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:` \"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\"`}),_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:` \"timezone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Europe/Bucharest\"`}),_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 can I help you today?\"`}),_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:` \"system_prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"You are a professional 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:` \"llm_model_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:` \"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:`],`})]}),`\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:`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:` \"knowledgebase_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"prompt\"`}),_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:` \"fillers\"`}),_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:` \"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:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},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:`\"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 customer is satisfied\"`}),_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:`\"call_transfer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"phone_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+1234567890\"`}),_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:`\"Transfer to support\"`}),_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`,_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:`20`}),_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?\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`multimodal-mode-assistant`,children:`Multimodal Mode Assistant`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,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:`16`,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:`\"Support Bot\"`}),_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:` \"language_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"inbound\"`}),_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:` \"timezone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"America/New_York\"`}),_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:`\"Hi! Welcome to support.\"`}),_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:` \"system_prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"You are a helpful support agent...\"`}),_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:` \"turn_detection_threshold\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.7`}),_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:`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:` \"knowledgebase_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"function_call\"`}),_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:` \"tts_emotion_enabled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`dualplex-mode-assistant`,children:`Dualplex Mode Assistant`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,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:`17`,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:`\"Premium Agent\"`}),_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:`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:` \"language_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:` \"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:`\"dualplex\"`}),_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:` \"timezone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Europe/Bucharest\"`}),_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:`\"Buna ziua!\"`}),_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:` \"system_prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Esti un asistent profesionist...\"`}),_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:`4`}),_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:` \"secondary_language_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:`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_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:` \"knowledgebase_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"function_call\"`}),_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:` \"ambient_sound\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"office\"`}),_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:` \"ambient_sound_volume\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.3`})]}),`\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 creation`})}),`\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`,children:_jsx(_components.p,{children:`The unique identifier of the created 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:_jsxs(_components.p,{children:[`The current status (`,_jsx(_components.code,{children:`inactive`}),` for new assistants)`]})}),_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:`All required fields must be provided for successful assistant creation`}),`\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`}),` is always enabled`]}),`\n`,_jsx(_components.li,{children:`Fillers are only available in pipeline mode`}),`\n`,_jsxs(_components.li,{children:[`The assistant is created with `,_jsx(_components.code,{children:`inactive`}),` status by default`]}),`\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":"Create assistant","api":"POST /user/assistant","description":"Create a new AI assistant with specified configuration","href":"/api-reference/assistants/create-assistant"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[413,417,"Example,ResponseFiel"],[670,685,"Example)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingM"],[57113,58492,"_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`201 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 created 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:`\"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:`\"inactive\"`}),_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:`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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The name field is required.\"`}),_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:` \"knowledgebase_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Only function_call mode is available for multimodal assistants.\"`}),_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:`All required fields must be provided for successful assistant creation`}),`\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`}),` is always enabled`]}),`\n`,_jsx(_components.li,{children:`Fillers are only available in pipeline mode`}),`\n`,_jsxs(_components.li,{children:[`The assistant is created with `,_jsx(_components.code,{children:`inactive`}),` status by default`]}),`\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":"Engine Modes","slug":"engine-modes","depth":2,"children":[{"title":"Request Body","slug":"request-body","depth":3,"children":[]},{"title":"Core Required Fields","slug":"core-required-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":"Pipeline Mode Assistant","slug":"pipeline-mode-assistant","depth":3,"children":[]},{"title":"Multimodal Mode Assistant","slug":"multimodal-mode-assistant","depth":3,"children":[]},{"title":"Dualplex Mode Assistant","slug":"dualplex-mode-assistant","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"201 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 created 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\">\"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\">\"inactive\"\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":"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\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The name field is required.\"\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\"> \"knowledgebase_mode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Only function_call mode is available for multimodal assistants.\"\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":"Create assistant","path":"/user/assistant","servers":[{"url":"https://app.botrep.ai/api/"}],"method":"post","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":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"name":[{"type":"string","description":"The name of the assistant (max 255 characters)","required":true}],"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.","required":true}],"language_id":[{"type":"integer","description":"The language ID for the assistant. Use the Get Languages endpoint to get available languages.","required":true}],"type":[{"type":"string","description":"The assistant type. Options: `inbound` , `outbound`","required":true}],"mode":[{"type":"string","description":"The engine mode. Options: `pipeline` , `multimodal` , `dualplex`","required":true}],"timezone":[{"type":"string","description":"The timezone for the assistant (e.g., “Europe/Bucharest”, “America/New_York”)","required":true}],"initial_message":[{"type":"string","description":"The initial message the assistant will speak when the call starts (max 200 characters)","required":true}],"system_prompt":[{"type":"string","description":"The system prompt that defines the assistant’s behavior and personality","required":true}],"llm_model_id":[{"type":"integer","description":"The LLM model ID to use. Required for `pipeline` mode. Use the Get Models endpoint to get available models."}],"multimodal_model_id":[{"type":"integer","description":"The multimodal model ID. Required for `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. Optional."}],"turn_detection_threshold":[{"type":"number","description":"Turn detection sensitivity for multimodal/dualplex modes (0-1). Default: auto"}],"secondary_language_ids":[{"type":"array","items":[{"type":"integer"}],"description":"Array of additional language IDs the assistant can speak. The assistant will auto-detect and switch languages."}],"knowledgebase_id":[{"type":"integer","description":"The knowledgebase ID to attach to this assistant"}],"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 to the assistant. Must belong to your account."}],"tool_ids":[{"type":"array","items":[{"type":"integer"}],"description":"Array of custom mid-call tool IDs to attach. Each tool must belong to your account."}],"tools":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of built-in tools to enable. Each tool has a `type` and tool-specific fields."}],"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. Auto-selected based on language if not provided."}],"transcriber_provider_id":[{"type":"integer","description":"Custom STT provider ID. Auto-selected based on language if not provided. Pipeline mode only."}],"allow_interruptions":[{"type":"boolean","description":"Whether to allow caller interruptions."}],"fillers":[{"type":"boolean","description":"Whether to use filler audio during processing (e.g., “um”, “let me check”)."}],"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). Optional."}],"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) Example: `\"Are you still there? Do you have any other questions?\"`"}],"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)"}],"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 enable."}],"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. Required if `is_webhook_active` is true."}],"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"}],"variables":[{"type":"object","properties":{},"description":"Key-value pairs of custom variables accessible in prompts via `{{variable_name}}`"}]}}],"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 creation"}],"data":[{"type":"object","properties":{"id":[{"type":"integer","description":"The unique identifier of the created assistant"}],"name":[{"type":"string","description":"The name of the assistant"}],"status":[{"type":"string","description":"The current status ( `inactive` for new assistants)"}],"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":"Create assistant - BotRep.ai","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-12T14:32:31.544Z","originalFileLocation":"api-reference/assistants/create-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=\"Create a new AI assistant with specified 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=\"Create assistant - BotRep.ai\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new AI assistant with specified 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/create-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=Create+assistant\u0026amp;description=Create+a+new+AI+assistant+with+specified+configuration\u0026amp;theme=d7519214cb00f73f10448d49\u0026amp;signature=2a861f49eaebbd38eec7d3a55a1d3c4fb6ec581994dad19f691dccab0d99e006\">\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=\"Create assistant - BotRep.ai\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new AI assistant with specified configuration\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://botrep.mintlify.site/_mintlify/api/og/v2?division=Assistants\u0026amp;title=Create+assistant\u0026amp;description=Create+a+new+AI+assistant+with+specified+configuration\u0026amp;theme=d7519214cb00f73f10448d49\u0026amp;signature=2a861f49eaebbd38eec7d3a55a1d3c4fb6ec581994dad19f691dccab0d99e006\">\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/create-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/create-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/create-assistant#webpage\",\"url\":\"https://docs.botrep.ai/api-reference/assistants/create-assistant\",\"name\":\"Create assistant\",\"description\":\"Create a new AI assistant with specified configuration\",\"dateModified\":\"2026-02-12T14:32:31.544Z\",\"isPartOf\":{\"@id\":\"https://docs.botrep.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.botrep.ai/api-reference/assistants/create-assistant#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.botrep.ai/api-reference/assistants/create-assistant#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Assistants\",\"item\":\"https://docs.botrep.ai/api-reference/assistants/get-assistants\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create assistant\",\"item\":\"https://docs.botrep.ai/api-reference/assistants/create-assistant\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.botrep.ai/api-reference/assistants/create-assistant#apireference\",\"headline\":\"Create assistant\",\"name\":\"Create assistant\",\"description\":\"Create a new AI assistant with specified configuration\",\"url\":\"https://docs.botrep.ai/api-reference/assistants/create-assistant\",\"mainEntityOfPage\":{\"@id\":\"https://docs.botrep.ai/api-reference/assistants/create-assistant#webpage\"},\"dateModified\":\"2026-02-12T14:32:31.544Z\",\"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/create-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","description":"Retrieve all outbound assistants for the authenticated user","href":"/api-reference/assistants/get-outbound-assistants"},{"title":"Create assistant","api":"POST /user/assistant","href":"/api-reference/assistants/create-assistant"},{"title":"Update assistant","api":"PUT /user/assistant/{id}","description":"Update an existing AI assistant's configuration","href":"/api-reference/assistants/update-assistant"},{"title":"Delete assistant","api":"DELETE /user/assistant/{id}","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":"Create 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"]}