Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
agent_id
string
required
Body
application/json
prompt
PublicAgentPromptPatch · object | null
Show child attributes
voice
PublicAgentVoicePatch · object | null
Show child attributes
asr
PublicAgentAsrPatch · object | null
Show child attributes
conversation
PublicAgentConversationPatch · object | null
Show child attributes
tools
PublicAgentToolsPatch · object | null
Show child attributes
webhooks
PublicAgentWebhooksPatch · object | null
Show child attributes
knowledge_base
PublicAgentKnowledgeBasePatch · object | null
Show child attributes
analysis
PublicAgentAnalysisPatch · object | null
Show child attributes
guardrails
PublicAgentGuardrailsPatch · object | null
Show child attributes
context
PublicAgentContextPatch · object | null
Show child attributes
llm
PublicAgentLLMPatch · object | null
Show child attributes
variables
PublicAgentVariablesPatch · object | null
Default values for the {{placeholders}} in the configured text, used when the session supplies none (the map replaces as a whole), and on_missing for a placeholder with neither: keep leaves it as written (default), empty renders it as empty text, reject refuses the session.
Show child attributes
Response
Request fulfilled, document follows
agent_id
string
required
config_hash
string
required
Opaque content hash of this configuration as stored. On a draft it is the config_hash the next publish gives the version, so it equals the live version's config_hash when nothing is unpublished. Pass it to Publish Agent as expected_config_hash.
prompt
AgentPromptConfigView · object
required
The prompt section as a read returns it: the opener's interruption choice
is always true or false. Nothing is stored for it (a stored null and
a row from before the field both read true), so a write and the config
hash are untouched.
Show child attributes
voice
PublicAgentVoiceConfig · object
required
The voice section as the public API reads it: without the console-only
sentence buffering switch, live-3 playout and live-3 self-ASR model.
Show child attributes
asr
PublicAgentAsrConfig · object
required
The asr section as the public API reads it: without the console-only
noise cancellation and speaker label switches.
Show child attributes
conversation
AgentConversationConfig · object
required
Show child attributes
tools
PublicAgentToolsConfig · object
required
Show child attributes
webhooks
PublicAgentWebhooksConfig · object
required
Show child attributes
knowledge_base
PublicAgentKnowledgeBaseConfig · object
required
Show child attributes
analysis
AgentAnalysisConfig · object
required
Show child attributes
guardrails
AgentGuardrailsConfig · object
required
Show child attributes
context
AgentContextConfig · object
required
Facts the platform tells the agent on its own, one switch per fact.
The same mechanism as a guardrail with the opposite sign: a guardrail is
a prompt addition that constrains, a context switch is one that informs.
Show child attributes
llm
AgentLLMConfigRedacted · object
required
Show child attributes
updated_at
string<date-time>
required
variables
AgentVariablesConfig · object
Defaults for {{name}} placeholders and what a placeholder without a value does.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Fish Audio","description":"Documentation for Fish Audio APIs, SDKs, models, voice cloning, real-time streaming, and self-hosting.","colors":{"primary":"#0e0e0e","light":"#9b90e8","dark":"#09090b"},"logo":{"light":"https://mintcdn.com/hanabiaiinc/amYp9Dj31LtlHliX/logo/light.png?fit=max\u0026auto=format\u0026n=amYp9Dj31LtlHliX\u0026q=85\u0026s=305973cd6a8d11dbf36d1ec682ee845e","dark":"https://mintcdn.com/hanabiaiinc/amYp9Dj31LtlHliX/logo/dark.png?fit=max\u0026auto=format\u0026n=amYp9Dj31LtlHliX\u0026q=85\u0026s=b79bd889db9ac1aae939834596e8a22f"},"favicon":"https://mintcdn.com/hanabiaiinc/-WxHANLOAmlTUwdM/favicon.svg?fit=max\u0026auto=format\u0026n=-WxHANLOAmlTUwdM\u0026q=85\u0026s=dc65d9f44bda0f5b8277c48dd9c979c3","navbar":{"links":[{"href":"https://discord.gg/dF9Db2Tt3Y","label":"Community"},{"href":"mailto:support@fish.audio","label":"Support"}],"primary":{"type":"button","label":"Sign Up","href":"https://fish.audio/app/developers/get-started/?utm_source=docs\u0026utm_medium=navbar\u0026utm_content=sign-up"}},"footer":{"socials":{"website":"https://fish.audio","github":"https://github.com/fishaudio","x":"https://x.com/fishaudio","linkedin":"https://www.linkedin.com/company/fish-audio","discord":"https://discord.gg/dF9Db2Tt3Y"},"links":[{"header":"About","items":[{"label":"Research","href":"https://openaudio.com/"},{"label":"Careers","href":"mailto:hr@fish.audio"},{"label":"Blog","href":"https://fish.audio/blog"}]},{"header":"Resources","items":[{"label":"API Status","href":"https://status.fish.audio"},{"label":"Open Source","href":"https://github.com/fishaudio"},{"label":"Changelog","href":"https://docs.fish.audio/developer-guide/getting-started/changelog"}]},{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://fish.audio/privacy"},{"label":"Terms of Service","href":"https://fish.audio/terms"},{"label":"Report Abuse","href":"mailto:support@fish.audio?subject=%5BReport+Abuse%5D+MODEL+NAME\u0026amp;body=Please+provide+a+detailed+description+of+the+abuse+you+are+reporting."}]}]},"fonts":{"family":"Onest"},"integrations":{"amplitude":{"apiKey":"39daf30712f00da6ea5283bc21e7084e"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"interaction":{"drilldown":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hanabiaiinc","hasAudioNarration":false,"actualSubdomain":"hanabiaiinc","customDomains":["docs.fish.audio"],"gitSource":{"type":"github","owner":"fishaudio","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0f8f4b2082dbe35a79b697","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"API Reference","count":114},{"language":"default","tag":"Agents API","count":72},{"language":"default","tag":"Agents","count":58},{"language":"default","tag":"Resources","count":43},{"language":"default","tag":"Overview","count":32},{"language":"default","tag":"REST API","count":26},{"language":"default","tag":"Tests","count":17},{"language":"default","tag":"Core Features","count":15},{"language":"default","tag":"Cookbook","count":13},{"language":"default","tag":"Build","count":12}]},"assistantConfig":{"enableAskAiButton":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@fish.audio","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"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}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","content":"*{scrollbar-width:thin;scrollbar-color:rgba(120,120,120,0.4) transparent}::-webkit-scrollbar{width:6px;height:6px;background:transparent!important}::-webkit-scrollbar-thumb{background:rgba(120,120,120,0.5);border-radius:999px}::-webkit-scrollbar-thumb{opacity:0;transition:opacity 0.2s ease}:hover::-webkit-scrollbar-thumb,*:active::-webkit-scrollbar-thumb{opacity:1}img[src*=\"/images/\"]{background:transparent!important}.prompt-card{display:grid;cursor:pointer;outline:none}.prompt-card .card{transition:border-color 0.15s ease}.prompt-card:hover .card,.prompt-card:focus-visible .card{border-color:rgb(var(--primary))!important}.dark .prompt-card:hover .card,.dark .prompt-card:focus-visible .card{border-color:rgb(var(--primary-light))!important}.prompt-card-hint{position:absolute;top:1rem;right:1rem;padding:0.3rem 0.6rem;border-radius:9999px;font-size:0.75rem;line-height:1;color:rgb(var(--gray-500));background:rgba(120, 120, 120, 0.12);opacity:0;transition:opacity 0.15s ease;pointer-events:none}.prompt-card:hover .prompt-card-hint,.prompt-card:focus-visible .prompt-card-hint,.prompt-card[data-state=\"copied\"] .prompt-card-hint,.prompt-card[data-state=\"failed\"] .prompt-card-hint{opacity:1}.prompt-card[data-state=\"copied\"] .prompt-card-hint{color:rgb(var(--primary));background:rgb(var(--primary) / 0.12)}.dark .prompt-card[data-state=\"copied\"] .prompt-card-hint{color:rgb(var(--primary-light));background:rgb(var(--primary-light) / 0.16)}.tab-container:is(.console-api,:has(>.console-api)){margin:1.5rem 0;padding:0.875rem 1.25rem 1.125rem;border:1px solid rgb(var(--gray-200));border-radius:1rem}.dark .tab-container:is(.console-api,:has(>.console-api)){border-color:rgb(255 255 255 / 0.1)}.tab-container:is(.console-api,:has(>.console-api))>[data-component-part=\"tabs-list\"]{display:flex;width:fit-content;min-width:0;gap:2px;padding:3px;margin-bottom:0.875rem;border:0;border-radius:9px;background:rgb(120 120 120 / 0.12)}.tab-container:is(.console-api,:has(>.console-api))>[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"]{padding:2px 10px;margin:0;border:0;border-radius:6px;font-size:0.8125rem;font-weight:500;line-height:1.375rem;color:rgb(var(--gray-600))}.tab-container:is(.console-api,:has(>.console-api))>[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"]:hover{color:rgb(var(--gray-900))}.tab-container:is(.console-api,:has(>.console-api))>[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][data-active=\"true\"]{color:rgb(var(--primary));background:#fff;box-shadow:0 1px 2px rgb(0 0 0 / 0.1)}.dark .tab-container:is(.console-api,:has(>.console-api))>[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"]{color:rgb(var(--gray-400))}.dark .tab-container:is(.console-api,:has(>.console-api))>[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"]:hover{color:rgb(var(--gray-200))}.dark .tab-container:is(.console-api,:has(>.console-api))>[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][data-active=\"true\"]{color:rgb(var(--primary-light));background:rgb(255 255 255 / 0.12);box-shadow:none}.tab-container:is(.console-api,:has(>.console-api))>[data-component-part=\"tabs-list\"] .tab-icon{width:0.8125rem;height:0.8125rem;background-color:currentColor}.tab-container:is(.console-api,:has(>.console-api))>div>[data-component-part=\"tab-content\"]>:first-child{margin-top:0}.tab-container:is(.console-api,:has(>.console-api))>div>[data-component-part=\"tab-content\"]>:last-child{margin-bottom:0}"}]}
{"page":{"pagePath":"api-reference/endpoint/agent/update-draft-config","slug":"/api-reference/endpoint/agent/update-draft-config","pageMetadata":{"openapi":"patch /v1/agent/agents/{agent_id}/config","title":"Update Voice Agent Draft Config","sidebarTitle":"Update Draft Config","description":"Patch the draft configuration section by section; omitted sections keep\ntheir value.","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/update-draft-config"},"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: \"Patch the draft configuration section by section; omitted sections keep\\ntheir value.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"patch /v1/agent/agents/{agent_id}/config","title":"Update Voice Agent Draft Config","sidebarTitle":"Update Draft Config","description":"Patch the draft configuration section by section; omitted sections keep\ntheir value.","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/update-draft-config"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Update Draft Config","description":"Patch the draft configuration section by section; omitted sections keep\ntheir value.","security":["cde02f99-f781-4776-8ccf-013c98846144"],"parameters":["d595c516-2664-4020-bfa2-fd2120a4a0e4"],"requestBody":"7eed04b0-565e-4e5d-806c-8872f3dab2d3","responses":{"200":"61bdf8f0-3e41-47a6-ab1e-00399cb36361","401":"a611732f-41a5-4c83-9e3f-fea8c2948e1a","403":"a2f5544a-8693-4c32-9879-5c0ada144f2e","404":"26f2d08b-f5e1-41f7-ba50-dbf762bf596d","409":"177f0a75-57fc-486c-adc2-016b9b1946e6","422":"fc6bc2b7-7f53-49ed-9f67-b006bced7d3e","503":"5c4964d2-19e9-49e4-ae33-e2a751502017"},"tags":["Agents"],"x-codeSamples":[{"lang":"bash","label":"Update Draft Config","source":"curl --request PATCH \\\n --url https://api.fish.audio/v1/agent/agents/\u003cagent-id>/config \\\n --header 'Authorization: Bearer \u003ctoken>' \\\n --header 'Content-Type: application/json' \\\n --data '{\n \"prompt\": {\n \"system_prompt\": \"You are the receptionist for Fish Dental.\"\n },\n \"webhooks\": {\n \"post_call\": [\n {\n \"url\": \"https://example.com/hooks/fish\",\n \"secret\": \"\u003csigning-secret>\"\n }\n ]\n }\n }'"}],"method":"patch","type":"path","servers":["d5525dc3-ebcf-4a6b-8358-76716e8b1400"],"path":"/https/docs.fish.audio/v1/agent/agents/{agent_id}/config","baseUrlOptions":["https://api.fish.audio"],"title":"Update Draft Config","codeSamples":[{"label":"Update Draft Config","lang":"bash","source":"curl --request PATCH \\\n --url https://api.fish.audio/v1/agent/agents/\u003cagent-id>/config \\\n --header 'Authorization: Bearer \u003ctoken>' \\\n --header 'Content-Type: application/json' \\\n --data '{\n \"prompt\": {\n \"system_prompt\": \"You are the receptionist for Fish Dental.\"\n },\n \"webhooks\": {\n \"post_call\": [\n {\n \"url\": \"https://example.com/hooks/fish\",\n \"secret\": \"\u003csigning-secret>\"\n }\n ]\n }\n }'"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"d595c516-2664-4020-bfa2-fd2120a4a0e4":{"in":"path","name":"agent_id","description":"","required":true,"schema":{"title":"Agent Id","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"},"deprecated":false}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"prompt":{"oneOf":[{"type":"object","title":"PublicAgentPromptPatch","properties":{"system_prompt":{"oneOf":[{"type":"string","title":"System Prompt","description":"Limited to 64000 tokens (o200k_base), 32000 when `llm.model` is `google/gemma-4-26b-a4b-it`; keeping it under 2000 tokens is recommended for latency and cost.","maxLength":500000,"uniqueKey":"prompt.oneOf.0.system_prompt.oneOf.0","typeLabel":"string"},{"type":"null","title":"System Prompt","description":"Limited to 64000 tokens (o200k_base), 32000 when `llm.model` is `google/gemma-4-26b-a4b-it`; keeping it under 2000 tokens is recommended for latency and cost.","uniqueKey":"prompt.oneOf.0.system_prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.oneOf.0.system_prompt","typeLabel":"string | null"},"first_message_mode":{"oneOf":[{"type":"string","title":"First Message Mode","enum":["off","fixed","prompt"],"uniqueKey":"prompt.oneOf.0.first_message_mode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"First Message Mode","uniqueKey":"prompt.oneOf.0.first_message_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.oneOf.0.first_message_mode","typeLabel":"enum\u003cstring> | null"},"first_message":{"oneOf":[{"type":"string","title":"First Message","maxLength":10000,"uniqueKey":"prompt.oneOf.0.first_message.oneOf.0","typeLabel":"string"},{"type":"null","title":"First Message","uniqueKey":"prompt.oneOf.0.first_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.oneOf.0.first_message","typeLabel":"string | null"},"first_message_prompt":{"oneOf":[{"type":"string","title":"First Message Prompt","maxLength":10000,"uniqueKey":"prompt.oneOf.0.first_message_prompt.oneOf.0","typeLabel":"string"},{"type":"null","title":"First Message Prompt","uniqueKey":"prompt.oneOf.0.first_message_prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.oneOf.0.first_message_prompt","typeLabel":"string | null"},"first_message_start":{"oneOf":[{"type":"string","title":"First Message Start","description":"When the opener plays. `agent_first` (default): the agent speaks as soon as the call connects. `wait_for_caller`: the agent waits for the caller to speak first and plays the opener anyway once `first_message_max_wait_ms` has passed. `wait_for_caller` needs a `fixed` or `prompt` opener: with `first_message_mode` `off` the write is rejected with 422, and the stored values stay as they were. With a `fixed` opener the agent speaks after the caller does, or when the wait runs out; with a `prompt` opener it answers what the caller said first.","enum":["agent_first","wait_for_caller"],"uniqueKey":"prompt.oneOf.0.first_message_start.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"First Message Start","description":"When the opener plays. `agent_first` (default): the agent speaks as soon as the call connects. `wait_for_caller`: the agent waits for the caller to speak first and plays the opener anyway once `first_message_max_wait_ms` has passed. `wait_for_caller` needs a `fixed` or `prompt` opener: with `first_message_mode` `off` the write is rejected with 422, and the stored values stay as they were. With a `fixed` opener the agent speaks after the caller does, or when the wait runs out; with a `prompt` opener it answers what the caller said first.","uniqueKey":"prompt.oneOf.0.first_message_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.oneOf.0.first_message_start","typeLabel":"enum\u003cstring> | null"},"first_message_max_wait_ms":{"oneOf":[{"type":"integer","title":"First Message Max Wait Ms","description":"Milliseconds (1000-5000, default 3000) a `wait_for_caller` agent waits before it speaks anyway. Stored but has no effect while `first_message_start` is `agent_first`.","maximum":5000,"minimum":1000,"uniqueKey":"prompt.oneOf.0.first_message_max_wait_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"First Message Max Wait Ms","description":"Milliseconds (1000-5000, default 3000) a `wait_for_caller` agent waits before it speaks anyway. Stored but has no effect while `first_message_start` is `agent_first`.","uniqueKey":"prompt.oneOf.0.first_message_max_wait_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.oneOf.0.first_message_max_wait_ms","typeLabel":"integer | null"},"first_message_interruptible":{"oneOf":[{"type":"boolean","title":"First Message Interruptible","description":"Whether the caller can cut the opener off. `true`: interruptible. `false`: protected, the opener always plays to the end and what the caller says meanwhile is dropped, not answered afterwards. `null` or omitted (default): interruptible, the same as `true`. It does not follow `conversation.interruptible`. Reads always return `true` or `false`.","uniqueKey":"prompt.oneOf.0.first_message_interruptible.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"First Message Interruptible","description":"Whether the caller can cut the opener off. `true`: interruptible. `false`: protected, the opener always plays to the end and what the caller says meanwhile is dropped, not answered afterwards. `null` or omitted (default): interruptible, the same as `true`. It does not follow `conversation.interruptible`. Reads always return `true` or `false`.","uniqueKey":"prompt.oneOf.0.first_message_interruptible.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.oneOf.0.first_message_interruptible","typeLabel":"boolean | null"}},"additionalProperties":false,"uniqueKey":"prompt.oneOf.0","typeLabel":"PublicAgentPromptPatch · object"},{"type":"null","uniqueKey":"prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt","typeLabel":"PublicAgentPromptPatch · object | null"},"voice":{"oneOf":[{"type":"object","title":"PublicAgentVoicePatch","properties":{"voice_id":{"oneOf":[{"type":"string","title":"Voice Id","description":"The agent's voice: a Voice Library voice or one of your clones by id, or with engine live3 one of the speech model's own voices by its lowercase name (clara, nora, owen, marco, milo, jonah, harper, patricia, and for the DT situation maddie, ethan, tyler, brianna). A name is rejected while the engine is fish_tts. When a session of an agent on one of the names runs on Fish TTS (another language, or the speech model unavailable), it speaks a Voice Library counterpart of that voice.","maxLength":256,"uniqueKey":"voice.oneOf.0.voice_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Voice Id","description":"The agent's voice: a Voice Library voice or one of your clones by id, or with engine live3 one of the speech model's own voices by its lowercase name (clara, nora, owen, marco, milo, jonah, harper, patricia, and for the DT situation maddie, ethan, tyler, brianna). A name is rejected while the engine is fish_tts. When a session of an agent on one of the names runs on Fish TTS (another language, or the speech model unavailable), it speaks a Voice Library counterpart of that voice.","uniqueKey":"voice.oneOf.0.voice_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"voice.oneOf.0.voice_id","typeLabel":"string | null"},"speaking_language":{"oneOf":[{"type":"string","title":"Speaking Language","enum":["en","ja","zh","ko","es","fr","de","pt","it","nl","ar","hi","id","tr","ru","bg","sr","hr","cs","sk","pl","uk","ro","hu","el","sv","da","no","fi","et","lv","lt","ca","he","fa","ur","kk","ka","hy","bn","ta","te","kn","mr","gu","pa","ne","th","vi","ms","tl","af"],"uniqueKey":"voice.oneOf.0.speaking_language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Speaking Language","uniqueKey":"voice.oneOf.0.speaking_language.oneOf.1","typeLabel":"null"}],"uniqueKey":"voice.oneOf.0.speaking_language","typeLabel":"enum\u003cstring> | null"},"expressive":{"oneOf":[{"type":"boolean","title":"Expressive","uniqueKey":"voice.oneOf.0.expressive.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Expressive","uniqueKey":"voice.oneOf.0.expressive.oneOf.1","typeLabel":"null"}],"uniqueKey":"voice.oneOf.0.expressive","typeLabel":"boolean | null"},"speed":{"oneOf":[{"type":"number","title":"Speed","maximum":2,"minimum":0.5,"uniqueKey":"voice.oneOf.0.speed.oneOf.0","typeLabel":"number"},{"type":"null","title":"Speed","uniqueKey":"voice.oneOf.0.speed.oneOf.1","typeLabel":"null"}],"uniqueKey":"voice.oneOf.0.speed","typeLabel":"number | null"},"tts_model":{"oneOf":[{"type":"string","title":"Tts Model","enum":["s2.1-pro","drama-3"],"uniqueKey":"voice.oneOf.0.tts_model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Tts Model","uniqueKey":"voice.oneOf.0.tts_model.oneOf.1","typeLabel":"null"}],"uniqueKey":"voice.oneOf.0.tts_model","typeLabel":"enum\u003cstring> | null"},"engine":{"oneOf":[{"type":"string","title":"Engine","description":"Speech engine. live3 (the default for new agents) puts the Fish full-duplex speech model on the call: it listens while it speaks and takes turns on its own. English only: sessions in another language run on fish_tts. fish_tts speaks the model's text through Fish TTS in the agent's voice, and is what agents from before the engine existed run. While the engine is live3, speech recognition is managed automatically by the platform, and switching to live3 turns asr.multilingual on unless the same patch sets it. An agent still on the default voice also starts on the speech model's voice Clara at the switch, unless it had one of the speech model's voices before or the same patch picks a voice. An agent with a voice of its own keeps speaking it.","enum":["fish_tts","live3"],"uniqueKey":"voice.oneOf.0.engine.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Engine","description":"Speech engine. live3 (the default for new agents) puts the Fish full-duplex speech model on the call: it listens while it speaks and takes turns on its own. English only: sessions in another language run on fish_tts. fish_tts speaks the model's text through Fish TTS in the agent's voice, and is what agents from before the engine existed run. While the engine is live3, speech recognition is managed automatically by the platform, and switching to live3 turns asr.multilingual on unless the same patch sets it. An agent still on the default voice also starts on the speech model's voice Clara at the switch, unless it had one of the speech model's voices before or the same patch picks a voice. An agent with a voice of its own keeps speaking it.","uniqueKey":"voice.oneOf.0.engine.oneOf.1","typeLabel":"null"}],"uniqueKey":"voice.oneOf.0.engine","typeLabel":"enum\u003cstring> | null"},"live3_prompt":{"oneOf":[{"type":"string","title":"Live3 Prompt","description":"live3 only. The situation the speech model speaks in: P2 (phone support), DT (drive-thru) or AIR (airline). Empty: the default. Ignored on fish_tts.","maxLength":64,"uniqueKey":"voice.oneOf.0.live3_prompt.oneOf.0","typeLabel":"string"},{"type":"null","title":"Live3 Prompt","description":"live3 only. The situation the speech model speaks in: P2 (phone support), DT (drive-thru) or AIR (airline). Empty: the default. Ignored on fish_tts.","uniqueKey":"voice.oneOf.0.live3_prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"voice.oneOf.0.live3_prompt","typeLabel":"string | null"},"effect":{"oneOf":[{"type":"string","title":"Effect","description":"How the agent's voice sounds on web calls (the console test call, the widget, the SDK). none (default): the clean voice. phone: a handset line, the 300 to 3400 Hz band with the codec's grain. intercom: a small overdriven speaker, as at a drive-thru order post or a door intercom. Phone and WhatsApp calls already sound like a line and ignore it.","enum":["none","phone","intercom"],"uniqueKey":"voice.oneOf.0.effect.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Effect","description":"How the agent's voice sounds on web calls (the console test call, the widget, the SDK). none (default): the clean voice. phone: a handset line, the 300 to 3400 Hz band with the codec's grain. intercom: a small overdriven speaker, as at a drive-thru order post or a door intercom. Phone and WhatsApp calls already sound like a line and ignore it.","uniqueKey":"voice.oneOf.0.effect.oneOf.1","typeLabel":"null"}],"uniqueKey":"voice.oneOf.0.effect","typeLabel":"enum\u003cstring> | null"},"pronunciation_dictionary_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"voice.oneOf.0.pronunciation_dictionary_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Pronunciation Dictionary Ids","maxItems":3,"uniqueKey":"voice.oneOf.0.pronunciation_dictionary_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Pronunciation Dictionary Ids","uniqueKey":"voice.oneOf.0.pronunciation_dictionary_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"voice.oneOf.0.pronunciation_dictionary_ids","typeLabel":"string[] | null"},"background_sound":{"oneOf":[{"type":"object","title":"AgentBackgroundSoundPayload","description":"A looping ambience the worker mixes under the agent's voice. volume is the ambience's gain relative to the agent's voice, 0–1 (default 0.15). custom_asset_id names an uploaded clip (POST /agent/background-sounds) and is required with preset \"custom\", refused otherwise. Replaces the whole object; null resets to off.","properties":{"preset":{"default":"off","enum":["off","office","call_center","restaurant","cafe","city_street","phone_line","phone_line_digital","custom"],"title":"Preset","type":"string","uniqueKey":"voice.oneOf.0.background_sound.oneOf.0.preset","typeLabel":"enum\u003cstring>"},"volume":{"default":0.15,"maximum":1,"minimum":0,"title":"Volume","type":"number","uniqueKey":"voice.oneOf.0.background_sound.oneOf.0.volume","typeLabel":"number"},"custom_asset_id":{"oneOf":[{"type":"string","title":"Custom Asset Id","uniqueKey":"voice.oneOf.0.background_sound.oneOf.0.custom_asset_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Custom Asset Id","uniqueKey":"voice.oneOf.0.background_sound.oneOf.0.custom_asset_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"voice.oneOf.0.background_sound.oneOf.0.custom_asset_id","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"voice.oneOf.0.background_sound.oneOf.0","typeLabel":"AgentBackgroundSoundPayload · object"},{"type":"null","description":"A looping ambience the worker mixes under the agent's voice. volume is the ambience's gain relative to the agent's voice, 0–1 (default 0.15). custom_asset_id names an uploaded clip (POST /agent/background-sounds) and is required with preset \"custom\", refused otherwise. Replaces the whole object; null resets to off.","uniqueKey":"voice.oneOf.0.background_sound.oneOf.1","typeLabel":"null"}],"uniqueKey":"voice.oneOf.0.background_sound","typeLabel":"AgentBackgroundSoundPayload · object | null"}},"additionalProperties":false,"uniqueKey":"voice.oneOf.0","typeLabel":"PublicAgentVoicePatch · object"},{"type":"null","uniqueKey":"voice.oneOf.1","typeLabel":"null"}],"uniqueKey":"voice","typeLabel":"PublicAgentVoicePatch · object | null"},"asr":{"oneOf":[{"type":"object","title":"PublicAgentAsrPatch","properties":{"model":{"oneOf":[{"type":"string","title":"Model","enum":["deepgram:nova-3","elevenlabs:scribe_v2_realtime","elevenlabs:scribe_v2_medical","fish_audio:transcribe-stream-1","fish_audio:transcribe-stream-2","fish_audio:transcribe-stream-1-dev"],"uniqueKey":"asr.oneOf.0.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Model","uniqueKey":"asr.oneOf.0.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"asr.oneOf.0.model","typeLabel":"enum\u003cstring> | null"},"multilingual":{"oneOf":[{"type":"boolean","title":"Multilingual","uniqueKey":"asr.oneOf.0.multilingual.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Multilingual","uniqueKey":"asr.oneOf.0.multilingual.oneOf.1","typeLabel":"null"}],"uniqueKey":"asr.oneOf.0.multilingual","typeLabel":"boolean | null"},"strict_language":{"oneOf":[{"type":"boolean","title":"Strict Language","description":"Enforces voice.speaking_language whatever multilingual says: speech recognized as another language reaches the agent as [unintelligible speech]. Language is detected per utterance, so a short or heavily accented phrase in the speaking language can occasionally be detected as another language and replaced too. With deepgram:nova-3, speech in another language is usually not transcribed at all. Only enable it when you explicitly need to stop the agent from understanding other languages.","uniqueKey":"asr.oneOf.0.strict_language.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Strict Language","description":"Enforces voice.speaking_language whatever multilingual says: speech recognized as another language reaches the agent as [unintelligible speech]. Language is detected per utterance, so a short or heavily accented phrase in the speaking language can occasionally be detected as another language and replaced too. With deepgram:nova-3, speech in another language is usually not transcribed at all. Only enable it when you explicitly need to stop the agent from understanding other languages.","uniqueKey":"asr.oneOf.0.strict_language.oneOf.1","typeLabel":"null"}],"uniqueKey":"asr.oneOf.0.strict_language","typeLabel":"boolean | null"},"keyterms":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"asr.oneOf.0.keyterms.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Keyterms","maxItems":50,"uniqueKey":"asr.oneOf.0.keyterms.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Keyterms","uniqueKey":"asr.oneOf.0.keyterms.oneOf.1","typeLabel":"null"}],"uniqueKey":"asr.oneOf.0.keyterms","typeLabel":"string[] | null"}},"additionalProperties":false,"uniqueKey":"asr.oneOf.0","typeLabel":"PublicAgentAsrPatch · object"},{"type":"null","uniqueKey":"asr.oneOf.1","typeLabel":"null"}],"uniqueKey":"asr","typeLabel":"PublicAgentAsrPatch · object | null"},"conversation":{"oneOf":[{"type":"object","title":"PublicAgentConversationPatch","properties":{"max_duration_seconds":{"oneOf":[{"type":"integer","title":"Max Duration Seconds","maximum":3600,"minimum":60,"uniqueKey":"conversation.oneOf.0.max_duration_seconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Max Duration Seconds","uniqueKey":"conversation.oneOf.0.max_duration_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.max_duration_seconds","typeLabel":"integer | null"},"response_wait_ms":{"oneOf":[{"type":"integer","title":"Response Wait Ms","maximum":2000,"minimum":300,"uniqueKey":"conversation.oneOf.0.response_wait_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Response Wait Ms","uniqueKey":"conversation.oneOf.0.response_wait_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.response_wait_ms","typeLabel":"integer | null"},"eagerness":{"oneOf":[{"type":"string","title":"Eagerness","enum":["relaxed","balanced","eager"],"uniqueKey":"conversation.oneOf.0.eagerness.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Eagerness","uniqueKey":"conversation.oneOf.0.eagerness.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.eagerness","typeLabel":"enum\u003cstring> | null"},"response_max_wait_ms":{"oneOf":[{"type":"integer","title":"Response Max Wait Ms","maximum":4000,"minimum":0,"uniqueKey":"conversation.oneOf.0.response_max_wait_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Response Max Wait Ms","uniqueKey":"conversation.oneOf.0.response_max_wait_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.response_max_wait_ms","typeLabel":"integer | null"},"interruptible":{"oneOf":[{"type":"boolean","title":"Interruptible","uniqueKey":"conversation.oneOf.0.interruptible.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Interruptible","uniqueKey":"conversation.oneOf.0.interruptible.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.interruptible","typeLabel":"boolean | null"},"interruption_sensitivity":{"oneOf":[{"type":"string","title":"Interruption Sensitivity","description":"How much caller speech counts as an interruption while the agent speaks. With `low` the agent stops only for a firm, worded interjection and talks through background noise and short acknowledgements. `balanced` (default) interrupts on normal speech. With `high` the agent stops on the caller's first word. With `immediate` the agent stops at the caller's first sound, so backchannels such as \"okay\" and \"yeah\" stop it too, and it picks up where it stopped when the caller was only backchanneling or did not take the turn. `immediate` is only available to teams it has been enabled for, other teams get a 403 when they set it.","enum":["low","balanced","high","immediate"],"uniqueKey":"conversation.oneOf.0.interruption_sensitivity.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Interruption Sensitivity","description":"How much caller speech counts as an interruption while the agent speaks. With `low` the agent stops only for a firm, worded interjection and talks through background noise and short acknowledgements. `balanced` (default) interrupts on normal speech. With `high` the agent stops on the caller's first word. With `immediate` the agent stops at the caller's first sound, so backchannels such as \"okay\" and \"yeah\" stop it too, and it picks up where it stopped when the caller was only backchanneling or did not take the turn. `immediate` is only available to teams it has been enabled for, other teams get a 403 when they set it.","uniqueKey":"conversation.oneOf.0.interruption_sensitivity.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.interruption_sensitivity","typeLabel":"enum\u003cstring> | null"},"interruption_ignore_phrases":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"conversation.oneOf.0.interruption_ignore_phrases.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Interruption Ignore Phrases","maxItems":50,"uniqueKey":"conversation.oneOf.0.interruption_ignore_phrases.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Interruption Ignore Phrases","uniqueKey":"conversation.oneOf.0.interruption_ignore_phrases.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.interruption_ignore_phrases","typeLabel":"string[] | null"},"backchannel":{"oneOf":[{"type":"object","title":"AgentBackchannelPatch","description":"The agent's backchannels: a short \"mm-hmm\" or \"okay\" when the caller pauses. Applies to speech engines that backchannel, which is live3 today, and is ignored on the others. Fields you leave out keep their value.","properties":{"enabled":{"oneOf":[{"type":"boolean","title":"Enabled","description":"Whether the agent backchannels. Default true. false turns them off: the agent may still add one now and then, and the first sound after the caller stops can come a little later.","uniqueKey":"conversation.oneOf.0.backchannel.oneOf.0.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Enabled","description":"Whether the agent backchannels. Default true. false turns them off: the agent may still add one now and then, and the first sound after the caller stops can come a little later.","uniqueKey":"conversation.oneOf.0.backchannel.oneOf.0.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.backchannel.oneOf.0.enabled","typeLabel":"boolean | null"},"strength":{"oneOf":[{"type":"integer","title":"Strength","description":"How readily the agent backchannels, a whole number from 1 (rarely) to 10 (at nearly every pause). null (default): the speech engine's own setting, 6 on live3. Send null to go back to it. Not used while enabled is false.","maximum":10,"minimum":1,"uniqueKey":"conversation.oneOf.0.backchannel.oneOf.0.strength.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Strength","description":"How readily the agent backchannels, a whole number from 1 (rarely) to 10 (at nearly every pause). null (default): the speech engine's own setting, 6 on live3. Send null to go back to it. Not used while enabled is false.","uniqueKey":"conversation.oneOf.0.backchannel.oneOf.0.strength.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.backchannel.oneOf.0.strength","typeLabel":"integer | null"}},"additionalProperties":false,"uniqueKey":"conversation.oneOf.0.backchannel.oneOf.0","typeLabel":"AgentBackchannelPatch · object"},{"type":"null","description":"The agent's backchannels: a short \"mm-hmm\" or \"okay\" when the caller pauses. Applies to speech engines that backchannel, which is live3 today, and is ignored on the others. Fields you leave out keep their value.","uniqueKey":"conversation.oneOf.0.backchannel.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.backchannel","typeLabel":"AgentBackchannelPatch · object | null"},"speculative_response":{"oneOf":[{"type":"boolean","title":"Speculative Response","uniqueKey":"conversation.oneOf.0.speculative_response.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Speculative Response","uniqueKey":"conversation.oneOf.0.speculative_response.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.speculative_response","typeLabel":"boolean | null"},"reengage":{"oneOf":[{"type":"object","title":"AgentReengagePatch","description":"Silence follow-ups: whether the agent speaks up while the caller stays silent, when, what it says, and what happens after the last follow-up. Fields you send replace the stored value, fields you leave out are kept.","properties":{"enabled":{"oneOf":[{"type":"boolean","title":"Enabled","description":"Whether the agent follows up when the caller stays silent (default false). `steps` sets when and what it says. Turning this off keeps the steps.","uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Enabled","description":"Whether the agent follows up when the caller stays silent (default false). `steps` sets when and what it says. Turning this off keeps the steps.","uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.enabled","typeLabel":"boolean | null"},"steps":{"oneOf":[{"type":"array","items":{"additionalProperties":false,"properties":{"after_seconds":{"description":"Seconds of silence, counted from the end of what the agent last said, before this follow-up, 3 to 600 seconds.","maximum":600,"minimum":3,"title":"After Seconds","type":"integer","isRequired":true,"uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.steps.oneOf.0.items.[INDEX].after_seconds","typeLabel":"integer"},"message":{"default":"","description":"Text the agent says word for word as this follow-up, at most 500 characters. `{{variable}}` placeholders are filled in for each session. \"\" (default) lets the agent word the follow-up itself.","title":"Message","type":"string","uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.steps.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"required":["after_seconds"],"title":"AgentReengageStepPatch","type":"object","uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.steps.oneOf.0.items.[INDEX]","typeLabel":"AgentReengageStepPatch · object"},"title":"Steps","description":"The follow-ups the agent makes while the caller stays silent, in order, 1 to 10 steps. Used only while `enabled` is true. A new agent starts with two steps, after 8 and 10 seconds. When the caller speaks, the sequence starts over from the first step. Agents created before these settings existed keep their earlier behavior until changed: follow-ups after 5 and 10 seconds, then a hangup 10 seconds later. Replaces the whole list. Cannot be sent together with `schedule`.","maxItems":10,"minItems":1,"uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.steps.oneOf.0","typeLabel":"AgentReengageStepPatch · object[]"},{"type":"null","title":"Steps","description":"The follow-ups the agent makes while the caller stays silent, in order, 1 to 10 steps. Used only while `enabled` is true. A new agent starts with two steps, after 8 and 10 seconds. When the caller speaks, the sequence starts over from the first step. Agents created before these settings existed keep their earlier behavior until changed: follow-ups after 5 and 10 seconds, then a hangup 10 seconds later. Replaces the whole list. Cannot be sent together with `schedule`.","uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.steps.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.steps","typeLabel":"AgentReengageStepPatch · object[] | null"},"exhausted_action":{"oneOf":[{"type":"string","title":"Exhausted Action","description":"What happens when the last follow-up goes unanswered. `wait` (what a new agent starts with): the agent stays quiet until hangup_after_seconds ends the call. `hangup`: the agent hangs up after `exhausted_after_seconds` more seconds of silence. hangup_farewell_mode applies to either hangup. Agents created before this setting existed are on `hangup` until changed.","enum":["wait","hangup"],"uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.exhausted_action.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Exhausted Action","description":"What happens when the last follow-up goes unanswered. `wait` (what a new agent starts with): the agent stays quiet until hangup_after_seconds ends the call. `hangup`: the agent hangs up after `exhausted_after_seconds` more seconds of silence. hangup_farewell_mode applies to either hangup. Agents created before this setting existed are on `hangup` until changed.","uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.exhausted_action.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.exhausted_action","typeLabel":"enum\u003cstring> | null"},"exhausted_after_seconds":{"oneOf":[{"type":"integer","title":"Exhausted After Seconds","description":"Seconds of silence after the last follow-up before the agent hangs up, 3 to 600 seconds (default 10). Used only when `exhausted_action` is `hangup`.","maximum":600,"minimum":3,"uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.exhausted_after_seconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Exhausted After Seconds","description":"Seconds of silence after the last follow-up before the agent hangs up, 3 to 600 seconds (default 10). Used only when `exhausted_action` is `hangup`.","uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.exhausted_after_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.exhausted_after_seconds","typeLabel":"integer | null"},"schedule":{"oneOf":[{"type":"object","title":"AgentReengageSchedulePatch","description":"Shorthand for evenly spaced follow-ups, accepted on writes only and never returned. It replaces `steps` with `count` steps (the first after `first_seconds`, each later one after `interval_seconds`) and sets `exhausted_after_seconds` to `interval_seconds` unless the same request sets it. `exhausted_action` stays as it is. Cannot be sent together with `steps`.","required":["first_seconds","interval_seconds","count"],"properties":{"first_seconds":{"description":"Seconds of silence, counted from the end of what the agent last said, before the first follow-up, 3 to 600 seconds.","maximum":600,"minimum":3,"title":"First Seconds","type":"integer","isRequired":true,"uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.schedule.oneOf.0.first_seconds","typeLabel":"integer"},"interval_seconds":{"description":"Seconds of silence after one follow-up before the next, 3 to 600 seconds.","maximum":600,"minimum":3,"title":"Interval Seconds","type":"integer","isRequired":true,"uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.schedule.oneOf.0.interval_seconds","typeLabel":"integer"},"count":{"description":"How many follow-ups, 1 to 10.","maximum":10,"minimum":1,"title":"Count","type":"integer","isRequired":true,"uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.schedule.oneOf.0.count","typeLabel":"integer"},"messages":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.schedule.oneOf.0.messages.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Messages","description":"Texts the agent says word for word, one per follow-up in order, at most `count` items, each with the limits of a step's message. With fewer items than `count` the last one repeats. Omit it and the agent words every follow-up itself.","maxItems":10,"uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.schedule.oneOf.0.messages.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Messages","description":"Texts the agent says word for word, one per follow-up in order, at most `count` items, each with the limits of a step's message. With fewer items than `count` the last one repeats. Omit it and the agent words every follow-up itself.","uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.schedule.oneOf.0.messages.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.schedule.oneOf.0.messages","typeLabel":"string[] | null"}},"additionalProperties":false,"uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.schedule.oneOf.0","typeLabel":"AgentReengageSchedulePatch · object"},{"type":"null","description":"Shorthand for evenly spaced follow-ups, accepted on writes only and never returned. It replaces `steps` with `count` steps (the first after `first_seconds`, each later one after `interval_seconds`) and sets `exhausted_after_seconds` to `interval_seconds` unless the same request sets it. `exhausted_action` stays as it is. Cannot be sent together with `steps`.","uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.schedule.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.reengage.oneOf.0.schedule","typeLabel":"AgentReengageSchedulePatch · object | null"}},"additionalProperties":false,"uniqueKey":"conversation.oneOf.0.reengage.oneOf.0","typeLabel":"AgentReengagePatch · object"},{"type":"null","description":"Silence follow-ups: whether the agent speaks up while the caller stays silent, when, what it says, and what happens after the last follow-up. Fields you send replace the stored value, fields you leave out are kept.","uniqueKey":"conversation.oneOf.0.reengage.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.reengage","typeLabel":"AgentReengagePatch · object | null"},"hangup_after_seconds":{"oneOf":[{"type":"integer","title":"Hangup After Seconds","maximum":3600,"minimum":10,"uniqueKey":"conversation.oneOf.0.hangup_after_seconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Hangup After Seconds","uniqueKey":"conversation.oneOf.0.hangup_after_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.hangup_after_seconds","typeLabel":"integer | null"},"hangup_farewell_mode":{"oneOf":[{"type":"string","title":"Hangup Farewell Mode","description":"What the agent says before a silence hangup. `off` (default) hangs up without a word, `generated` says a short goodbye, `fixed` says hangup_farewell_message. A `fixed` mode with an empty message falls back to `generated`. If the caller speaks during the goodbye, the call goes on.","enum":["generated","fixed","off"],"uniqueKey":"conversation.oneOf.0.hangup_farewell_mode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Hangup Farewell Mode","description":"What the agent says before a silence hangup. `off` (default) hangs up without a word, `generated` says a short goodbye, `fixed` says hangup_farewell_message. A `fixed` mode with an empty message falls back to `generated`. If the caller speaks during the goodbye, the call goes on.","uniqueKey":"conversation.oneOf.0.hangup_farewell_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.hangup_farewell_mode","typeLabel":"enum\u003cstring> | null"},"hangup_farewell_message":{"oneOf":[{"type":"string","title":"Hangup Farewell Message","description":"The goodbye said verbatim in the `fixed` hangup_farewell_mode, at most 500 characters. `{{variable}}` placeholders are filled in for each session. \"\" clears it.","uniqueKey":"conversation.oneOf.0.hangup_farewell_message.oneOf.0","typeLabel":"string"},{"type":"null","title":"Hangup Farewell Message","description":"The goodbye said verbatim in the `fixed` hangup_farewell_mode, at most 500 characters. `{{variable}}` placeholders are filled in for each session. \"\" clears it.","uniqueKey":"conversation.oneOf.0.hangup_farewell_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.hangup_farewell_message","typeLabel":"string | null"},"record_audio":{"oneOf":[{"type":"boolean","title":"Record Audio","uniqueKey":"conversation.oneOf.0.record_audio.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Record Audio","uniqueKey":"conversation.oneOf.0.record_audio.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.record_audio","typeLabel":"boolean | null"},"timezone":{"oneOf":[{"type":"string","title":"Timezone","maxLength":64,"uniqueKey":"conversation.oneOf.0.timezone.oneOf.0","typeLabel":"string"},{"type":"null","title":"Timezone","uniqueKey":"conversation.oneOf.0.timezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.timezone","typeLabel":"string | null"},"transfer_destinations":{"oneOf":[{"type":"array","items":{"additionalProperties":false,"properties":{"type":{"default":"phone","enum":["phone","sip"],"title":"Type","type":"string","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"label":{"default":"","title":"Label","type":"string","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].label","typeLabel":"string"},"phone_number":{"oneOf":[{"type":"string","title":"Phone Number","description":"Destination in E.164, for type `phone`. Calls through a number bought on the platform can only be transferred to the supported countries. A number in another country is dialed by your own carrier, so it needs an imported SIP number: any imported number for a cold transfer, one with termination configured for a warm transfer. Without such a number in the team the write is rejected. On a call through any other number the destination is left out, and the agent cannot transfer to it.","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].phone_number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Phone Number","description":"Destination in E.164, for type `phone`. Calls through a number bought on the platform can only be transferred to the supported countries. A number in another country is dialed by your own carrier, so it needs an imported SIP number: any imported number for a cold transfer, one with termination configured for a warm transfer. Without such a number in the team the write is rejected. On a call through any other number the destination is left out, and the agent cannot transfer to it.","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].phone_number","typeLabel":"string | null"},"sip_uri":{"oneOf":[{"type":"string","title":"Sip Uri","description":"Destination for type `sip`: the SIP address to transfer the call to, written `sip:user@host[:port][;transport=udp|tcp|tls]`, for example `sip:support@pbx.example.com`. The host must be a public domain name or IP address, and a `sips:` URI uses TLS. The URI holds only the address, in at most 512 characters: a password, headers or any other parameter is rejected, so use `auth_username` and `auth_password` for credentials and `headers` for SIP headers. Dynamic variables are not supported in the URI.","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].sip_uri.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sip Uri","description":"Destination for type `sip`: the SIP address to transfer the call to, written `sip:user@host[:port][;transport=udp|tcp|tls]`, for example `sip:support@pbx.example.com`. The host must be a public domain name or IP address, and a `sips:` URI uses TLS. The URI holds only the address, in at most 512 characters: a password, headers or any other parameter is rejected, so use `auth_username` and `auth_password` for credentials and `headers` for SIP headers. Dynamic variables are not supported in the URI.","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].sip_uri.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].sip_uri","typeLabel":"string | null"},"headers":{"additionalProperties":{"type":"string","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].headers.additionalProperties","typeLabel":"string"},"description":"SIP destinations only: custom SIP headers sent with the transferred call, as an object of header names and values, up to 20. A name starts with `X-` followed by letters, digits and hyphens, at most 64 characters in all, or is `User-to-User`. Names are not case-sensitive and `X-Fish-` names are reserved for headers the platform adds itself. A value is 1 to 1024 printable ASCII characters (128 for `User-to-User`) and can contain dynamic variables such as `{{customer_id}}`, filled in when the session starts. When a value cannot be filled in for a call, for example because a variable has no value and no default, the destination is left out of that call. A warm transfer sends the headers on the call the agent places to the destination. A cold transfer hands them to the caller's carrier, which decides whether to pass them on.","title":"Headers","type":"object","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].headers","typeLabel":"Headers · object"},"description":{"default":"","title":"Description","type":"string","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].description","typeLabel":"string"},"mode":{"default":"cold","enum":["cold","warm"],"title":"Mode","type":"string","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].mode","typeLabel":"enum\u003cstring>"},"warm_connect":{"default":"confirm","enum":["confirm","briefing","direct"],"title":"Warm Connect","type":"string","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].warm_connect","typeLabel":"enum\u003cstring>"},"warm_briefing_instructions":{"default":"","title":"Warm Briefing Instructions","type":"string","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].warm_briefing_instructions","typeLabel":"string"},"warm_briefing_speed":{"oneOf":[{"type":"number","title":"Warm Briefing Speed","maximum":2,"minimum":0.5,"uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].warm_briefing_speed.oneOf.0","typeLabel":"number"},{"type":"null","title":"Warm Briefing Speed","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].warm_briefing_speed.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].warm_briefing_speed","typeLabel":"number | null"},"warm_ring_timeout_seconds":{"default":30,"title":"Warm Ring Timeout Seconds","type":"integer","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].warm_ring_timeout_seconds","typeLabel":"integer"},"warm_confirm_timeout_seconds":{"default":60,"title":"Warm Confirm Timeout Seconds","type":"integer","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].warm_confirm_timeout_seconds","typeLabel":"integer"},"warm_human_detection":{"default":false,"description":"Applies to warm transfers whose warm_connect is `confirm` or `briefing`, and is ignored for cold transfers and `direct`. When true, once the destination answers, the agent stays silent until the other side speaks, then classifies the pickup. A person is briefed as usual. Voicemail or an IVR (phone menu) ends the transfer as failed. A hold queue or silence keeps the agent waiting until `warm_confirm_timeout_seconds` ends the attempt as unreachable. A failed transfer follows `on_failure`. Leave it off for destinations whose people are only reachable through a phone menu, because the menu stops the transfer.","title":"Warm Human Detection","type":"boolean","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].warm_human_detection","typeLabel":"boolean"},"warm_press_keys":{"additionalProperties":false,"properties":{"enabled":{"default":false,"description":"When true, on the call to this destination the agent can press phone keys to get through the menu (`_press_keys`), and stay silent while the menu or a hold message plays (`_skip_turn`), before it briefs the person who answers. It works the same whether the caller's own call is inbound or outbound, and does not depend on `tools.system_tools.press_keys`.","title":"Enabled","type":"boolean","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].warm_press_keys.enabled","typeLabel":"boolean"},"instructions":{"default":"","description":"How to get through this number's phone menu, written for the agent, such as `Press 2 for billing, then enter extension 204.` Optional, at most 500 characters. `{{variable}}` placeholders are filled in for each session. Without it the agent picks keys from the destination's label and description and from what the caller asked for. Used only while enabled is true, and kept when it is false.","title":"Instructions","type":"string","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].warm_press_keys.instructions","typeLabel":"string"}},"title":"AgentTransferPressKeysPatch","type":"object","description":"Beta. Key presses on the call in which the agent reaches this destination, for a number that an automated phone menu answers before a person does. Applies to warm transfers whose warm_connect is `confirm` or `briefing`, and is ignored for cold transfers and `direct`. It has no effect while warm_human_detection is true, because that setting ends the transfer when a phone menu answers. The time spent in the menu counts toward `warm_confirm_timeout_seconds`, so such a destination usually needs a longer one. Absent means off. The list of destinations is replaced as a whole, so a destination sent without the field has it off.","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].warm_press_keys","typeLabel":"AgentTransferPressKeysPatch · object"},"warm_consult_uses_agent_settings":{"default":true,"description":"Compatibility option for warm transfers whose warm_connect is `confirm` or `briefing`, ignored for cold transfers and `direct`. Absent or true (recommended): on the call in which the agent briefs the destination, the agent uses the same turn-taking (response timing: `eagerness`, `response_wait_ms` and `response_max_wait_ms`), interruption (`interruption_sensitivity` and `interruption_ignore_phrases`) and language (`voice.speaking_language`) settings as on the call with the caller. False: that call keeps the older fixed behavior. Destinations that existed before this setting were set to false so their behavior did not change. Either way the destination can always interrupt the agent on that call, whatever `interruptible` is set to. A destination sent without the field keeps the value of the existing destination it replaces (same label, else a renamed one with the same phone number or SIP URI) and is true when it is new. Send true to switch a destination to the agent's settings.","title":"Warm Consult Uses Agent Settings","type":"boolean","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].warm_consult_uses_agent_settings","typeLabel":"boolean"},"on_failure":{"additionalProperties":false,"properties":{"action":{"default":"return_to_agent","enum":["return_to_agent","end_call"],"title":"Action","type":"string","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].on_failure.action","typeLabel":"enum\u003cstring>"},"message":{"default":"","title":"Message","type":"string","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].on_failure.message","typeLabel":"string"}},"title":"AgentTransferOnFailurePatch","type":"object","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].on_failure","typeLabel":"AgentTransferOnFailurePatch · object"},"announcement_mode":{"default":"generated","enum":["generated","fixed","off"],"title":"Announcement Mode","type":"string","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].announcement_mode","typeLabel":"enum\u003cstring>"},"announcement_message":{"default":"","title":"Announcement Message","type":"string","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].announcement_message","typeLabel":"string"},"auth_username":{"oneOf":[{"type":"string","title":"Auth Username","description":"SIP destinations in `warm` mode only: the digest username the destination's SIP server asks for. The agent places the call to a warm destination itself and answers the server's 401 or 407 challenge with this username and the stored password. A response that carries it means a password is stored. A `cold` destination sent with it is rejected: a cold transfer hands the call to the caller's carrier, which dials the destination and never has the credentials. Send null or an empty string to remove the credentials. A destination sent without the field keeps the credentials of the existing destination it replaces (same label, else a renamed one with the same SIP URI) while it stays a warm SIP destination on the same host and port, and loses them otherwise.","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].auth_username.oneOf.0","typeLabel":"string"},{"type":"null","title":"Auth Username","description":"SIP destinations in `warm` mode only: the digest username the destination's SIP server asks for. The agent places the call to a warm destination itself and answers the server's 401 or 407 challenge with this username and the stored password. A response that carries it means a password is stored. A `cold` destination sent with it is rejected: a cold transfer hands the call to the caller's carrier, which dials the destination and never has the credentials. Send null or an empty string to remove the credentials. A destination sent without the field keeps the credentials of the existing destination it replaces (same label, else a renamed one with the same SIP URI) while it stays a warm SIP destination on the same host and port, and loses them otherwise.","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].auth_username.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].auth_username","typeLabel":"string | null"},"auth_password":{"oneOf":[{"type":"string","title":"Auth Password","description":"Write-only digest password that goes with `auth_username`. It is stored encrypted and no response ever returns it. Omit it, or send an empty string, to keep the password already stored for a destination with the same SIP host and port and the same `auth_username`. It is required when the destination is new or its host, port or username changed. Sending the password that is already stored changes nothing. A new password takes effect on calls once the agent is published.","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].auth_password.oneOf.0","typeLabel":"string"},{"type":"null","title":"Auth Password","description":"Write-only digest password that goes with `auth_username`. It is stored encrypted and no response ever returns it. Omit it, or send an empty string, to keep the password already stored for a destination with the same SIP host and port and the same `auth_username`. It is required when the destination is new or its host, port or username changed. Sending the password that is already stored changes nothing. A new password takes effect on calls once the agent is published.","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].auth_password.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX].auth_password","typeLabel":"string | null"}},"title":"AgentTransferDestinationPatch","type":"object","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0.items.[INDEX]","typeLabel":"AgentTransferDestinationPatch · object"},"title":"Transfer Destinations","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.0","typeLabel":"AgentTransferDestinationPatch · object[]"},{"type":"null","title":"Transfer Destinations","uniqueKey":"conversation.oneOf.0.transfer_destinations.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.transfer_destinations","typeLabel":"AgentTransferDestinationPatch · object[] | null"},"transfer_refuse_questions":{"oneOf":[{"type":"boolean","title":"Transfer Refuse Questions","uniqueKey":"conversation.oneOf.0.transfer_refuse_questions.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Transfer Refuse Questions","uniqueKey":"conversation.oneOf.0.transfer_refuse_questions.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.transfer_refuse_questions","typeLabel":"boolean | null"},"outbound":{"oneOf":[{"type":"object","title":"AgentOutboundPatch","properties":{"amd_enabled":{"default":true,"title":"Amd Enabled","type":"boolean","uniqueKey":"conversation.oneOf.0.outbound.oneOf.0.amd_enabled","typeLabel":"boolean"},"voicemail":{"oneOf":[{"type":"object","title":"AgentOutboundVoicemailPatch","properties":{"action":{"default":"hangup","enum":["hangup","leave_message","leave_prompt_message"],"title":"Action","type":"string","uniqueKey":"conversation.oneOf.0.outbound.oneOf.0.voicemail.oneOf.0.action","typeLabel":"enum\u003cstring>"},"message":{"default":"","maxLength":10000,"title":"Message","type":"string","uniqueKey":"conversation.oneOf.0.outbound.oneOf.0.voicemail.oneOf.0.message","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"conversation.oneOf.0.outbound.oneOf.0.voicemail.oneOf.0","typeLabel":"AgentOutboundVoicemailPatch · object"},{"type":"null","uniqueKey":"conversation.oneOf.0.outbound.oneOf.0.voicemail.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.outbound.oneOf.0.voicemail","typeLabel":"AgentOutboundVoicemailPatch · object | null"}},"additionalProperties":false,"uniqueKey":"conversation.oneOf.0.outbound.oneOf.0","typeLabel":"AgentOutboundPatch · object"},{"type":"null","uniqueKey":"conversation.oneOf.0.outbound.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.outbound","typeLabel":"AgentOutboundPatch · object | null"},"keypad_menu":{"oneOf":[{"type":"object","title":"AgentKeypadMenuPatch","properties":{"enabled":{"default":false,"title":"Enabled","type":"boolean","uniqueKey":"conversation.oneOf.0.keypad_menu.oneOf.0.enabled","typeLabel":"boolean"},"prompt":{"default":"","title":"Prompt","type":"string","uniqueKey":"conversation.oneOf.0.keypad_menu.oneOf.0.prompt","typeLabel":"string"},"options":{"default":[],"items":{"additionalProperties":false,"properties":{"key":{"title":"Key","type":"string","isRequired":true,"uniqueKey":"conversation.oneOf.0.keypad_menu.oneOf.0.options.items.[INDEX].key","typeLabel":"string"},"value":{"title":"Value","type":"string","isRequired":true,"uniqueKey":"conversation.oneOf.0.keypad_menu.oneOf.0.options.items.[INDEX].value","typeLabel":"string"}},"required":["key","value"],"title":"AgentKeypadMenuOptionPatch","type":"object","uniqueKey":"conversation.oneOf.0.keypad_menu.oneOf.0.options.items.[INDEX]","typeLabel":"AgentKeypadMenuOptionPatch · object"},"maxItems":12,"title":"Options","type":"array","uniqueKey":"conversation.oneOf.0.keypad_menu.oneOf.0.options","typeLabel":"AgentKeypadMenuOptionPatch · object[]"},"accept_speech":{"default":true,"title":"Accept Speech","type":"boolean","uniqueKey":"conversation.oneOf.0.keypad_menu.oneOf.0.accept_speech","typeLabel":"boolean"},"variable":{"default":"menu_choice","title":"Variable","type":"string","uniqueKey":"conversation.oneOf.0.keypad_menu.oneOf.0.variable","typeLabel":"string"},"no_input_timeout_seconds":{"default":5,"maximum":15,"minimum":2,"title":"No Input Timeout Seconds","type":"integer","uniqueKey":"conversation.oneOf.0.keypad_menu.oneOf.0.no_input_timeout_seconds","typeLabel":"integer"},"max_attempts":{"default":2,"maximum":3,"minimum":1,"title":"Max Attempts","type":"integer","uniqueKey":"conversation.oneOf.0.keypad_menu.oneOf.0.max_attempts","typeLabel":"integer"},"retry_message":{"default":"","title":"Retry Message","type":"string","uniqueKey":"conversation.oneOf.0.keypad_menu.oneOf.0.retry_message","typeLabel":"string"},"fallback_value":{"default":"","title":"Fallback Value","type":"string","uniqueKey":"conversation.oneOf.0.keypad_menu.oneOf.0.fallback_value","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"conversation.oneOf.0.keypad_menu.oneOf.0","typeLabel":"AgentKeypadMenuPatch · object"},{"type":"null","uniqueKey":"conversation.oneOf.0.keypad_menu.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.keypad_menu","typeLabel":"AgentKeypadMenuPatch · object | null"},"keypad_input":{"oneOf":[{"type":"object","title":"AgentKeypadInputPatch","properties":{"enabled":{"default":false,"title":"Enabled","type":"boolean","uniqueKey":"conversation.oneOf.0.keypad_input.oneOf.0.enabled","typeLabel":"boolean"},"terminator":{"default":"#","enum":["#","*","none"],"title":"Terminator","type":"string","uniqueKey":"conversation.oneOf.0.keypad_input.oneOf.0.terminator","typeLabel":"enum\u003cstring>"},"inter_digit_timeout_seconds":{"default":2,"maximum":10,"minimum":1,"title":"Inter Digit Timeout Seconds","type":"integer","uniqueKey":"conversation.oneOf.0.keypad_input.oneOf.0.inter_digit_timeout_seconds","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"conversation.oneOf.0.keypad_input.oneOf.0","typeLabel":"AgentKeypadInputPatch · object"},{"type":"null","uniqueKey":"conversation.oneOf.0.keypad_input.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.keypad_input","typeLabel":"AgentKeypadInputPatch · object | null"},"echo_guard":{"oneOf":[{"type":"object","title":"AgentEchoGuardPatch","description":"Echo guard. For the first 3 seconds after the agent first starts talking in a call, the caller cannot interrupt it and anything the caller says while the agent is talking is not heard. This stops the agent's own voice, echoing back from a speakerphone or laptop, from cutting it off. Per channel: true on, false off, null uses the default (on for web_voice and phone_inbound, off for phone_outbound). Channels you send replace the stored value, null on a channel resets it to the default, channels you leave out are kept. null resets every channel.","properties":{"web_voice":{"oneOf":[{"type":"boolean","title":"Web Voice","description":"Voice calls in a browser or app (web widget, SDK, test calls). Null uses the default (on).","uniqueKey":"conversation.oneOf.0.echo_guard.oneOf.0.web_voice.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Web Voice","description":"Voice calls in a browser or app (web widget, SDK, test calls). Null uses the default (on).","uniqueKey":"conversation.oneOf.0.echo_guard.oneOf.0.web_voice.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.echo_guard.oneOf.0.web_voice","typeLabel":"boolean | null"},"phone_inbound":{"oneOf":[{"type":"boolean","title":"Phone Inbound","description":"Inbound phone calls. Null uses the default (on).","uniqueKey":"conversation.oneOf.0.echo_guard.oneOf.0.phone_inbound.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Phone Inbound","description":"Inbound phone calls. Null uses the default (on).","uniqueKey":"conversation.oneOf.0.echo_guard.oneOf.0.phone_inbound.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.echo_guard.oneOf.0.phone_inbound","typeLabel":"boolean | null"},"phone_outbound":{"oneOf":[{"type":"boolean","title":"Phone Outbound","description":"Outbound phone calls. Null uses the default (off).","uniqueKey":"conversation.oneOf.0.echo_guard.oneOf.0.phone_outbound.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Phone Outbound","description":"Outbound phone calls. Null uses the default (off).","uniqueKey":"conversation.oneOf.0.echo_guard.oneOf.0.phone_outbound.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.echo_guard.oneOf.0.phone_outbound","typeLabel":"boolean | null"}},"additionalProperties":false,"uniqueKey":"conversation.oneOf.0.echo_guard.oneOf.0","typeLabel":"AgentEchoGuardPatch · object"},{"type":"null","description":"Echo guard. For the first 3 seconds after the agent first starts talking in a call, the caller cannot interrupt it and anything the caller says while the agent is talking is not heard. This stops the agent's own voice, echoing back from a speakerphone or laptop, from cutting it off. Per channel: true on, false off, null uses the default (on for web_voice and phone_inbound, off for phone_outbound). Channels you send replace the stored value, null on a channel resets it to the default, channels you leave out are kept. null resets every channel.","uniqueKey":"conversation.oneOf.0.echo_guard.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.echo_guard","typeLabel":"AgentEchoGuardPatch · object | null"},"turn_detector":{"oneOf":[{"type":"object","title":"AgentTurnDetectorPatch","description":"Turn detector: how the agent decides the caller has finished speaking, so it can answer. Applies to agents whose `voice.engine` is `fish_tts`. It has no effect when `asr.model` is a Fish realtime model (`fish_audio:transcribe-stream-1` or `fish_audio:transcribe-stream-2`), which detects the end of the turn itself. Fields you send replace the stored values, fields you leave out are kept. null on a field, or for the whole object, goes back to the default, which the response reports.","properties":{"model":{"oneOf":[{"type":"string","title":"Model","description":"The model that judges the end of the caller's turn. `fish` is Fish Audio's turn detection model. It waits for the end of the caller's thought, so a caller who pauses between two sentences or between groups of digits is less often answered in the middle. `legacy` is the earlier model. It answers sooner after a sentence that sounds complete. The default is `fish`. An account whose agents ran the earlier model before this setting existed has `legacy` as its default, so they behave as they did. An agent that never set the model reads the default, and a new agent is created with it.","enum":["fish","legacy"],"uniqueKey":"conversation.oneOf.0.turn_detector.oneOf.0.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Model","description":"The model that judges the end of the caller's turn. `fish` is Fish Audio's turn detection model. It waits for the end of the caller's thought, so a caller who pauses between two sentences or between groups of digits is less often answered in the middle. `legacy` is the earlier model. It answers sooner after a sentence that sounds complete. The default is `fish`. An account whose agents ran the earlier model before this setting existed has `legacy` as its default, so they behave as they did. An agent that never set the model reads the default, and a new agent is created with it.","uniqueKey":"conversation.oneOf.0.turn_detector.oneOf.0.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.turn_detector.oneOf.0.model","typeLabel":"enum\u003cstring> | null"}},"additionalProperties":false,"uniqueKey":"conversation.oneOf.0.turn_detector.oneOf.0","typeLabel":"AgentTurnDetectorPatch · object"},{"type":"null","description":"Turn detector: how the agent decides the caller has finished speaking, so it can answer. Applies to agents whose `voice.engine` is `fish_tts`. It has no effect when `asr.model` is a Fish realtime model (`fish_audio:transcribe-stream-1` or `fish_audio:transcribe-stream-2`), which detects the end of the turn itself. Fields you send replace the stored values, fields you leave out are kept. null on a field, or for the whole object, goes back to the default, which the response reports.","uniqueKey":"conversation.oneOf.0.turn_detector.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.oneOf.0.turn_detector","typeLabel":"AgentTurnDetectorPatch · object | null"}},"additionalProperties":false,"uniqueKey":"conversation.oneOf.0","typeLabel":"PublicAgentConversationPatch · object"},{"type":"null","uniqueKey":"conversation.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation","typeLabel":"PublicAgentConversationPatch · object | null"},"tools":{"oneOf":[{"type":"object","title":"PublicAgentToolsPatch","properties":{"enabled":{"oneOf":[{"type":"boolean","title":"Enabled","uniqueKey":"tools.oneOf.0.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Enabled","uniqueKey":"tools.oneOf.0.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.oneOf.0.enabled","typeLabel":"boolean | null"},"tool_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"tools.oneOf.0.tool_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Tool Ids","description":"Replaces the attached tool set wholesale. Every id must be an existing tool in the agent's workspace, else 422.","uniqueKey":"tools.oneOf.0.tool_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Tool Ids","description":"Replaces the attached tool set wholesale. Every id must be an existing tool in the agent's workspace, else 422.","uniqueKey":"tools.oneOf.0.tool_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.oneOf.0.tool_ids","typeLabel":"string[] | null"},"system_tools":{"oneOf":[{"type":"object","title":"PublicSystemToolsPatch","properties":{"hang_up_call":{"oneOf":[{"type":"boolean","title":"Hang Up Call","uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.hang_up_call.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Hang Up Call","uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.hang_up_call.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.hang_up_call","typeLabel":"boolean | null"},"hang_up_call_farewell_mode":{"oneOf":[{"type":"string","title":"Hang Up Call Farewell Mode","enum":["generated","fixed","off"],"uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.hang_up_call_farewell_mode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Hang Up Call Farewell Mode","uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.hang_up_call_farewell_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.hang_up_call_farewell_mode","typeLabel":"enum\u003cstring> | null"},"hang_up_call_farewell_message":{"oneOf":[{"type":"string","title":"Hang Up Call Farewell Message","maxLength":1000,"uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.hang_up_call_farewell_message.oneOf.0","typeLabel":"string"},{"type":"null","title":"Hang Up Call Farewell Message","uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.hang_up_call_farewell_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.hang_up_call_farewell_message","typeLabel":"string | null"},"hang_up_call_refuse_questions":{"oneOf":[{"type":"boolean","title":"Hang Up Call Refuse Questions","uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.hang_up_call_refuse_questions.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Hang Up Call Refuse Questions","uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.hang_up_call_refuse_questions.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.hang_up_call_refuse_questions","typeLabel":"boolean | null"},"press_keys":{"oneOf":[{"type":"object","title":"PublicPressKeysPatch","description":"Beta. Key presses on outbound phone calls, for calls that reach an automated phone menu before a person. The fields sent are written, the others stay as they are.","properties":{"enabled":{"oneOf":[{"type":"boolean","title":"Enabled","description":"When true, the agent gets two tools on outbound phone calls. `_press_keys` presses phone keys to get through an automated phone menu, and `_skip_turn` stays silent for a turn while a menu or a hold message plays. An agent test on the `phone_outbound` channel has them as well. Inbound calls and web and API sessions ignore it.","uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.press_keys.oneOf.0.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Enabled","description":"When true, the agent gets two tools on outbound phone calls. `_press_keys` presses phone keys to get through an automated phone menu, and `_skip_turn` stays silent for a turn while a menu or a hold message plays. An agent test on the `phone_outbound` channel has them as well. Inbound calls and web and API sessions ignore it.","uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.press_keys.oneOf.0.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.press_keys.oneOf.0.enabled","typeLabel":"boolean | null"}},"additionalProperties":false,"uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.press_keys.oneOf.0","typeLabel":"PublicPressKeysPatch · object"},{"type":"null","description":"Beta. Key presses on outbound phone calls, for calls that reach an automated phone menu before a person. The fields sent are written, the others stay as they are.","uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.press_keys.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.oneOf.0.system_tools.oneOf.0.press_keys","typeLabel":"PublicPressKeysPatch · object | null"}},"additionalProperties":false,"uniqueKey":"tools.oneOf.0.system_tools.oneOf.0","typeLabel":"PublicSystemToolsPatch · object"},{"type":"null","uniqueKey":"tools.oneOf.0.system_tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.oneOf.0.system_tools","typeLabel":"PublicSystemToolsPatch · object | null"}},"additionalProperties":false,"uniqueKey":"tools.oneOf.0","typeLabel":"PublicAgentToolsPatch · object"},{"type":"null","uniqueKey":"tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools","typeLabel":"PublicAgentToolsPatch · object | null"},"webhooks":{"oneOf":[{"type":"object","title":"PublicAgentWebhooksPatch","properties":{"conversation_init":{"oneOf":[{"type":"object","title":"PublicConversationInitWebhookPayload","description":"Pre-call webhook for inbound phone calls: called while the call is being set up; the response's dynamic_variables render into the published prompt before the agent speaks. An explicit null removes it. Takes effect after the next publish.","required":["url"],"properties":{"url":{"maxLength":4000,"minLength":1,"title":"Url","type":"string","isRequired":true,"uniqueKey":"webhooks.oneOf.0.conversation_init.oneOf.0.url","typeLabel":"string"},"secret":{"oneOf":[{"type":"string","title":"Secret","description":"Optional HMAC-SHA256 signing secret (X-Fish-Webhook-Signature). Write-only: reads report `has_secret` instead of the value. Omit it (or send null) to keep the secret already stored for the same url; send an empty string to remove it.","maxLength":256,"uniqueKey":"webhooks.oneOf.0.conversation_init.oneOf.0.secret.oneOf.0","typeLabel":"string"},{"type":"null","title":"Secret","description":"Optional HMAC-SHA256 signing secret (X-Fish-Webhook-Signature). Write-only: reads report `has_secret` instead of the value. Omit it (or send null) to keep the secret already stored for the same url; send an empty string to remove it.","uniqueKey":"webhooks.oneOf.0.conversation_init.oneOf.0.secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhooks.oneOf.0.conversation_init.oneOf.0.secret","typeLabel":"string | null"},"keep_previous_secret_for_seconds":{"oneOf":[{"type":"integer","title":"Keep Previous Secret For Seconds","description":"Secret rotation. When `secret` replaces the stored secret, the replaced one keeps signing as a second `v1` for this many seconds (at most 7 days), so your endpoint can switch without dropping a delivery. Omit it to switch at once. With the secret kept, 0 ends an open rotation window and any other value is ignored. Takes effect after the next publish.","maximum":604800,"minimum":0,"uniqueKey":"webhooks.oneOf.0.conversation_init.oneOf.0.keep_previous_secret_for_seconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Keep Previous Secret For Seconds","description":"Secret rotation. When `secret` replaces the stored secret, the replaced one keeps signing as a second `v1` for this many seconds (at most 7 days), so your endpoint can switch without dropping a delivery. Omit it to switch at once. With the secret kept, 0 ends an open rotation window and any other value is ignored. Takes effect after the next publish.","uniqueKey":"webhooks.oneOf.0.conversation_init.oneOf.0.keep_previous_secret_for_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhooks.oneOf.0.conversation_init.oneOf.0.keep_previous_secret_for_seconds","typeLabel":"integer | null"},"timeout_seconds":{"default":5,"description":"How long the platform waits for the endpoint before connecting the call without variables.","maximum":8,"minimum":1,"title":"Timeout Seconds","type":"number","uniqueKey":"webhooks.oneOf.0.conversation_init.oneOf.0.timeout_seconds","typeLabel":"number"}},"additionalProperties":false,"uniqueKey":"webhooks.oneOf.0.conversation_init.oneOf.0","typeLabel":"PublicConversationInitWebhookPayload · object"},{"type":"null","description":"Pre-call webhook for inbound phone calls: called while the call is being set up; the response's dynamic_variables render into the published prompt before the agent speaks. An explicit null removes it. Takes effect after the next publish.","uniqueKey":"webhooks.oneOf.0.conversation_init.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhooks.oneOf.0.conversation_init","typeLabel":"PublicConversationInitWebhookPayload · object | null"},"post_call":{"oneOf":[{"type":"array","items":{"additionalProperties":false,"properties":{"url":{"maxLength":4000,"minLength":1,"title":"Url","type":"string","isRequired":true,"uniqueKey":"webhooks.oneOf.0.post_call.oneOf.0.items.[INDEX].url","typeLabel":"string"},"secret":{"oneOf":[{"type":"string","title":"Secret","description":"Optional HMAC-SHA256 signing secret (X-Fish-Webhook-Signature). Write-only: reads report `has_secret` instead of the value. Omit it (or send null) to keep the secret already stored for the same url; send an empty string to remove it.","maxLength":256,"uniqueKey":"webhooks.oneOf.0.post_call.oneOf.0.items.[INDEX].secret.oneOf.0","typeLabel":"string"},{"type":"null","title":"Secret","description":"Optional HMAC-SHA256 signing secret (X-Fish-Webhook-Signature). Write-only: reads report `has_secret` instead of the value. Omit it (or send null) to keep the secret already stored for the same url; send an empty string to remove it.","uniqueKey":"webhooks.oneOf.0.post_call.oneOf.0.items.[INDEX].secret.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhooks.oneOf.0.post_call.oneOf.0.items.[INDEX].secret","typeLabel":"string | null"},"keep_previous_secret_for_seconds":{"oneOf":[{"type":"integer","title":"Keep Previous Secret For Seconds","description":"Secret rotation. When `secret` replaces the stored secret, the replaced one keeps signing as a second `v1` for this many seconds (at most 7 days), so your endpoint can switch without dropping a delivery. Omit it to switch at once. With the secret kept, 0 ends an open rotation window and any other value is ignored. Takes effect after the next publish.","maximum":604800,"minimum":0,"uniqueKey":"webhooks.oneOf.0.post_call.oneOf.0.items.[INDEX].keep_previous_secret_for_seconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Keep Previous Secret For Seconds","description":"Secret rotation. When `secret` replaces the stored secret, the replaced one keeps signing as a second `v1` for this many seconds (at most 7 days), so your endpoint can switch without dropping a delivery. Omit it to switch at once. With the secret kept, 0 ends an open rotation window and any other value is ignored. Takes effect after the next publish.","uniqueKey":"webhooks.oneOf.0.post_call.oneOf.0.items.[INDEX].keep_previous_secret_for_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhooks.oneOf.0.post_call.oneOf.0.items.[INDEX].keep_previous_secret_for_seconds","typeLabel":"integer | null"}},"required":["url"],"title":"PublicPostCallWebhookPayload","type":"object","uniqueKey":"webhooks.oneOf.0.post_call.oneOf.0.items.[INDEX]","typeLabel":"PublicPostCallWebhookPayload · object"},"title":"Post Call","description":"Up to 5 endpoints, each receiving every post-call event. Replaces the configured list wholesale; a single object is still accepted and is stored as a one-element list, and null (or an empty list) clears every endpoint. URLs must be unique.","maxItems":5,"uniqueKey":"webhooks.oneOf.0.post_call.oneOf.0","typeLabel":"PublicPostCallWebhookPayload · object[]"},{"type":"null","title":"Post Call","description":"Up to 5 endpoints, each receiving every post-call event. Replaces the configured list wholesale; a single object is still accepted and is stored as a one-element list, and null (or an empty list) clears every endpoint. URLs must be unique.","uniqueKey":"webhooks.oneOf.0.post_call.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhooks.oneOf.0.post_call","typeLabel":"PublicPostCallWebhookPayload · object[] | null"}},"additionalProperties":false,"uniqueKey":"webhooks.oneOf.0","typeLabel":"PublicAgentWebhooksPatch · object"},{"type":"null","uniqueKey":"webhooks.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhooks","typeLabel":"PublicAgentWebhooksPatch · object | null"},"knowledge_base":{"oneOf":[{"type":"object","title":"PublicAgentKnowledgeBasePatch","properties":{"enabled":{"oneOf":[{"type":"boolean","title":"Enabled","description":"Whether the agent retrieves from its attached sources. Defaults to true when omitted alongside a non-empty knowledge_source_ids; send false explicitly to attach sources without using them yet.","uniqueKey":"knowledge_base.oneOf.0.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Enabled","description":"Whether the agent retrieves from its attached sources. Defaults to true when omitted alongside a non-empty knowledge_source_ids; send false explicitly to attach sources without using them yet.","uniqueKey":"knowledge_base.oneOf.0.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"knowledge_base.oneOf.0.enabled","typeLabel":"boolean | null"},"knowledge_source_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"knowledge_base.oneOf.0.knowledge_source_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Knowledge Source Ids","description":"Replaces the attached knowledge sources wholesale. Every id must be an existing knowledge source visible to the agent, else 422.","uniqueKey":"knowledge_base.oneOf.0.knowledge_source_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Knowledge Source Ids","description":"Replaces the attached knowledge sources wholesale. Every id must be an existing knowledge source visible to the agent, else 422.","uniqueKey":"knowledge_base.oneOf.0.knowledge_source_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"knowledge_base.oneOf.0.knowledge_source_ids","typeLabel":"string[] | null"}},"additionalProperties":false,"uniqueKey":"knowledge_base.oneOf.0","typeLabel":"PublicAgentKnowledgeBasePatch · object"},{"type":"null","uniqueKey":"knowledge_base.oneOf.1","typeLabel":"null"}],"uniqueKey":"knowledge_base","typeLabel":"PublicAgentKnowledgeBasePatch · object | null"},"analysis":{"oneOf":[{"type":"object","title":"PublicAgentAnalysisPatch","properties":{"summary":{"oneOf":[{"type":"object","title":"PublicAgentAnalysisSummaryPatch","properties":{"enabled":{"default":true,"title":"Enabled","type":"boolean","uniqueKey":"analysis.oneOf.0.summary.oneOf.0.enabled","typeLabel":"boolean"},"prompt":{"oneOf":[{"type":"string","title":"Prompt","maxLength":1000,"uniqueKey":"analysis.oneOf.0.summary.oneOf.0.prompt.oneOf.0","typeLabel":"string"},{"type":"null","title":"Prompt","uniqueKey":"analysis.oneOf.0.summary.oneOf.0.prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.oneOf.0.summary.oneOf.0.prompt","typeLabel":"string | null"},"language":{"default":"en","enum":["en","ja","zh","ko","es","fr","de","pt","it","nl","ar","hi","id","tr","ru","bg","sr","hr","cs","sk","pl","uk","ro","hu","el","sv","da","no","fi","et","lv","lt","ca","he","fa","ur","kk","ka","hy","bn","ta","te","kn","mr","gu","pa","ne","th","vi","ms","tl","af"],"title":"Language","type":"string","uniqueKey":"analysis.oneOf.0.summary.oneOf.0.language","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"analysis.oneOf.0.summary.oneOf.0","typeLabel":"PublicAgentAnalysisSummaryPatch · object"},{"type":"null","uniqueKey":"analysis.oneOf.0.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.oneOf.0.summary","typeLabel":"PublicAgentAnalysisSummaryPatch · object | null"},"data_fields":{"oneOf":[{"type":"array","items":{"additionalProperties":false,"properties":{"name":{"pattern":"^[a-z][a-z0-9_]{0,63}$","title":"Name","type":"string","isRequired":true,"uniqueKey":"analysis.oneOf.0.data_fields.oneOf.0.items.[INDEX].name","typeLabel":"string"},"type":{"default":"text","enum":["boolean","text","number","enum"],"title":"Type","type":"string","uniqueKey":"analysis.oneOf.0.data_fields.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"description":{"default":"","maxLength":500,"title":"Description","type":"string","uniqueKey":"analysis.oneOf.0.data_fields.oneOf.0.items.[INDEX].description","typeLabel":"string"},"enum_options":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"analysis.oneOf.0.data_fields.oneOf.0.items.[INDEX].enum_options.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Enum Options","uniqueKey":"analysis.oneOf.0.data_fields.oneOf.0.items.[INDEX].enum_options.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Enum Options","uniqueKey":"analysis.oneOf.0.data_fields.oneOf.0.items.[INDEX].enum_options.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.oneOf.0.data_fields.oneOf.0.items.[INDEX].enum_options","typeLabel":"string[] | null"}},"required":["name"],"title":"PublicAgentAnalysisDataField","type":"object","uniqueKey":"analysis.oneOf.0.data_fields.oneOf.0.items.[INDEX]","typeLabel":"PublicAgentAnalysisDataField · object"},"title":"Data Fields","maxItems":20,"uniqueKey":"analysis.oneOf.0.data_fields.oneOf.0","typeLabel":"PublicAgentAnalysisDataField · object[]"},{"type":"null","title":"Data Fields","uniqueKey":"analysis.oneOf.0.data_fields.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.oneOf.0.data_fields","typeLabel":"PublicAgentAnalysisDataField · object[] | null"},"criteria":{"oneOf":[{"type":"array","items":{"additionalProperties":false,"properties":{"name":{"pattern":"^[a-z][a-z0-9_]{0,63}$","title":"Name","type":"string","isRequired":true,"uniqueKey":"analysis.oneOf.0.criteria.oneOf.0.items.[INDEX].name","typeLabel":"string"},"description":{"default":"","maxLength":500,"title":"Description","type":"string","uniqueKey":"analysis.oneOf.0.criteria.oneOf.0.items.[INDEX].description","typeLabel":"string"}},"required":["name"],"title":"PublicAgentAnalysisCriterion","type":"object","uniqueKey":"analysis.oneOf.0.criteria.oneOf.0.items.[INDEX]","typeLabel":"PublicAgentAnalysisCriterion · object"},"title":"Criteria","maxItems":10,"uniqueKey":"analysis.oneOf.0.criteria.oneOf.0","typeLabel":"PublicAgentAnalysisCriterion · object[]"},{"type":"null","title":"Criteria","uniqueKey":"analysis.oneOf.0.criteria.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.oneOf.0.criteria","typeLabel":"PublicAgentAnalysisCriterion · object[] | null"}},"additionalProperties":false,"uniqueKey":"analysis.oneOf.0","typeLabel":"PublicAgentAnalysisPatch · object"},{"type":"null","uniqueKey":"analysis.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis","typeLabel":"PublicAgentAnalysisPatch · object | null"},"guardrails":{"oneOf":[{"type":"object","title":"PublicAgentGuardrailsPatch","properties":{"focus":{"oneOf":[{"type":"boolean","title":"Focus","uniqueKey":"guardrails.oneOf.0.focus.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Focus","uniqueKey":"guardrails.oneOf.0.focus.oneOf.1","typeLabel":"null"}],"uniqueKey":"guardrails.oneOf.0.focus","typeLabel":"boolean | null"},"manipulation":{"oneOf":[{"type":"boolean","title":"Manipulation","uniqueKey":"guardrails.oneOf.0.manipulation.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Manipulation","uniqueKey":"guardrails.oneOf.0.manipulation.oneOf.1","typeLabel":"null"}],"uniqueKey":"guardrails.oneOf.0.manipulation","typeLabel":"boolean | null"},"pre_tool_speech":{"oneOf":[{"type":"boolean","title":"Pre Tool Speech","uniqueKey":"guardrails.oneOf.0.pre_tool_speech.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Pre Tool Speech","uniqueKey":"guardrails.oneOf.0.pre_tool_speech.oneOf.1","typeLabel":"null"}],"uniqueKey":"guardrails.oneOf.0.pre_tool_speech","typeLabel":"boolean | null"}},"additionalProperties":false,"uniqueKey":"guardrails.oneOf.0","typeLabel":"PublicAgentGuardrailsPatch · object"},{"type":"null","uniqueKey":"guardrails.oneOf.1","typeLabel":"null"}],"uniqueKey":"guardrails","typeLabel":"PublicAgentGuardrailsPatch · object | null"},"context":{"oneOf":[{"type":"object","title":"PublicAgentContextPatch","properties":{"current_time":{"oneOf":[{"type":"boolean","title":"Current Time","uniqueKey":"context.oneOf.0.current_time.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Current Time","uniqueKey":"context.oneOf.0.current_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"context.oneOf.0.current_time","typeLabel":"boolean | null"}},"additionalProperties":false,"uniqueKey":"context.oneOf.0","typeLabel":"PublicAgentContextPatch · object"},{"type":"null","uniqueKey":"context.oneOf.1","typeLabel":"null"}],"uniqueKey":"context","typeLabel":"PublicAgentContextPatch · object | null"},"llm":{"oneOf":[{"type":"object","title":"PublicAgentLLMPatch","properties":{"model":{"oneOf":[{"type":"string","title":"Model","enum":["google/gemini-3.5-flash-lite","google/gemini-3.6-flash","google/gemini-3.8-flash","google/gemini-3.6-flash-priority","google/gemini-3.8-flash-priority","google/gemini-3.5-flash-lite-priority","google/gemini-4-hydrogen","google/gemini-4-neon","google/gemini-4-hydrogen-priority","google/gemini-4-neon-priority","google/gemini-2.5-flash","google/gemma-4-26b-a4b-it","anthropic/claude-haiku-4.5","anthropic/claude-sonnet-4.6","anthropic/claude-sonnet-5.5","anthropic/claude-opus-5.5","anthropic/claude-fable-5.1","anthropic/claude-fable-5.2","openai/gpt-5.6-luna","openai/gpt-6-luna","openai/gpt-5","openai/gpt-6.1-sol","openai/gpt-6.1-terra","openai/gpt-6-astra","openai/gpt-6.2-sol","openai/gpt-4o","openai/gpt-4.1","openai/gpt-5.6-luna-fast","openai/gpt-6-luna-fast","openai/gpt-6.1-terra-fast","openai/gpt-6.1-sol-fast","openai/gpt-6-astra-fast","openai/gpt-6.2-sol-fast","openai/gpt-4o-fast","openai/gpt-4.1-fast"],"uniqueKey":"llm.oneOf.0.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Model","uniqueKey":"llm.oneOf.0.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.model","typeLabel":"enum\u003cstring> | null"},"custom":{"oneOf":[{"type":"object","title":"PublicAgentLLMCustomConfig","description":"Your own OpenAI-compatible endpoint; mutually exclusive with `model`, explicit null reverts to the platform model.","required":["base_url","model"],"properties":{"base_url":{"maxLength":2000,"minLength":1,"title":"Base Url","type":"string","isRequired":true,"uniqueKey":"llm.oneOf.0.custom.oneOf.0.base_url","typeLabel":"string"},"model":{"maxLength":256,"minLength":1,"title":"Model","type":"string","isRequired":true,"uniqueKey":"llm.oneOf.0.custom.oneOf.0.model","typeLabel":"string"},"api_key":{"oneOf":[{"type":"string","title":"Api Key","description":"Sent to your endpoint as the Authorization bearer token; write-only, reads return null. Required when introducing `custom`; omit to keep the stored key when updating.","maxLength":4096,"minLength":1,"uniqueKey":"llm.oneOf.0.custom.oneOf.0.api_key.oneOf.0","typeLabel":"string"},{"type":"null","title":"Api Key","description":"Sent to your endpoint as the Authorization bearer token; write-only, reads return null. Required when introducing `custom`; omit to keep the stored key when updating.","uniqueKey":"llm.oneOf.0.custom.oneOf.0.api_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.custom.oneOf.0.api_key","typeLabel":"string | null"},"headers":{"oneOf":[{"type":"object","title":"Headers","description":"Extra headers sent on every request to your endpoint, such as `x-vercel-protection-bypass`. Reads return the stored map. Omit to keep the stored headers, `{}` clears them.","additionalProperties":{"type":"string","uniqueKey":"llm.oneOf.0.custom.oneOf.0.headers.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"llm.oneOf.0.custom.oneOf.0.headers.oneOf.0","typeLabel":"Headers · object"},{"type":"null","title":"Headers","description":"Extra headers sent on every request to your endpoint, such as `x-vercel-protection-bypass`. Reads return the stored map. Omit to keep the stored headers, `{}` clears them.","uniqueKey":"llm.oneOf.0.custom.oneOf.0.headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.custom.oneOf.0.headers","typeLabel":"Headers · object | null"}},"additionalProperties":false,"uniqueKey":"llm.oneOf.0.custom.oneOf.0","typeLabel":"PublicAgentLLMCustomConfig · object"},{"type":"null","description":"Your own OpenAI-compatible endpoint; mutually exclusive with `model`, explicit null reverts to the platform model.","uniqueKey":"llm.oneOf.0.custom.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.custom","typeLabel":"PublicAgentLLMCustomConfig · object | null"},"fallback":{"oneOf":[{"type":"object","title":"PublicAgentLLMFallback","description":"What the agent tries after its model fails. `platform` (default): the platform's built-in fallback for platform models, none for `custom`. `manual`: `models` in order. `off`: no other model. Replaces the whole fallback; null means `platform`.","required":["mode"],"properties":{"mode":{"enum":["platform","manual","off"],"title":"Mode","type":"string","isRequired":true,"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.mode","typeLabel":"enum\u003cstring>"},"models":{"oneOf":[{"type":"array","items":{"additionalProperties":false,"properties":{"model":{"oneOf":[{"type":"string","title":"Model","enum":["google/gemini-3.5-flash-lite","google/gemini-3.6-flash","google/gemini-3.8-flash","google/gemini-3.6-flash-priority","google/gemini-3.8-flash-priority","google/gemini-3.5-flash-lite-priority","google/gemini-4-hydrogen","google/gemini-4-neon","google/gemini-4-hydrogen-priority","google/gemini-4-neon-priority","google/gemini-2.5-flash","google/gemma-4-26b-a4b-it","anthropic/claude-haiku-4.5","anthropic/claude-sonnet-4.6","anthropic/claude-sonnet-5.5","anthropic/claude-opus-5.5","anthropic/claude-fable-5.1","anthropic/claude-fable-5.2","openai/gpt-5.6-luna","openai/gpt-6-luna","openai/gpt-5","openai/gpt-6.1-sol","openai/gpt-6.1-terra","openai/gpt-6-astra","openai/gpt-6.2-sol","openai/gpt-4o","openai/gpt-4.1","openai/gpt-5.6-luna-fast","openai/gpt-6-luna-fast","openai/gpt-6.1-terra-fast","openai/gpt-6.1-sol-fast","openai/gpt-6-astra-fast","openai/gpt-6.2-sol-fast","openai/gpt-4o-fast","openai/gpt-4.1-fast"],"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Model","uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].model.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].model","typeLabel":"enum\u003cstring> | null"},"custom":{"oneOf":[{"type":"object","title":"PublicAgentLLMCustomConfig","description":"A customer endpoint, with the same rules as `llm.custom`. Omit `api_key` to keep the stored key of the fallback with the same `base_url` and `model`.","required":["base_url","model"],"properties":{"base_url":{"maxLength":2000,"minLength":1,"title":"Base Url","type":"string","isRequired":true,"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom.oneOf.0.base_url","typeLabel":"string"},"model":{"maxLength":256,"minLength":1,"title":"Model","type":"string","isRequired":true,"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom.oneOf.0.model","typeLabel":"string"},"api_key":{"oneOf":[{"type":"string","title":"Api Key","description":"Sent to your endpoint as the Authorization bearer token; write-only, reads return null. Required when introducing `custom`; omit to keep the stored key when updating.","maxLength":4096,"minLength":1,"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom.oneOf.0.api_key.oneOf.0","typeLabel":"string"},{"type":"null","title":"Api Key","description":"Sent to your endpoint as the Authorization bearer token; write-only, reads return null. Required when introducing `custom`; omit to keep the stored key when updating.","uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom.oneOf.0.api_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom.oneOf.0.api_key","typeLabel":"string | null"},"headers":{"oneOf":[{"type":"object","title":"Headers","description":"Extra headers sent on every request to your endpoint, such as `x-vercel-protection-bypass`. Reads return the stored map. Omit to keep the stored headers, `{}` clears them.","additionalProperties":{"type":"string","uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom.oneOf.0.headers.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom.oneOf.0.headers.oneOf.0","typeLabel":"Headers · object"},{"type":"null","title":"Headers","description":"Extra headers sent on every request to your endpoint, such as `x-vercel-protection-bypass`. Reads return the stored map. Omit to keep the stored headers, `{}` clears them.","uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom.oneOf.0.headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom.oneOf.0.headers","typeLabel":"Headers · object | null"}},"additionalProperties":false,"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom.oneOf.0","typeLabel":"PublicAgentLLMCustomConfig · object"},{"type":"null","description":"A customer endpoint, with the same rules as `llm.custom`. Omit `api_key` to keep the stored key of the fallback with the same `base_url` and `model`.","uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom","typeLabel":"PublicAgentLLMCustomConfig · object | null"},"ttft_timeout_ms":{"oneOf":[{"type":"integer","title":"Ttft Timeout Ms","description":"Milliseconds the model gets to start its reply (first text or tool call). Past it, the reply moves to the next fallback model. Not set: defaults to 5000 ms (5 seconds).","maximum":30000,"minimum":500,"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].ttft_timeout_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Ttft Timeout Ms","description":"Milliseconds the model gets to start its reply (first text or tool call). Past it, the reply moves to the next fallback model. Not set: defaults to 5000 ms (5 seconds).","uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].ttft_timeout_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].ttft_timeout_ms","typeLabel":"integer | null"},"total_timeout_ms":{"oneOf":[{"type":"integer","title":"Total Timeout Ms","description":"Milliseconds the model gets to finish its reply. Past it, a reply nothing of which was spoken yet moves to the next fallback model; one already being spoken fails like any failed reply. At least `ttft_timeout_ms` when both are set. Not set: no limit.","maximum":120000,"minimum":1000,"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].total_timeout_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Total Timeout Ms","description":"Milliseconds the model gets to finish its reply. Past it, a reply nothing of which was spoken yet moves to the next fallback model; one already being spoken fails like any failed reply. At least `ttft_timeout_ms` when both are set. Not set: no limit.","uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].total_timeout_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].total_timeout_ms","typeLabel":"integer | null"},"parallel":{"oneOf":[{"type":"object","title":"AgentLLMParallelPayload","description":"First entry only: request this model together with the agent's own model. Both requests bill their tokens.","properties":{"kick_in_ms":{"default":1500,"description":"The agent's own model keeps the reply if its first token comes within this many milliseconds; past it, this fallback's reply is used. The other request is cancelled.","maximum":10000,"minimum":300,"title":"Kick In Ms","type":"integer","uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].parallel.oneOf.0.kick_in_ms","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].parallel.oneOf.0","typeLabel":"AgentLLMParallelPayload · object"},{"type":"null","description":"First entry only: request this model together with the agent's own model. Both requests bill their tokens.","uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].parallel.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].parallel","typeLabel":"AgentLLMParallelPayload · object | null"}},"title":"PublicAgentLLMFallbackModel","type":"object","uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX]","typeLabel":"PublicAgentLLMFallbackModel · object"},"title":"Models","description":"Fallback models in order, 1 to 3. Only with mode `manual`.","uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.0","typeLabel":"PublicAgentLLMFallbackModel · object[]"},{"type":"null","title":"Models","description":"Fallback models in order, 1 to 3. Only with mode `manual`.","uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.models","typeLabel":"PublicAgentLLMFallbackModel · object[] | null"},"primary":{"oneOf":[{"type":"object","title":"AgentLLMTimeoutsPayload","description":"The agent's own model's timeouts. Only with mode `manual`.","properties":{"ttft_timeout_ms":{"oneOf":[{"type":"integer","title":"Ttft Timeout Ms","description":"Milliseconds the model gets to start its reply (first text or tool call). Past it, the reply moves to the next fallback model. Not set: defaults to 5000 ms (5 seconds).","maximum":30000,"minimum":500,"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.primary.oneOf.0.ttft_timeout_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Ttft Timeout Ms","description":"Milliseconds the model gets to start its reply (first text or tool call). Past it, the reply moves to the next fallback model. Not set: defaults to 5000 ms (5 seconds).","uniqueKey":"llm.oneOf.0.fallback.oneOf.0.primary.oneOf.0.ttft_timeout_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.primary.oneOf.0.ttft_timeout_ms","typeLabel":"integer | null"},"total_timeout_ms":{"oneOf":[{"type":"integer","title":"Total Timeout Ms","description":"Milliseconds the model gets to finish its reply. Past it, a reply nothing of which was spoken yet moves to the next fallback model; one already being spoken fails like any failed reply. At least `ttft_timeout_ms` when both are set. Not set: no limit.","maximum":120000,"minimum":1000,"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.primary.oneOf.0.total_timeout_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Total Timeout Ms","description":"Milliseconds the model gets to finish its reply. Past it, a reply nothing of which was spoken yet moves to the next fallback model; one already being spoken fails like any failed reply. At least `ttft_timeout_ms` when both are set. Not set: no limit.","uniqueKey":"llm.oneOf.0.fallback.oneOf.0.primary.oneOf.0.total_timeout_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.primary.oneOf.0.total_timeout_ms","typeLabel":"integer | null"}},"additionalProperties":false,"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.primary.oneOf.0","typeLabel":"AgentLLMTimeoutsPayload · object"},{"type":"null","description":"The agent's own model's timeouts. Only with mode `manual`.","uniqueKey":"llm.oneOf.0.fallback.oneOf.0.primary.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.fallback.oneOf.0.primary","typeLabel":"AgentLLMTimeoutsPayload · object | null"}},"additionalProperties":false,"uniqueKey":"llm.oneOf.0.fallback.oneOf.0","typeLabel":"PublicAgentLLMFallback · object"},{"type":"null","description":"What the agent tries after its model fails. `platform` (default): the platform's built-in fallback for platform models, none for `custom`. `manual`: `models` in order. `off`: no other model. Replaces the whole fallback; null means `platform`.","uniqueKey":"llm.oneOf.0.fallback.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.fallback","typeLabel":"PublicAgentLLMFallback · object | null"}},"additionalProperties":false,"uniqueKey":"llm.oneOf.0","typeLabel":"PublicAgentLLMPatch · object"},{"type":"null","uniqueKey":"llm.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm","typeLabel":"PublicAgentLLMPatch · object | null"},"variables":{"oneOf":[{"type":"object","title":"PublicAgentVariablesPatch","description":"Default values for the {{placeholders}} in the configured text, used when the session supplies none (the map replaces as a whole), and on_missing for a placeholder with neither: keep leaves it as written (default), empty renders it as empty text, reject refuses the session.","properties":{"defaults":{"oneOf":[{"type":"object","title":"Defaults","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"variables.oneOf.0.defaults.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"variables.oneOf.0.defaults.oneOf.0.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"variables.oneOf.0.defaults.oneOf.0.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"variables.oneOf.0.defaults.oneOf.0.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"variables.oneOf.0.defaults.oneOf.0.additionalProperties","typeLabel":"string | integer | number | boolean"},"uniqueKey":"variables.oneOf.0.defaults.oneOf.0","typeLabel":"Defaults · object"},{"type":"null","title":"Defaults","uniqueKey":"variables.oneOf.0.defaults.oneOf.1","typeLabel":"null"}],"uniqueKey":"variables.oneOf.0.defaults","typeLabel":"Defaults · object | null"},"on_missing":{"oneOf":[{"type":"string","title":"On Missing","enum":["keep","empty","reject"],"uniqueKey":"variables.oneOf.0.on_missing.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"On Missing","uniqueKey":"variables.oneOf.0.on_missing.oneOf.1","typeLabel":"null"}],"uniqueKey":"variables.oneOf.0.on_missing","typeLabel":"enum\u003cstring> | null"}},"additionalProperties":false,"uniqueKey":"variables.oneOf.0","typeLabel":"PublicAgentVariablesPatch · object"},{"type":"null","description":"Default values for the {{placeholders}} in the configured text, used when the session supplies none (the map replaces as a whole), and on_missing for a placeholder with neither: keep leaves it as written (default), empty renders it as empty text, reject refuses the session.","uniqueKey":"variables.oneOf.1","typeLabel":"null"}],"uniqueKey":"variables","typeLabel":"PublicAgentVariablesPatch · object | null"}},"title":"PublicAgentConfigPatchPayload","type":"object","uniqueKey":"","typeLabel":"PublicAgentConfigPatchPayload · object"},"examples":{"Example":{"title":"Example","value":{"prompt":{"system_prompt":"\u003cstring>","first_message":"\u003cstring>","first_message_prompt":"\u003cstring>","first_message_max_wait_ms":3000,"first_message_interruptible":true},"voice":{"voice_id":"\u003cstring>","expressive":true,"speed":1.25,"live3_prompt":"\u003cstring>","pronunciation_dictionary_ids":["\u003cstring>"],"background_sound":{"preset":"off","volume":0.15,"custom_asset_id":"\u003cstring>"}},"asr":{"multilingual":true,"strict_language":true,"keyterms":["\u003cstring>"]},"conversation":{"max_duration_seconds":1830,"response_wait_ms":1150,"response_max_wait_ms":2000,"interruptible":true,"interruption_ignore_phrases":["\u003cstring>"],"backchannel":{"enabled":true,"strength":5},"speculative_response":true,"reengage":{"enabled":true,"steps":[{"after_seconds":301,"message":""}],"exhausted_after_seconds":301,"schedule":{"first_seconds":301,"interval_seconds":301,"count":5,"messages":["\u003cstring>"]}},"hangup_after_seconds":1805,"hangup_farewell_message":"\u003cstring>","record_audio":true,"timezone":"\u003cstring>","transfer_destinations":[{"type":"phone","label":"","phone_number":"\u003cstring>","sip_uri":"\u003cstring>","headers":{},"description":"","mode":"cold","warm_connect":"confirm","warm_briefing_instructions":"","warm_briefing_speed":1.25,"warm_ring_timeout_seconds":30,"warm_confirm_timeout_seconds":60,"warm_human_detection":false,"warm_press_keys":{"enabled":false,"instructions":""},"warm_consult_uses_agent_settings":true,"on_failure":{"action":"return_to_agent","message":""},"announcement_mode":"generated","announcement_message":"","auth_username":"\u003cstring>","auth_password":"\u003cstring>"}],"transfer_refuse_questions":true,"outbound":{"amd_enabled":true,"voicemail":{"action":"hangup","message":""}},"keypad_menu":{"enabled":false,"prompt":"","options":[],"accept_speech":true,"variable":"menu_choice","no_input_timeout_seconds":5,"max_attempts":2,"retry_message":"","fallback_value":""},"keypad_input":{"enabled":false,"terminator":"#","inter_digit_timeout_seconds":2},"echo_guard":{"web_voice":true,"phone_inbound":true,"phone_outbound":true},"turn_detector":{}},"tools":{"enabled":true,"tool_ids":["\u003cstring>"],"system_tools":{"hang_up_call":true,"hang_up_call_farewell_message":"\u003cstring>","hang_up_call_refuse_questions":true,"press_keys":{"enabled":true}}},"webhooks":{"conversation_init":{"url":"\u003cstring>","secret":"\u003cstring>","keep_previous_secret_for_seconds":302400,"timeout_seconds":5},"post_call":[{"url":"\u003cstring>","secret":"\u003cstring>","keep_previous_secret_for_seconds":302400}]},"knowledge_base":{"enabled":true,"knowledge_source_ids":["\u003cstring>"]},"analysis":{"summary":{"enabled":true,"prompt":"\u003cstring>","language":"en"},"data_fields":[{"name":"\u003cstring>","type":"text","description":"","enum_options":["\u003cstring>"]}],"criteria":[{"name":"\u003cstring>","description":""}]},"guardrails":{"focus":true,"manipulation":true,"pre_tool_speech":true},"context":{"current_time":true},"llm":{"custom":{"base_url":"\u003cstring>","model":"\u003cstring>","api_key":"\u003cstring>","headers":{}},"fallback":{"models":[{"custom":{"base_url":"\u003cstring>","model":"\u003cstring>","api_key":"\u003cstring>","headers":{}},"ttft_timeout_ms":15250,"total_timeout_ms":60500,"parallel":{"kick_in_ms":1500}}],"primary":{"ttft_timeout_ms":15250,"total_timeout_ms":60500}}},"variables":{"defaults":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"61bdf8f0-3e41-47a6-ab1e-00399cb36361":{"description":"Request fulfilled, document follows","headers":{},"content":{"application/json":{"schema":{"properties":{"agent_id":{"title":"Agent Id","type":"string","isRequired":true,"uniqueKey":"agent_id","typeLabel":"string"},"config_hash":{"description":"Opaque content hash of this configuration as stored. On a draft it is the config_hash the next publish gives the version, so it equals the live version's config_hash when nothing is unpublished. Pass it to Publish Agent as expected_config_hash.","title":"Config Hash","type":"string","isRequired":true,"uniqueKey":"config_hash","typeLabel":"string"},"prompt":{"description":"The prompt section as a read returns it: the opener's interruption choice\nis always `true` or `false`. Nothing is stored for it (a stored `null` and\na row from before the field both read `true`), so a write and the config\nhash are untouched.","properties":{"system_prompt":{"default":"","title":"System Prompt","type":"string","uniqueKey":"prompt.system_prompt","typeLabel":"string"},"first_message_mode":{"default":"prompt","enum":["off","fixed","prompt"],"title":"First Message Mode","type":"string","uniqueKey":"prompt.first_message_mode","typeLabel":"enum\u003cstring>"},"first_message":{"default":"Hi! Thanks for calling — how can I help you today?","title":"First Message","type":"string","uniqueKey":"prompt.first_message","typeLabel":"string"},"first_message_prompt":{"default":"Greet the caller and ask what you can help with.","title":"First Message Prompt","type":"string","uniqueKey":"prompt.first_message_prompt","typeLabel":"string"},"first_message_start":{"default":"agent_first","description":"When the opener plays. `agent_first` (default): the agent speaks as soon as the call connects. `wait_for_caller`: the agent waits for the caller to speak first and plays the opener anyway once `first_message_max_wait_ms` has passed. `wait_for_caller` needs a `fixed` or `prompt` opener: with `first_message_mode` `off` the write is rejected with 422, and the stored values stay as they were. With a `fixed` opener the agent speaks after the caller does, or when the wait runs out; with a `prompt` opener it answers what the caller said first.","enum":["agent_first","wait_for_caller"],"title":"First Message Start","type":"string","uniqueKey":"prompt.first_message_start","typeLabel":"enum\u003cstring>"},"first_message_max_wait_ms":{"default":3000,"description":"Milliseconds (1000-5000, default 3000) a `wait_for_caller` agent waits before it speaks anyway. Stored but has no effect while `first_message_start` is `agent_first`.","maximum":5000,"minimum":1000,"title":"First Message Max Wait Ms","type":"integer","uniqueKey":"prompt.first_message_max_wait_ms","typeLabel":"integer"},"first_message_interruptible":{"default":true,"description":"Whether the caller can cut the opener off. `true`: interruptible. `false`: protected, the opener always plays to the end and what the caller says meanwhile is dropped, not answered afterwards. `null` or omitted (default): interruptible, the same as `true`. It does not follow `conversation.interruptible`. Reads always return `true` or `false`.","title":"First Message Interruptible","type":"boolean","uniqueKey":"prompt.first_message_interruptible","typeLabel":"boolean"}},"title":"AgentPromptConfigView","type":"object","isRequired":true,"uniqueKey":"prompt","typeLabel":"AgentPromptConfigView · object"},"voice":{"description":"The voice section as the public API reads it: without the console-only\nsentence buffering switch, live-3 playout and live-3 self-ASR model.","properties":{"voice_id":{"description":"The agent's voice: a Voice Library voice or one of your clones by id, or with engine live3 one of the speech model's own voices by its lowercase name (clara, nora, owen, marco, milo, jonah, harper, patricia, and for the DT situation maddie, ethan, tyler, brianna). A name is rejected while the engine is fish_tts. When a session of an agent on one of the names runs on Fish TTS (another language, or the speech model unavailable), it speaks a Voice Library counterpart of that voice.","title":"Voice Id","type":"string","isRequired":true,"uniqueKey":"voice.voice_id","typeLabel":"string"},"speaking_language":{"default":"en","enum":["en","ja","zh","ko","es","fr","de","pt","it","nl","ar","hi","id","tr","ru","bg","sr","hr","cs","sk","pl","uk","ro","hu","el","sv","da","no","fi","et","lv","lt","ca","he","fa","ur","kk","ka","hy","bn","ta","te","kn","mr","gu","pa","ne","th","vi","ms","tl","af"],"title":"Speaking Language","type":"string","uniqueKey":"voice.speaking_language","typeLabel":"enum\u003cstring>"},"expressive":{"default":false,"title":"Expressive","type":"boolean","uniqueKey":"voice.expressive","typeLabel":"boolean"},"speed":{"default":1,"maximum":2,"minimum":0.5,"title":"Speed","type":"number","uniqueKey":"voice.speed","typeLabel":"number"},"tts_model":{"default":"s2.1-pro","enum":["s2.1-pro","drama-3"],"title":"Tts Model","type":"string","uniqueKey":"voice.tts_model","typeLabel":"enum\u003cstring>"},"engine":{"default":"fish_tts","description":"Speech engine. live3 (the default for new agents) puts the Fish full-duplex speech model on the call: it listens while it speaks and takes turns on its own. English only: sessions in another language run on fish_tts. fish_tts speaks the model's text through Fish TTS in the agent's voice, and is what agents from before the engine existed run. While the engine is live3, speech recognition is managed automatically by the platform, and switching to live3 turns asr.multilingual on unless the same patch sets it. An agent still on the default voice also starts on the speech model's voice Clara at the switch, unless it had one of the speech model's voices before or the same patch picks a voice. An agent with a voice of its own keeps speaking it.","enum":["fish_tts","live3"],"title":"Engine","type":"string","uniqueKey":"voice.engine","typeLabel":"enum\u003cstring>"},"live3_prompt":{"oneOf":[{"type":"string","title":"Live3 Prompt","description":"live3 only. The situation the speech model speaks in: P2 (phone support), DT (drive-thru) or AIR (airline). Empty: the default. Ignored on fish_tts.","pattern":"^[A-Za-z0-9_-]{1,64}$","uniqueKey":"voice.live3_prompt.oneOf.0","typeLabel":"string"},{"type":"null","title":"Live3 Prompt","description":"live3 only. The situation the speech model speaks in: P2 (phone support), DT (drive-thru) or AIR (airline). Empty: the default. Ignored on fish_tts.","uniqueKey":"voice.live3_prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"voice.live3_prompt","typeLabel":"string | null"},"effect":{"default":"none","description":"How the agent's voice sounds on web calls (the console test call, the widget, the SDK). none (default): the clean voice. phone: a handset line, the 300 to 3400 Hz band with the codec's grain. intercom: a small overdriven speaker, as at a drive-thru order post or a door intercom. Phone and WhatsApp calls already sound like a line and ignore it.","enum":["none","phone","intercom"],"title":"Effect","type":"string","uniqueKey":"voice.effect","typeLabel":"enum\u003cstring>"},"pronunciation_dictionary_ids":{"items":{"type":"string","uniqueKey":"voice.pronunciation_dictionary_ids.items.[INDEX]","typeLabel":"string"},"title":"Pronunciation Dictionary Ids","type":"array","uniqueKey":"voice.pronunciation_dictionary_ids","typeLabel":"string[]"},"background_sound":{"description":"A looping ambience the worker mixes under the agent's voice. volume is the ambience's gain relative to the agent's voice, 0–1 (default 0.15). custom_asset_id names an uploaded clip (POST /agent/background-sounds) and is required with preset \"custom\", refused otherwise. Replaces the whole object; null resets to off.","properties":{"preset":{"default":"off","enum":["off","office","call_center","restaurant","cafe","city_street","phone_line","phone_line_digital","custom"],"title":"Preset","type":"string","uniqueKey":"voice.background_sound.preset","typeLabel":"enum\u003cstring>"},"volume":{"default":0.15,"maximum":1,"minimum":0,"title":"Volume","type":"number","uniqueKey":"voice.background_sound.volume","typeLabel":"number"},"custom_asset_id":{"oneOf":[{"type":"string","title":"Custom Asset Id","uniqueKey":"voice.background_sound.custom_asset_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Custom Asset Id","uniqueKey":"voice.background_sound.custom_asset_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"voice.background_sound.custom_asset_id","typeLabel":"string | null"}},"title":"AgentBackgroundSoundConfig","type":"object","uniqueKey":"voice.background_sound","typeLabel":"AgentBackgroundSoundConfig · object"}},"required":["voice_id"],"title":"PublicAgentVoiceConfig","type":"object","isRequired":true,"uniqueKey":"voice","typeLabel":"PublicAgentVoiceConfig · object"},"asr":{"description":"The asr section as the public API reads it: without the console-only\nnoise cancellation and speaker label switches.","properties":{"model":{"default":"deepgram:nova-3","enum":["deepgram:nova-3","elevenlabs:scribe_v2_realtime","elevenlabs:scribe_v2_medical","fish_audio:transcribe-stream-1","fish_audio:transcribe-stream-2","fish_audio:transcribe-stream-1-dev"],"title":"Model","type":"string","uniqueKey":"asr.model","typeLabel":"enum\u003cstring>"},"multilingual":{"default":false,"title":"Multilingual","type":"boolean","uniqueKey":"asr.multilingual","typeLabel":"boolean"},"strict_language":{"default":false,"description":"Enforces voice.speaking_language whatever multilingual says: speech recognized as another language reaches the agent as [unintelligible speech]. Language is detected per utterance, so a short or heavily accented phrase in the speaking language can occasionally be detected as another language and replaced too. With deepgram:nova-3, speech in another language is usually not transcribed at all. Only enable it when you explicitly need to stop the agent from understanding other languages.","title":"Strict Language","type":"boolean","uniqueKey":"asr.strict_language","typeLabel":"boolean"},"keyterms":{"items":{"type":"string","uniqueKey":"asr.keyterms.items.[INDEX]","typeLabel":"string"},"maxItems":50,"title":"Keyterms","type":"array","uniqueKey":"asr.keyterms","typeLabel":"string[]"}},"title":"PublicAgentAsrConfig","type":"object","isRequired":true,"uniqueKey":"asr","typeLabel":"PublicAgentAsrConfig · object"},"conversation":{"properties":{"max_duration_seconds":{"default":1800,"title":"Max Duration Seconds","type":"integer","uniqueKey":"conversation.max_duration_seconds","typeLabel":"integer"},"response_wait_ms":{"default":550,"title":"Response Wait Ms","type":"integer","uniqueKey":"conversation.response_wait_ms","typeLabel":"integer"},"eagerness":{"default":"balanced","enum":["relaxed","balanced","eager"],"title":"Eagerness","type":"string","uniqueKey":"conversation.eagerness","typeLabel":"enum\u003cstring>"},"response_max_wait_ms":{"oneOf":[{"type":"integer","title":"Response Max Wait Ms","uniqueKey":"conversation.response_max_wait_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Response Max Wait Ms","uniqueKey":"conversation.response_max_wait_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.response_max_wait_ms","typeLabel":"integer | null"},"interruptible":{"default":true,"title":"Interruptible","type":"boolean","uniqueKey":"conversation.interruptible","typeLabel":"boolean"},"interruption_sensitivity":{"default":"balanced","description":"How much caller speech counts as an interruption while the agent speaks. With `low` the agent stops only for a firm, worded interjection and talks through background noise and short acknowledgements. `balanced` (default) interrupts on normal speech. With `high` the agent stops on the caller's first word. With `immediate` the agent stops at the caller's first sound, so backchannels such as \"okay\" and \"yeah\" stop it too, and it picks up where it stopped when the caller was only backchanneling or did not take the turn. `immediate` is only available to teams it has been enabled for, other teams get a 403 when they set it.","enum":["low","balanced","high","immediate"],"title":"Interruption Sensitivity","type":"string","uniqueKey":"conversation.interruption_sensitivity","typeLabel":"enum\u003cstring>"},"interruption_ignore_phrases":{"default":[],"items":{"type":"string","uniqueKey":"conversation.interruption_ignore_phrases.items.[INDEX]","typeLabel":"string"},"title":"Interruption Ignore Phrases","type":"array","uniqueKey":"conversation.interruption_ignore_phrases","typeLabel":"string[]"},"backchannel":{"description":"The agent's backchannels: a short \"mm-hmm\" or \"okay\" when the caller pauses. Applies to speech engines that backchannel, which is live3 today, and is ignored on the others.","properties":{"enabled":{"default":true,"description":"Whether the agent backchannels. Default true. false turns them off: the agent may still add one now and then, and the first sound after the caller stops can come a little later.","title":"Enabled","type":"boolean","uniqueKey":"conversation.backchannel.enabled","typeLabel":"boolean"},"strength":{"oneOf":[{"type":"integer","title":"Strength","description":"How readily the agent backchannels, a whole number from 1 (rarely) to 10 (at nearly every pause). null (default): the speech engine's own setting, 6 on live3. Send null to go back to it. Not used while enabled is false.","maximum":10,"minimum":1,"uniqueKey":"conversation.backchannel.strength.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Strength","description":"How readily the agent backchannels, a whole number from 1 (rarely) to 10 (at nearly every pause). null (default): the speech engine's own setting, 6 on live3. Send null to go back to it. Not used while enabled is false.","uniqueKey":"conversation.backchannel.strength.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.backchannel.strength","typeLabel":"integer | null"}},"title":"AgentBackchannelConfig","type":"object","uniqueKey":"conversation.backchannel","typeLabel":"AgentBackchannelConfig · object"},"speculative_response":{"default":true,"title":"Speculative Response","type":"boolean","uniqueKey":"conversation.speculative_response","typeLabel":"boolean"},"reengage":{"description":"Silence follow-ups: whether the agent speaks up while the caller stays silent, when, what it says, and what happens after the last follow-up.","properties":{"enabled":{"default":false,"description":"Whether the agent follows up when the caller stays silent (default false). `steps` sets when and what it says. Turning this off keeps the steps.","title":"Enabled","type":"boolean","uniqueKey":"conversation.reengage.enabled","typeLabel":"boolean"},"steps":{"description":"The follow-ups the agent makes while the caller stays silent, in order, 1 to 10 steps. Used only while `enabled` is true. A new agent starts with two steps, after 8 and 10 seconds. When the caller speaks, the sequence starts over from the first step. Agents created before these settings existed keep their earlier behavior until changed: follow-ups after 5 and 10 seconds, then a hangup 10 seconds later.","items":{"description":"One follow-up while the caller stays silent.","properties":{"after_seconds":{"description":"Seconds of silence, counted from the end of what the agent last said, before this follow-up, 3 to 600 seconds.","title":"After Seconds","type":"integer","isRequired":true,"uniqueKey":"conversation.reengage.steps.items.[INDEX].after_seconds","typeLabel":"integer"},"message":{"default":"","description":"Text the agent says word for word as this follow-up, at most 500 characters. `{{variable}}` placeholders are filled in for each session. \"\" (default) lets the agent word the follow-up itself.","title":"Message","type":"string","uniqueKey":"conversation.reengage.steps.items.[INDEX].message","typeLabel":"string"}},"required":["after_seconds"],"title":"AgentReengageStep","type":"object","uniqueKey":"conversation.reengage.steps.items.[INDEX]","typeLabel":"AgentReengageStep · object"},"title":"Steps","type":"array","uniqueKey":"conversation.reengage.steps","typeLabel":"AgentReengageStep · object[]"},"exhausted_action":{"description":"What happens when the last follow-up goes unanswered. `wait` (what a new agent starts with): the agent stays quiet until hangup_after_seconds ends the call. `hangup`: the agent hangs up after `exhausted_after_seconds` more seconds of silence. hangup_farewell_mode applies to either hangup. Agents created before this setting existed are on `hangup` until changed.","enum":["wait","hangup"],"title":"Exhausted Action","type":"string","uniqueKey":"conversation.reengage.exhausted_action","typeLabel":"enum\u003cstring>"},"exhausted_after_seconds":{"default":10,"description":"Seconds of silence after the last follow-up before the agent hangs up, 3 to 600 seconds (default 10). Used only when `exhausted_action` is `hangup`.","title":"Exhausted After Seconds","type":"integer","uniqueKey":"conversation.reengage.exhausted_after_seconds","typeLabel":"integer"}},"title":"AgentReengageConfig","type":"object","uniqueKey":"conversation.reengage","typeLabel":"AgentReengageConfig · object"},"hangup_after_seconds":{"default":60,"title":"Hangup After Seconds","type":"integer","uniqueKey":"conversation.hangup_after_seconds","typeLabel":"integer"},"hangup_farewell_mode":{"default":"off","description":"What the agent says before a silence hangup. `off` (default) hangs up without a word, `generated` says a short goodbye, `fixed` says hangup_farewell_message. A `fixed` mode with an empty message falls back to `generated`. If the caller speaks during the goodbye, the call goes on.","enum":["generated","fixed","off"],"title":"Hangup Farewell Mode","type":"string","uniqueKey":"conversation.hangup_farewell_mode","typeLabel":"enum\u003cstring>"},"hangup_farewell_message":{"default":"","description":"The goodbye said verbatim in the `fixed` hangup_farewell_mode, at most 500 characters. `{{variable}}` placeholders are filled in for each session. \"\" clears it.","title":"Hangup Farewell Message","type":"string","uniqueKey":"conversation.hangup_farewell_message","typeLabel":"string"},"record_audio":{"default":true,"title":"Record Audio","type":"boolean","uniqueKey":"conversation.record_audio","typeLabel":"boolean"},"timezone":{"default":"","title":"Timezone","type":"string","uniqueKey":"conversation.timezone","typeLabel":"string"},"transfer_destinations":{"default":[],"items":{"properties":{"type":{"default":"phone","enum":["phone","sip"],"title":"Type","type":"string","uniqueKey":"conversation.transfer_destinations.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"label":{"default":"","title":"Label","type":"string","uniqueKey":"conversation.transfer_destinations.items.[INDEX].label","typeLabel":"string"},"phone_number":{"oneOf":[{"type":"string","title":"Phone Number","description":"Destination in E.164, for type `phone`. Calls through a number bought on the platform can only be transferred to the supported countries. A number in another country is dialed by your own carrier, so it needs an imported SIP number: any imported number for a cold transfer, one with termination configured for a warm transfer. Without such a number in the team the write is rejected. On a call through any other number the destination is left out, and the agent cannot transfer to it.","uniqueKey":"conversation.transfer_destinations.items.[INDEX].phone_number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Phone Number","description":"Destination in E.164, for type `phone`. Calls through a number bought on the platform can only be transferred to the supported countries. A number in another country is dialed by your own carrier, so it needs an imported SIP number: any imported number for a cold transfer, one with termination configured for a warm transfer. Without such a number in the team the write is rejected. On a call through any other number the destination is left out, and the agent cannot transfer to it.","uniqueKey":"conversation.transfer_destinations.items.[INDEX].phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.transfer_destinations.items.[INDEX].phone_number","typeLabel":"string | null"},"sip_uri":{"oneOf":[{"type":"string","title":"Sip Uri","description":"Destination for type `sip`: the SIP address to transfer the call to, written `sip:user@host[:port][;transport=udp|tcp|tls]`, for example `sip:support@pbx.example.com`. The host must be a public domain name or IP address, and a `sips:` URI uses TLS. The URI holds only the address, in at most 512 characters: a password, headers or any other parameter is rejected, so use `auth_username` and `auth_password` for credentials and `headers` for SIP headers. Dynamic variables are not supported in the URI.","uniqueKey":"conversation.transfer_destinations.items.[INDEX].sip_uri.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sip Uri","description":"Destination for type `sip`: the SIP address to transfer the call to, written `sip:user@host[:port][;transport=udp|tcp|tls]`, for example `sip:support@pbx.example.com`. The host must be a public domain name or IP address, and a `sips:` URI uses TLS. The URI holds only the address, in at most 512 characters: a password, headers or any other parameter is rejected, so use `auth_username` and `auth_password` for credentials and `headers` for SIP headers. Dynamic variables are not supported in the URI.","uniqueKey":"conversation.transfer_destinations.items.[INDEX].sip_uri.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.transfer_destinations.items.[INDEX].sip_uri","typeLabel":"string | null"},"headers":{"additionalProperties":{"type":"string","uniqueKey":"conversation.transfer_destinations.items.[INDEX].headers.additionalProperties","typeLabel":"string"},"description":"SIP destinations only: custom SIP headers sent with the transferred call, as an object of header names and values, up to 20. A name starts with `X-` followed by letters, digits and hyphens, at most 64 characters in all, or is `User-to-User`. Names are not case-sensitive and `X-Fish-` names are reserved for headers the platform adds itself. A value is 1 to 1024 printable ASCII characters (128 for `User-to-User`) and can contain dynamic variables such as `{{customer_id}}`, filled in when the session starts. When a value cannot be filled in for a call, for example because a variable has no value and no default, the destination is left out of that call. A warm transfer sends the headers on the call the agent places to the destination. A cold transfer hands them to the caller's carrier, which decides whether to pass them on.","title":"Headers","type":"object","uniqueKey":"conversation.transfer_destinations.items.[INDEX].headers","typeLabel":"Headers · object"},"description":{"default":"","title":"Description","type":"string","uniqueKey":"conversation.transfer_destinations.items.[INDEX].description","typeLabel":"string"},"mode":{"default":"cold","enum":["cold","warm"],"title":"Mode","type":"string","uniqueKey":"conversation.transfer_destinations.items.[INDEX].mode","typeLabel":"enum\u003cstring>"},"warm_connect":{"default":"confirm","enum":["confirm","briefing","direct"],"title":"Warm Connect","type":"string","uniqueKey":"conversation.transfer_destinations.items.[INDEX].warm_connect","typeLabel":"enum\u003cstring>"},"warm_briefing_instructions":{"default":"","title":"Warm Briefing Instructions","type":"string","uniqueKey":"conversation.transfer_destinations.items.[INDEX].warm_briefing_instructions","typeLabel":"string"},"warm_briefing_speed":{"oneOf":[{"type":"number","title":"Warm Briefing Speed","maximum":2,"minimum":0.5,"uniqueKey":"conversation.transfer_destinations.items.[INDEX].warm_briefing_speed.oneOf.0","typeLabel":"number"},{"type":"null","title":"Warm Briefing Speed","uniqueKey":"conversation.transfer_destinations.items.[INDEX].warm_briefing_speed.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.transfer_destinations.items.[INDEX].warm_briefing_speed","typeLabel":"number | null"},"warm_ring_timeout_seconds":{"default":30,"title":"Warm Ring Timeout Seconds","type":"integer","uniqueKey":"conversation.transfer_destinations.items.[INDEX].warm_ring_timeout_seconds","typeLabel":"integer"},"warm_confirm_timeout_seconds":{"default":60,"title":"Warm Confirm Timeout Seconds","type":"integer","uniqueKey":"conversation.transfer_destinations.items.[INDEX].warm_confirm_timeout_seconds","typeLabel":"integer"},"warm_human_detection":{"default":false,"description":"Applies to warm transfers whose warm_connect is `confirm` or `briefing`, and is ignored for cold transfers and `direct`. When true, once the destination answers, the agent stays silent until the other side speaks, then classifies the pickup. A person is briefed as usual. Voicemail or an IVR (phone menu) ends the transfer as failed. A hold queue or silence keeps the agent waiting until `warm_confirm_timeout_seconds` ends the attempt as unreachable. A failed transfer follows `on_failure`. Leave it off for destinations whose people are only reachable through a phone menu, because the menu stops the transfer.","title":"Warm Human Detection","type":"boolean","uniqueKey":"conversation.transfer_destinations.items.[INDEX].warm_human_detection","typeLabel":"boolean"},"warm_press_keys":{"properties":{"enabled":{"default":false,"description":"When true, on the call to this destination the agent can press phone keys to get through the menu (`_press_keys`), and stay silent while the menu or a hold message plays (`_skip_turn`), before it briefs the person who answers. It works the same whether the caller's own call is inbound or outbound, and does not depend on `tools.system_tools.press_keys`.","title":"Enabled","type":"boolean","uniqueKey":"conversation.transfer_destinations.items.[INDEX].warm_press_keys.enabled","typeLabel":"boolean"},"instructions":{"default":"","description":"How to get through this number's phone menu, written for the agent, such as `Press 2 for billing, then enter extension 204.` Optional, at most 500 characters. `{{variable}}` placeholders are filled in for each session. Without it the agent picks keys from the destination's label and description and from what the caller asked for. Used only while enabled is true, and kept when it is false.","title":"Instructions","type":"string","uniqueKey":"conversation.transfer_destinations.items.[INDEX].warm_press_keys.instructions","typeLabel":"string"}},"title":"AgentTransferPressKeys","type":"object","description":"Beta. Key presses on the call in which the agent reaches this destination, for a number that an automated phone menu answers before a person does. Applies to warm transfers whose warm_connect is `confirm` or `briefing`, and is ignored for cold transfers and `direct`. It has no effect while warm_human_detection is true, because that setting ends the transfer when a phone menu answers. The time spent in the menu counts toward `warm_confirm_timeout_seconds`, so such a destination usually needs a longer one. Absent means off. The list of destinations is replaced as a whole, so a destination sent without the field has it off.","uniqueKey":"conversation.transfer_destinations.items.[INDEX].warm_press_keys","typeLabel":"AgentTransferPressKeys · object"},"warm_consult_uses_agent_settings":{"default":true,"description":"Compatibility option for warm transfers whose warm_connect is `confirm` or `briefing`, ignored for cold transfers and `direct`. Absent or true (recommended): on the call in which the agent briefs the destination, the agent uses the same turn-taking (response timing: `eagerness`, `response_wait_ms` and `response_max_wait_ms`), interruption (`interruption_sensitivity` and `interruption_ignore_phrases`) and language (`voice.speaking_language`) settings as on the call with the caller. False: that call keeps the older fixed behavior. Destinations that existed before this setting were set to false so their behavior did not change. Either way the destination can always interrupt the agent on that call, whatever `interruptible` is set to. A destination sent without the field keeps the value of the existing destination it replaces (same label, else a renamed one with the same phone number or SIP URI) and is true when it is new. Send true to switch a destination to the agent's settings.","title":"Warm Consult Uses Agent Settings","type":"boolean","uniqueKey":"conversation.transfer_destinations.items.[INDEX].warm_consult_uses_agent_settings","typeLabel":"boolean"},"on_failure":{"properties":{"action":{"default":"return_to_agent","enum":["return_to_agent","end_call"],"title":"Action","type":"string","uniqueKey":"conversation.transfer_destinations.items.[INDEX].on_failure.action","typeLabel":"enum\u003cstring>"},"message":{"default":"","title":"Message","type":"string","uniqueKey":"conversation.transfer_destinations.items.[INDEX].on_failure.message","typeLabel":"string"}},"title":"AgentTransferOnFailure","type":"object","uniqueKey":"conversation.transfer_destinations.items.[INDEX].on_failure","typeLabel":"AgentTransferOnFailure · object"},"announcement_mode":{"default":"generated","enum":["generated","fixed","off"],"title":"Announcement Mode","type":"string","uniqueKey":"conversation.transfer_destinations.items.[INDEX].announcement_mode","typeLabel":"enum\u003cstring>"},"announcement_message":{"default":"","title":"Announcement Message","type":"string","uniqueKey":"conversation.transfer_destinations.items.[INDEX].announcement_message","typeLabel":"string"},"auth_username":{"oneOf":[{"type":"string","title":"Auth Username","description":"SIP destinations in `warm` mode only: the digest username the destination's SIP server asks for. The agent places the call to a warm destination itself and answers the server's 401 or 407 challenge with this username and the stored password. A response that carries it means a password is stored. A `cold` destination sent with it is rejected: a cold transfer hands the call to the caller's carrier, which dials the destination and never has the credentials. Send null or an empty string to remove the credentials. A destination sent without the field keeps the credentials of the existing destination it replaces (same label, else a renamed one with the same SIP URI) while it stays a warm SIP destination on the same host and port, and loses them otherwise.","uniqueKey":"conversation.transfer_destinations.items.[INDEX].auth_username.oneOf.0","typeLabel":"string"},{"type":"null","title":"Auth Username","description":"SIP destinations in `warm` mode only: the digest username the destination's SIP server asks for. The agent places the call to a warm destination itself and answers the server's 401 or 407 challenge with this username and the stored password. A response that carries it means a password is stored. A `cold` destination sent with it is rejected: a cold transfer hands the call to the caller's carrier, which dials the destination and never has the credentials. Send null or an empty string to remove the credentials. A destination sent without the field keeps the credentials of the existing destination it replaces (same label, else a renamed one with the same SIP URI) while it stays a warm SIP destination on the same host and port, and loses them otherwise.","uniqueKey":"conversation.transfer_destinations.items.[INDEX].auth_username.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.transfer_destinations.items.[INDEX].auth_username","typeLabel":"string | null"}},"title":"AgentTransferDestination","type":"object","uniqueKey":"conversation.transfer_destinations.items.[INDEX]","typeLabel":"AgentTransferDestination · object"},"title":"Transfer Destinations","type":"array","uniqueKey":"conversation.transfer_destinations","typeLabel":"AgentTransferDestination · object[]"},"transfer_refuse_questions":{"default":true,"title":"Transfer Refuse Questions","type":"boolean","uniqueKey":"conversation.transfer_refuse_questions","typeLabel":"boolean"},"outbound":{"oneOf":[{"type":"object","title":"AgentOutboundConfig","description":"Deprecated (2026-09-07): kept for compatibility only. `amd_enabled` and\n`voicemail` no longer change call behavior; outbound calls greet as soon as\nthe callee answers, and `answered_by` is always `unknown`.","properties":{"amd_enabled":{"default":true,"title":"Amd Enabled","type":"boolean","uniqueKey":"conversation.outbound.oneOf.0.amd_enabled","typeLabel":"boolean"},"voicemail":{"oneOf":[{"type":"object","title":"AgentOutboundVoicemailConfig","description":"Deprecated (2026-09-07): answering-machine detection was removed from the\ncall runtime, so voicemail actions never fire. The node is still accepted\nand stored so existing configs and API callers keep working; the worker\nno longer receives it.","properties":{"action":{"default":"hangup","enum":["hangup","leave_message","leave_prompt_message"],"title":"Action","type":"string","uniqueKey":"conversation.outbound.oneOf.0.voicemail.oneOf.0.action","typeLabel":"enum\u003cstring>"},"message":{"default":"","title":"Message","type":"string","uniqueKey":"conversation.outbound.oneOf.0.voicemail.oneOf.0.message","typeLabel":"string"}},"uniqueKey":"conversation.outbound.oneOf.0.voicemail.oneOf.0","typeLabel":"AgentOutboundVoicemailConfig · object"},{"type":"null","uniqueKey":"conversation.outbound.oneOf.0.voicemail.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.outbound.oneOf.0.voicemail","typeLabel":"AgentOutboundVoicemailConfig · object | null"}},"uniqueKey":"conversation.outbound.oneOf.0","typeLabel":"AgentOutboundConfig · object"},{"type":"null","uniqueKey":"conversation.outbound.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.outbound","typeLabel":"AgentOutboundConfig · object | null"},"keypad_menu":{"description":"Keypad menu for inbound phone calls. Before the agent's first turn it\nspeaks `prompt` in the agent's voice, collects one key press (or, with\n`accept_speech`, the option's value said aloud) and stores the chosen\noption's `value` in the dynamic variable named by `variable`. The system\nprompt, first message, transfer texts, farewell and webhook tools can use\n`{{variable}}` to act on the choice. Outbound calls, web, API and test\nsessions skip the menu, and the variable renders from its default.","properties":{"enabled":{"default":false,"title":"Enabled","type":"boolean","uniqueKey":"conversation.keypad_menu.enabled","typeLabel":"boolean"},"prompt":{"default":"","title":"Prompt","type":"string","uniqueKey":"conversation.keypad_menu.prompt","typeLabel":"string"},"options":{"default":[],"items":{"properties":{"key":{"default":"","title":"Key","type":"string","uniqueKey":"conversation.keypad_menu.options.items.[INDEX].key","typeLabel":"string"},"value":{"default":"","title":"Value","type":"string","uniqueKey":"conversation.keypad_menu.options.items.[INDEX].value","typeLabel":"string"}},"title":"AgentKeypadMenuOption","type":"object","uniqueKey":"conversation.keypad_menu.options.items.[INDEX]","typeLabel":"AgentKeypadMenuOption · object"},"title":"Options","type":"array","uniqueKey":"conversation.keypad_menu.options","typeLabel":"AgentKeypadMenuOption · object[]"},"accept_speech":{"default":true,"title":"Accept Speech","type":"boolean","uniqueKey":"conversation.keypad_menu.accept_speech","typeLabel":"boolean"},"variable":{"default":"menu_choice","title":"Variable","type":"string","uniqueKey":"conversation.keypad_menu.variable","typeLabel":"string"},"no_input_timeout_seconds":{"default":5,"title":"No Input Timeout Seconds","type":"integer","uniqueKey":"conversation.keypad_menu.no_input_timeout_seconds","typeLabel":"integer"},"max_attempts":{"default":2,"title":"Max Attempts","type":"integer","uniqueKey":"conversation.keypad_menu.max_attempts","typeLabel":"integer"},"retry_message":{"default":"","title":"Retry Message","type":"string","uniqueKey":"conversation.keypad_menu.retry_message","typeLabel":"string"},"fallback_value":{"default":"","title":"Fallback Value","type":"string","uniqueKey":"conversation.keypad_menu.fallback_value","typeLabel":"string"}},"title":"AgentKeypadMenu","type":"object","uniqueKey":"conversation.keypad_menu","typeLabel":"AgentKeypadMenu · object"},"keypad_input":{"description":"Keypad input for phone calls: digits the caller types during the\nconversation reach the agent as one user turn, ended by `terminator` or\nby a pause of `inter_digit_timeout_seconds` (`none`: the pause only).","properties":{"enabled":{"default":false,"title":"Enabled","type":"boolean","uniqueKey":"conversation.keypad_input.enabled","typeLabel":"boolean"},"terminator":{"default":"#","enum":["#","*","none"],"title":"Terminator","type":"string","uniqueKey":"conversation.keypad_input.terminator","typeLabel":"enum\u003cstring>"},"inter_digit_timeout_seconds":{"default":2,"title":"Inter Digit Timeout Seconds","type":"integer","uniqueKey":"conversation.keypad_input.inter_digit_timeout_seconds","typeLabel":"integer"}},"title":"AgentKeypadInput","type":"object","uniqueKey":"conversation.keypad_input","typeLabel":"AgentKeypadInput · object"},"echo_guard":{"oneOf":[{"type":"object","title":"AgentEchoGuard","description":"Echo guard. For the first 3 seconds after the agent first starts talking in a call, the caller cannot interrupt it and anything the caller says while the agent is talking is not heard. This stops the agent's own voice, echoing back from a speakerphone or laptop, from cutting it off. Per channel: true on, false off, null uses the default (on for web_voice and phone_inbound, off for phone_outbound).","properties":{"web_voice":{"oneOf":[{"type":"boolean","title":"Web Voice","description":"Voice calls in a browser or app (web widget, SDK, test calls). Null uses the default (on).","uniqueKey":"conversation.echo_guard.oneOf.0.web_voice.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Web Voice","description":"Voice calls in a browser or app (web widget, SDK, test calls). Null uses the default (on).","uniqueKey":"conversation.echo_guard.oneOf.0.web_voice.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.echo_guard.oneOf.0.web_voice","typeLabel":"boolean | null"},"phone_inbound":{"oneOf":[{"type":"boolean","title":"Phone Inbound","description":"Inbound phone calls. Null uses the default (on).","uniqueKey":"conversation.echo_guard.oneOf.0.phone_inbound.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Phone Inbound","description":"Inbound phone calls. Null uses the default (on).","uniqueKey":"conversation.echo_guard.oneOf.0.phone_inbound.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.echo_guard.oneOf.0.phone_inbound","typeLabel":"boolean | null"},"phone_outbound":{"oneOf":[{"type":"boolean","title":"Phone Outbound","description":"Outbound phone calls. Null uses the default (off).","uniqueKey":"conversation.echo_guard.oneOf.0.phone_outbound.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Phone Outbound","description":"Outbound phone calls. Null uses the default (off).","uniqueKey":"conversation.echo_guard.oneOf.0.phone_outbound.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.echo_guard.oneOf.0.phone_outbound","typeLabel":"boolean | null"}},"uniqueKey":"conversation.echo_guard.oneOf.0","typeLabel":"AgentEchoGuard · object"},{"type":"null","description":"Echo guard. For the first 3 seconds after the agent first starts talking in a call, the caller cannot interrupt it and anything the caller says while the agent is talking is not heard. This stops the agent's own voice, echoing back from a speakerphone or laptop, from cutting it off. Per channel: true on, false off, null uses the default (on for web_voice and phone_inbound, off for phone_outbound).","uniqueKey":"conversation.echo_guard.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.echo_guard","typeLabel":"AgentEchoGuard · object | null"},"turn_detector":{"oneOf":[{"type":"object","title":"AgentTurnDetector","description":"Turn detector: how the agent decides the caller has finished speaking, so it can answer. Applies to agents whose `voice.engine` is `fish_tts`. It has no effect when `asr.model` is a Fish realtime model (`fish_audio:transcribe-stream-1` or `fish_audio:transcribe-stream-2`), which detects the end of the turn itself.","properties":{"model":{"oneOf":[{"type":"string","title":"Model","description":"The model that judges the end of the caller's turn. `fish` is Fish Audio's turn detection model. It waits for the end of the caller's thought, so a caller who pauses between two sentences or between groups of digits is less often answered in the middle. `legacy` is the earlier model. It answers sooner after a sentence that sounds complete. The default is `fish`. An account whose agents ran the earlier model before this setting existed has `legacy` as its default, so they behave as they did. An agent that never set the model reads the default, and a new agent is created with it.","enum":["fish","legacy"],"uniqueKey":"conversation.turn_detector.oneOf.0.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Model","description":"The model that judges the end of the caller's turn. `fish` is Fish Audio's turn detection model. It waits for the end of the caller's thought, so a caller who pauses between two sentences or between groups of digits is less often answered in the middle. `legacy` is the earlier model. It answers sooner after a sentence that sounds complete. The default is `fish`. An account whose agents ran the earlier model before this setting existed has `legacy` as its default, so they behave as they did. An agent that never set the model reads the default, and a new agent is created with it.","uniqueKey":"conversation.turn_detector.oneOf.0.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.turn_detector.oneOf.0.model","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"conversation.turn_detector.oneOf.0","typeLabel":"AgentTurnDetector · object"},{"type":"null","description":"Turn detector: how the agent decides the caller has finished speaking, so it can answer. Applies to agents whose `voice.engine` is `fish_tts`. It has no effect when `asr.model` is a Fish realtime model (`fish_audio:transcribe-stream-1` or `fish_audio:transcribe-stream-2`), which detects the end of the turn itself.","uniqueKey":"conversation.turn_detector.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.turn_detector","typeLabel":"AgentTurnDetector · object | null"}},"title":"AgentConversationConfig","type":"object","isRequired":true,"uniqueKey":"conversation","typeLabel":"AgentConversationConfig · object"},"tools":{"properties":{"enabled":{"default":true,"title":"Enabled","type":"boolean","uniqueKey":"tools.enabled","typeLabel":"boolean"},"tool_ids":{"items":{"type":"string","uniqueKey":"tools.tool_ids.items.[INDEX]","typeLabel":"string"},"title":"Tool Ids","type":"array","uniqueKey":"tools.tool_ids","typeLabel":"string[]"},"system_tools":{"properties":{"hang_up_call":{"default":false,"title":"Hang Up Call","type":"boolean","uniqueKey":"tools.system_tools.hang_up_call","typeLabel":"boolean"},"hang_up_call_farewell_mode":{"default":"generated","enum":["generated","fixed","off"],"title":"Hang Up Call Farewell Mode","type":"string","uniqueKey":"tools.system_tools.hang_up_call_farewell_mode","typeLabel":"enum\u003cstring>"},"hang_up_call_farewell_message":{"default":"","title":"Hang Up Call Farewell Message","type":"string","uniqueKey":"tools.system_tools.hang_up_call_farewell_message","typeLabel":"string"},"hang_up_call_refuse_questions":{"default":false,"title":"Hang Up Call Refuse Questions","type":"boolean","uniqueKey":"tools.system_tools.hang_up_call_refuse_questions","typeLabel":"boolean"},"press_keys":{"properties":{"enabled":{"default":false,"description":"When true, the agent gets two tools on outbound phone calls. `_press_keys` presses phone keys to get through an automated phone menu, and `_skip_turn` stays silent for a turn while a menu or a hold message plays. An agent test on the `phone_outbound` channel has them as well. Inbound calls and web and API sessions ignore it.","title":"Enabled","type":"boolean","uniqueKey":"tools.system_tools.press_keys.enabled","typeLabel":"boolean"}},"title":"AgentPressKeysConfig","type":"object","description":"Beta. Key presses on outbound phone calls, for calls that reach an automated phone menu before a person.","uniqueKey":"tools.system_tools.press_keys","typeLabel":"AgentPressKeysConfig · object"}},"title":"AgentSystemToolsConfig","type":"object","uniqueKey":"tools.system_tools","typeLabel":"AgentSystemToolsConfig · object"}},"title":"PublicAgentToolsConfig","type":"object","isRequired":true,"uniqueKey":"tools","typeLabel":"PublicAgentToolsConfig · object"},"webhooks":{"properties":{"conversation_init":{"oneOf":[{"type":"object","title":"PublicConversationInitWebhook","required":["url"],"properties":{"url":{"title":"Url","type":"string","isRequired":true,"uniqueKey":"webhooks.conversation_init.oneOf.0.url","typeLabel":"string"},"has_secret":{"default":false,"description":"Whether a signing secret is configured; the value itself is never returned.","title":"Has Secret","type":"boolean","uniqueKey":"webhooks.conversation_init.oneOf.0.has_secret","typeLabel":"boolean"},"previous_secret_expires_at":{"oneOf":[{"type":"string","title":"Previous Secret Expires At","description":"Set while a rotated-out secret still signs as a second `v1`; absent otherwise.","format":"date-time","uniqueKey":"webhooks.conversation_init.oneOf.0.previous_secret_expires_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Previous Secret Expires At","description":"Set while a rotated-out secret still signs as a second `v1`; absent otherwise.","uniqueKey":"webhooks.conversation_init.oneOf.0.previous_secret_expires_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhooks.conversation_init.oneOf.0.previous_secret_expires_at","typeLabel":"string\u003cdate-time> | null"},"timeout_seconds":{"default":5,"title":"Timeout Seconds","type":"number","uniqueKey":"webhooks.conversation_init.oneOf.0.timeout_seconds","typeLabel":"number"}},"uniqueKey":"webhooks.conversation_init.oneOf.0","typeLabel":"PublicConversationInitWebhook · object"},{"type":"null","uniqueKey":"webhooks.conversation_init.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhooks.conversation_init","typeLabel":"PublicConversationInitWebhook · object | null"},"post_call":{"items":{"properties":{"url":{"title":"Url","type":"string","isRequired":true,"uniqueKey":"webhooks.post_call.items.[INDEX].url","typeLabel":"string"},"has_secret":{"default":false,"description":"Whether a signing secret is configured; the value itself is never returned.","title":"Has Secret","type":"boolean","uniqueKey":"webhooks.post_call.items.[INDEX].has_secret","typeLabel":"boolean"},"previous_secret_expires_at":{"oneOf":[{"type":"string","title":"Previous Secret Expires At","description":"Set while a rotated-out secret still signs as a second `v1`; absent otherwise.","format":"date-time","uniqueKey":"webhooks.post_call.items.[INDEX].previous_secret_expires_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Previous Secret Expires At","description":"Set while a rotated-out secret still signs as a second `v1`; absent otherwise.","uniqueKey":"webhooks.post_call.items.[INDEX].previous_secret_expires_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhooks.post_call.items.[INDEX].previous_secret_expires_at","typeLabel":"string\u003cdate-time> | null"}},"required":["url"],"title":"PublicPostCallWebhook","type":"object","uniqueKey":"webhooks.post_call.items.[INDEX]","typeLabel":"PublicPostCallWebhook · object"},"title":"Post Call","type":"array","uniqueKey":"webhooks.post_call","typeLabel":"PublicPostCallWebhook · object[]"}},"title":"PublicAgentWebhooksConfig","type":"object","isRequired":true,"uniqueKey":"webhooks","typeLabel":"PublicAgentWebhooksConfig · object"},"knowledge_base":{"properties":{"enabled":{"default":false,"title":"Enabled","type":"boolean","uniqueKey":"knowledge_base.enabled","typeLabel":"boolean"},"knowledge_source_ids":{"items":{"type":"string","uniqueKey":"knowledge_base.knowledge_source_ids.items.[INDEX]","typeLabel":"string"},"title":"Knowledge Source Ids","type":"array","uniqueKey":"knowledge_base.knowledge_source_ids","typeLabel":"string[]"}},"title":"PublicAgentKnowledgeBaseConfig","type":"object","isRequired":true,"uniqueKey":"knowledge_base","typeLabel":"PublicAgentKnowledgeBaseConfig · object"},"analysis":{"properties":{"summary":{"properties":{"enabled":{"default":true,"title":"Enabled","type":"boolean","uniqueKey":"analysis.summary.enabled","typeLabel":"boolean"},"prompt":{"oneOf":[{"type":"string","title":"Prompt","maxLength":1000,"uniqueKey":"analysis.summary.prompt.oneOf.0","typeLabel":"string"},{"type":"null","title":"Prompt","uniqueKey":"analysis.summary.prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.summary.prompt","typeLabel":"string | null"},"language":{"default":"en","enum":["en","ja","zh","ko","es","fr","de","pt","it","nl","ar","hi","id","tr","ru","bg","sr","hr","cs","sk","pl","uk","ro","hu","el","sv","da","no","fi","et","lv","lt","ca","he","fa","ur","kk","ka","hy","bn","ta","te","kn","mr","gu","pa","ne","th","vi","ms","tl","af"],"title":"Language","type":"string","uniqueKey":"analysis.summary.language","typeLabel":"enum\u003cstring>"}},"title":"AgentAnalysisSummaryConfig","type":"object","uniqueKey":"analysis.summary","typeLabel":"AgentAnalysisSummaryConfig · object"},"data_fields":{"items":{"properties":{"name":{"pattern":"^[a-z][a-z0-9_]{0,63}$","title":"Name","type":"string","isRequired":true,"uniqueKey":"analysis.data_fields.items.[INDEX].name","typeLabel":"string"},"type":{"default":"text","enum":["boolean","text","number","enum"],"title":"Type","type":"string","uniqueKey":"analysis.data_fields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"description":{"default":"","maxLength":500,"title":"Description","type":"string","uniqueKey":"analysis.data_fields.items.[INDEX].description","typeLabel":"string"},"enum_options":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"analysis.data_fields.items.[INDEX].enum_options.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Enum Options","uniqueKey":"analysis.data_fields.items.[INDEX].enum_options.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Enum Options","uniqueKey":"analysis.data_fields.items.[INDEX].enum_options.oneOf.1","typeLabel":"null"}],"uniqueKey":"analysis.data_fields.items.[INDEX].enum_options","typeLabel":"string[] | null"}},"required":["name"],"title":"AgentAnalysisDataField","type":"object","uniqueKey":"analysis.data_fields.items.[INDEX]","typeLabel":"AgentAnalysisDataField · object"},"maxItems":20,"title":"Data Fields","type":"array","uniqueKey":"analysis.data_fields","typeLabel":"AgentAnalysisDataField · object[]"},"criteria":{"items":{"properties":{"name":{"pattern":"^[a-z][a-z0-9_]{0,63}$","title":"Name","type":"string","isRequired":true,"uniqueKey":"analysis.criteria.items.[INDEX].name","typeLabel":"string"},"description":{"default":"","maxLength":500,"title":"Description","type":"string","uniqueKey":"analysis.criteria.items.[INDEX].description","typeLabel":"string"}},"required":["name"],"title":"AgentAnalysisCriterion","type":"object","uniqueKey":"analysis.criteria.items.[INDEX]","typeLabel":"AgentAnalysisCriterion · object"},"maxItems":10,"title":"Criteria","type":"array","uniqueKey":"analysis.criteria","typeLabel":"AgentAnalysisCriterion · object[]"}},"title":"AgentAnalysisConfig","type":"object","isRequired":true,"uniqueKey":"analysis","typeLabel":"AgentAnalysisConfig · object"},"guardrails":{"properties":{"focus":{"default":false,"title":"Focus","type":"boolean","uniqueKey":"guardrails.focus","typeLabel":"boolean"},"manipulation":{"default":false,"title":"Manipulation","type":"boolean","uniqueKey":"guardrails.manipulation","typeLabel":"boolean"},"pre_tool_speech":{"default":false,"title":"Pre Tool Speech","type":"boolean","uniqueKey":"guardrails.pre_tool_speech","typeLabel":"boolean"}},"title":"AgentGuardrailsConfig","type":"object","isRequired":true,"uniqueKey":"guardrails","typeLabel":"AgentGuardrailsConfig · object"},"context":{"description":"Facts the platform tells the agent on its own, one switch per fact.\nThe same mechanism as a guardrail with the opposite sign: a guardrail is\na prompt addition that constrains, a context switch is one that informs.","properties":{"current_time":{"default":true,"title":"Current Time","type":"boolean","uniqueKey":"context.current_time","typeLabel":"boolean"}},"title":"AgentContextConfig","type":"object","isRequired":true,"uniqueKey":"context","typeLabel":"AgentContextConfig · object"},"llm":{"properties":{"model":{"default":"openai/gpt-6.1-terra-fast","enum":["google/gemini-3.5-flash-lite","google/gemini-3.6-flash","google/gemini-3.8-flash","google/gemini-3.6-flash-priority","google/gemini-3.8-flash-priority","google/gemini-3.5-flash-lite-priority","google/gemini-4-hydrogen","google/gemini-4-neon","google/gemini-4-hydrogen-priority","google/gemini-4-neon-priority","google/gemini-2.5-flash","google/gemma-4-26b-a4b-it","anthropic/claude-haiku-4.5","anthropic/claude-sonnet-4.6","anthropic/claude-sonnet-5.5","anthropic/claude-opus-5.5","anthropic/claude-fable-5.1","anthropic/claude-fable-5.2","openai/gpt-5.6-luna","openai/gpt-6-luna","openai/gpt-5","openai/gpt-6.1-sol","openai/gpt-6.1-terra","openai/gpt-6-astra","openai/gpt-6.2-sol","openai/gpt-4o","openai/gpt-4.1","openai/gpt-5.6-luna-fast","openai/gpt-6-luna-fast","openai/gpt-6.1-terra-fast","openai/gpt-6.1-sol-fast","openai/gpt-6-astra-fast","openai/gpt-6.2-sol-fast","openai/gpt-4o-fast","openai/gpt-4.1-fast"],"title":"Model","type":"string","uniqueKey":"llm.model","typeLabel":"enum\u003cstring>"},"custom":{"oneOf":[{"type":"object","title":"AgentLLMCustomConfigRedacted","description":"Read entity: the stored api_key never leaves the collection. The headers\nread back as stored, like the non-credential headers of a webhook tool.","required":["base_url","model"],"properties":{"base_url":{"minLength":1,"title":"Base Url","type":"string","isRequired":true,"uniqueKey":"llm.custom.oneOf.0.base_url","typeLabel":"string"},"model":{"minLength":1,"title":"Model","type":"string","isRequired":true,"uniqueKey":"llm.custom.oneOf.0.model","typeLabel":"string"},"api_key":{"default":null,"title":"Api Key","type":"null","uniqueKey":"llm.custom.oneOf.0.api_key","typeLabel":"null"},"headers":{"oneOf":[{"type":"object","title":"Headers","additionalProperties":{"type":"string","uniqueKey":"llm.custom.oneOf.0.headers.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"llm.custom.oneOf.0.headers.oneOf.0","typeLabel":"Headers · object"},{"type":"null","title":"Headers","uniqueKey":"llm.custom.oneOf.0.headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.custom.oneOf.0.headers","typeLabel":"Headers · object | null"}},"uniqueKey":"llm.custom.oneOf.0","typeLabel":"AgentLLMCustomConfigRedacted · object"},{"type":"null","uniqueKey":"llm.custom.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.custom","typeLabel":"AgentLLMCustomConfigRedacted · object | null"},"fallback":{"properties":{"mode":{"default":"platform","enum":["platform","manual","off"],"title":"Mode","type":"string","uniqueKey":"llm.fallback.mode","typeLabel":"enum\u003cstring>"},"models":{"oneOf":[{"type":"array","items":{"properties":{"model":{"oneOf":[{"type":"string","title":"Model","enum":["google/gemini-3.5-flash-lite","google/gemini-3.6-flash","google/gemini-3.8-flash","google/gemini-3.6-flash-priority","google/gemini-3.8-flash-priority","google/gemini-3.5-flash-lite-priority","google/gemini-4-hydrogen","google/gemini-4-neon","google/gemini-4-hydrogen-priority","google/gemini-4-neon-priority","google/gemini-2.5-flash","google/gemma-4-26b-a4b-it","anthropic/claude-haiku-4.5","anthropic/claude-sonnet-4.6","anthropic/claude-sonnet-5.5","anthropic/claude-opus-5.5","anthropic/claude-fable-5.1","anthropic/claude-fable-5.2","openai/gpt-5.6-luna","openai/gpt-6-luna","openai/gpt-5","openai/gpt-6.1-sol","openai/gpt-6.1-terra","openai/gpt-6-astra","openai/gpt-6.2-sol","openai/gpt-4o","openai/gpt-4.1","openai/gpt-5.6-luna-fast","openai/gpt-6-luna-fast","openai/gpt-6.1-terra-fast","openai/gpt-6.1-sol-fast","openai/gpt-6-astra-fast","openai/gpt-6.2-sol-fast","openai/gpt-4o-fast","openai/gpt-4.1-fast"],"uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Model","uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].model.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].model","typeLabel":"enum\u003cstring> | null"},"custom":{"oneOf":[{"type":"object","title":"AgentLLMCustomConfigRedacted","description":"Read entity: the stored api_key never leaves the collection. The headers\nread back as stored, like the non-credential headers of a webhook tool.","required":["base_url","model"],"properties":{"base_url":{"minLength":1,"title":"Base Url","type":"string","isRequired":true,"uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].custom.oneOf.0.base_url","typeLabel":"string"},"model":{"minLength":1,"title":"Model","type":"string","isRequired":true,"uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].custom.oneOf.0.model","typeLabel":"string"},"api_key":{"default":null,"title":"Api Key","type":"null","uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].custom.oneOf.0.api_key","typeLabel":"null"},"headers":{"oneOf":[{"type":"object","title":"Headers","additionalProperties":{"type":"string","uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].custom.oneOf.0.headers.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].custom.oneOf.0.headers.oneOf.0","typeLabel":"Headers · object"},{"type":"null","title":"Headers","uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].custom.oneOf.0.headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].custom.oneOf.0.headers","typeLabel":"Headers · object | null"}},"uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].custom.oneOf.0","typeLabel":"AgentLLMCustomConfigRedacted · object"},{"type":"null","uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].custom.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].custom","typeLabel":"AgentLLMCustomConfigRedacted · object | null"},"ttft_timeout_ms":{"oneOf":[{"type":"integer","title":"Ttft Timeout Ms","uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].ttft_timeout_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Ttft Timeout Ms","uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].ttft_timeout_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].ttft_timeout_ms","typeLabel":"integer | null"},"total_timeout_ms":{"oneOf":[{"type":"integer","title":"Total Timeout Ms","uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].total_timeout_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Total Timeout Ms","uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].total_timeout_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].total_timeout_ms","typeLabel":"integer | null"},"parallel":{"oneOf":[{"type":"object","title":"AgentLLMParallel","properties":{"kick_in_ms":{"default":1500,"title":"Kick In Ms","type":"integer","uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].parallel.oneOf.0.kick_in_ms","typeLabel":"integer"}},"uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].parallel.oneOf.0","typeLabel":"AgentLLMParallel · object"},{"type":"null","uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].parallel.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX].parallel","typeLabel":"AgentLLMParallel · object | null"}},"title":"AgentLLMFallbackModelRedacted","type":"object","uniqueKey":"llm.fallback.models.oneOf.0.items.[INDEX]","typeLabel":"AgentLLMFallbackModelRedacted · object"},"title":"Models","uniqueKey":"llm.fallback.models.oneOf.0","typeLabel":"AgentLLMFallbackModelRedacted · object[]"},{"type":"null","title":"Models","uniqueKey":"llm.fallback.models.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.fallback.models","typeLabel":"AgentLLMFallbackModelRedacted · object[] | null"},"primary":{"oneOf":[{"type":"object","title":"AgentLLMTimeouts","description":"How long one model gets per reply (manual only), read model.","properties":{"ttft_timeout_ms":{"oneOf":[{"type":"integer","title":"Ttft Timeout Ms","uniqueKey":"llm.fallback.primary.oneOf.0.ttft_timeout_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Ttft Timeout Ms","uniqueKey":"llm.fallback.primary.oneOf.0.ttft_timeout_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.fallback.primary.oneOf.0.ttft_timeout_ms","typeLabel":"integer | null"},"total_timeout_ms":{"oneOf":[{"type":"integer","title":"Total Timeout Ms","uniqueKey":"llm.fallback.primary.oneOf.0.total_timeout_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Total Timeout Ms","uniqueKey":"llm.fallback.primary.oneOf.0.total_timeout_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.fallback.primary.oneOf.0.total_timeout_ms","typeLabel":"integer | null"}},"uniqueKey":"llm.fallback.primary.oneOf.0","typeLabel":"AgentLLMTimeouts · object"},{"type":"null","uniqueKey":"llm.fallback.primary.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.fallback.primary","typeLabel":"AgentLLMTimeouts · object | null"}},"title":"AgentLLMFallbackRedacted","type":"object","uniqueKey":"llm.fallback","typeLabel":"AgentLLMFallbackRedacted · object"}},"title":"AgentLLMConfigRedacted","type":"object","isRequired":true,"uniqueKey":"llm","typeLabel":"AgentLLMConfigRedacted · object"},"updated_at":{"format":"date-time","title":"Updated At","type":"string","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"variables":{"description":"Defaults for `{{name}}` placeholders and what a placeholder without a value does.","properties":{"defaults":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"variables.defaults.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"variables.defaults.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"variables.defaults.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"variables.defaults.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"variables.defaults.additionalProperties","typeLabel":"string | integer | number | boolean"},"title":"Defaults","type":"object","uniqueKey":"variables.defaults","typeLabel":"Defaults · object"},"on_missing":{"default":"keep","enum":["keep","empty","reject"],"title":"On Missing","type":"string","uniqueKey":"variables.on_missing","typeLabel":"enum\u003cstring>"}},"title":"AgentVariablesConfig","type":"object","uniqueKey":"variables","typeLabel":"AgentVariablesConfig · object"}},"required":["agent_id","config_hash","prompt","voice","asr","conversation","tools","webhooks","knowledge_base","analysis","guardrails","context","llm","updated_at"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"agent_id":"\u003cstring>","config_hash":"\u003cstring>","prompt":{"system_prompt":"","first_message_mode":"prompt","first_message":"Hi! Thanks for calling — how can I help you today?","first_message_prompt":"Greet the caller and ask what you can help with.","first_message_start":"agent_first","first_message_max_wait_ms":3000,"first_message_interruptible":true},"voice":{"voice_id":"\u003cstring>","speaking_language":"en","expressive":false,"speed":1,"tts_model":"s2.1-pro","engine":"fish_tts","live3_prompt":"\u003cstring>","effect":"none","pronunciation_dictionary_ids":["\u003cstring>"],"background_sound":{"preset":"off","volume":0.15,"custom_asset_id":"\u003cstring>"}},"asr":{"model":"deepgram:nova-3","multilingual":false,"strict_language":false,"keyterms":["\u003cstring>"]},"conversation":{"max_duration_seconds":1800,"response_wait_ms":550,"eagerness":"balanced","response_max_wait_ms":123,"interruptible":true,"interruption_sensitivity":"balanced","interruption_ignore_phrases":[],"backchannel":{"enabled":true,"strength":5},"speculative_response":true,"reengage":{"enabled":false,"steps":[{"after_seconds":123,"message":""}],"exhausted_action":"wait","exhausted_after_seconds":10},"hangup_after_seconds":60,"hangup_farewell_mode":"off","hangup_farewell_message":"","record_audio":true,"timezone":"","transfer_destinations":[],"transfer_refuse_questions":true,"outbound":{"amd_enabled":true,"voicemail":{"action":"hangup","message":""}},"keypad_menu":{"enabled":false,"prompt":"","options":[],"accept_speech":true,"variable":"menu_choice","no_input_timeout_seconds":5,"max_attempts":2,"retry_message":"","fallback_value":""},"keypad_input":{"enabled":false,"terminator":"#","inter_digit_timeout_seconds":2},"echo_guard":{"web_voice":true,"phone_inbound":true,"phone_outbound":true},"turn_detector":{"model":"fish"}},"tools":{"enabled":true,"tool_ids":["\u003cstring>"],"system_tools":{"hang_up_call":false,"hang_up_call_farewell_mode":"generated","hang_up_call_farewell_message":"","hang_up_call_refuse_questions":false,"press_keys":{"enabled":false}}},"webhooks":{"conversation_init":{"url":"\u003cstring>","has_secret":false,"previous_secret_expires_at":"2023-11-07T05:31:56Z","timeout_seconds":5},"post_call":[{"url":"\u003cstring>","has_secret":false,"previous_secret_expires_at":"2023-11-07T05:31:56Z"}]},"knowledge_base":{"enabled":false,"knowledge_source_ids":["\u003cstring>"]},"analysis":{"summary":{"enabled":true,"prompt":"\u003cstring>","language":"en"},"data_fields":[{"name":"\u003cstring>","type":"text","description":"","enum_options":["\u003cstring>"]}],"criteria":[{"name":"\u003cstring>","description":""}]},"guardrails":{"focus":false,"manipulation":false,"pre_tool_speech":false},"context":{"current_time":true},"llm":{"model":"openai/gpt-6.1-terra-fast","custom":{"base_url":"\u003cstring>","model":"\u003cstring>","api_key":null,"headers":{}},"fallback":{"mode":"platform","models":[{"model":"google/gemini-3.5-flash-lite","custom":{"base_url":"\u003cstring>","model":"\u003cstring>","api_key":null,"headers":{}},"ttft_timeout_ms":123,"total_timeout_ms":123,"parallel":{"kick_in_ms":1500}}],"primary":{"ttft_timeout_ms":123,"total_timeout_ms":123}}},"updated_at":"2023-11-07T05:31:56Z","variables":{"defaults":{},"on_missing":"keep"}}}},"exampleType":"generated"}},"exampleType":"generated"},"a611732f-41a5-4c83-9e3f-fea8c2948e1a":{"description":"No permission -- see authorization schemes","headers":{},"content":{"application/json":{"schema":{"properties":{"status":{"title":"Status","type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"message":{"title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"reason":{"oneOf":[{"type":"string","title":"Reason","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"}},"required":["status","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":123,"message":"\u003cstring>","reason":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"a2f5544a-8693-4c32-9879-5c0ada144f2e":{"description":"Request forbidden -- authorization will not help","headers":{},"content":{"application/json":{"schema":{"properties":{"status":{"title":"Status","type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"message":{"title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"reason":{"oneOf":[{"type":"string","title":"Reason","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"}},"required":["status","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":123,"message":"\u003cstring>","reason":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"26f2d08b-f5e1-41f7-ba50-dbf762bf596d":{"description":"Nothing matches the given URI","headers":{},"content":{"application/json":{"schema":{"properties":{"status":{"title":"Status","type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"message":{"title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"reason":{"oneOf":[{"type":"string","title":"Reason","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"}},"required":["status","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":123,"message":"\u003cstring>","reason":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"177f0a75-57fc-486c-adc2-016b9b1946e6":{"description":"Request conflict","headers":{},"content":{"application/json":{"schema":{"properties":{"status":{"title":"Status","type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"message":{"title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"reason":{"oneOf":[{"type":"string","title":"Reason","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"}},"required":["status","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":123,"message":"\u003cstring>","reason":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"fc6bc2b7-7f53-49ed-9f67-b006bced7d3e":{"description":"","headers":{},"content":{"application/json":{"schema":{"properties":{"status":{"title":"Status","type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"message":{"title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"reason":{"oneOf":[{"type":"string","title":"Reason","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"}},"required":["status","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":123,"message":"\u003cstring>","reason":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"5c4964d2-19e9-49e4-ae33-e2a751502017":{"description":"The server cannot process the request due to a high load","headers":{},"content":{"application/json":{"schema":{"properties":{"status":{"title":"Status","type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"message":{"title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"reason":{"oneOf":[{"type":"string","title":"Reason","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"}},"required":["status","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":123,"message":"\u003cstring>","reason":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"cde02f99-f781-4776-8ccf-013c98846144":{"BearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"d5525dc3-ebcf-4a6b-8358-76716e8b1400":{"description":"Fish Audio API","url":"https://api.fish.audio"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"hanabiaiinc","siteName":"Fish Audio","title":"Update Voice Agent Draft Config - Fish Audio","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-22T10:18:45.163Z","originalFileLocation":"api-reference/endpoint/agent/update-draft-config.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=\"Patch the draft configuration section by section; omitted sections keep their value.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Fish Audio\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hanabiaiinc/rHJNuwD9FcQhvMwX/_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/hanabiaiinc/rHJNuwD9FcQhvMwX/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hanabiaiinc/rHJNuwD9FcQhvMwX/_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/hanabiaiinc/rHJNuwD9FcQhvMwX/_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/hanabiaiinc/rHJNuwD9FcQhvMwX/_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/hanabiaiinc/rHJNuwD9FcQhvMwX/_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/hanabiaiinc/rHJNuwD9FcQhvMwX/_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/hanabiaiinc/rHJNuwD9FcQhvMwX/_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/hanabiaiinc/rHJNuwD9FcQhvMwX/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Voice Agent Draft Config - Fish Audio\">\u003cmeta data-mint-head property=\"og:description\" content=\"Patch the draft configuration section by section; omitted sections keep their value.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fish Audio\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fish.audio/api-reference/endpoint/agent/update-draft-config\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hanabiaiinc.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Update+Voice+Agent+Draft+Config\u0026amp;description=Patch+the+draft+configuration+section+by+section%3B+omitted+sections+keep%0Atheir+value.\u0026amp;theme=61fce384ffd542cc270fb190\u0026amp;signature=7ddd8d56d202286d5243ecb36aec82dde298e65188cc22729b2806c6562c9f3d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update Voice Agent Draft Config - Fish Audio\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Patch the draft configuration section by section; omitted sections keep their value.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hanabiaiinc.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Update+Voice+Agent+Draft+Config\u0026amp;description=Patch+the+draft+configuration+section+by+section%3B+omitted+sections+keep%0Atheir+value.\u0026amp;theme=61fce384ffd542cc270fb190\u0026amp;signature=7ddd8d56d202286d5243ecb36aec82dde298e65188cc22729b2806c6562c9f3d\">\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/hanabiaiinc/rHJNuwD9FcQhvMwX/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Fish Audio\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0e0e0e\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fish.audio/api-reference/endpoint/agent/update-draft-config\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/agent/update-draft-config.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fish.audio/#organization\",\"name\":\"Fish Audio\",\"url\":\"https://docs.fish.audio\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hanabiaiinc/amYp9Dj31LtlHliX/logo/light.png?fit=max\u0026auto=format\u0026n=amYp9Dj31LtlHliX\u0026q=85\u0026s=305973cd6a8d11dbf36d1ec682ee845e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fish.audio#website\",\"name\":\"Fish Audio\",\"url\":\"https://docs.fish.audio\",\"publisher\":{\"@id\":\"https://docs.fish.audio/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fish.audio/api-reference/endpoint/agent/update-draft-config#webpage\",\"url\":\"https://docs.fish.audio/api-reference/endpoint/agent/update-draft-config\",\"name\":\"Update Voice Agent Draft Config\",\"description\":\"Patch the draft configuration section by section; omitted sections keep their value.\",\"dateModified\":\"2026-11-22T10:18:45.163Z\",\"isPartOf\":{\"@id\":\"https://docs.fish.audio#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fish.audio/api-reference/endpoint/agent/update-draft-config#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fish.audio/api-reference/endpoint/agent/update-draft-config#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents API\",\"item\":\"https://docs.fish.audio/api-reference/agent-errors\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agents\",\"item\":\"https://docs.fish.audio/api-reference/endpoint/agent/list-agents\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update Voice Agent Draft Config\",\"item\":\"https://docs.fish.audio/api-reference/endpoint/agent/update-draft-config\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.fish.audio/api-reference/endpoint/agent/update-draft-config#apireference\",\"headline\":\"Update Voice Agent Draft Config\",\"name\":\"Update Voice Agent Draft Config\",\"description\":\"Patch the draft configuration section by section; omitted sections keep their value.\",\"url\":\"https://docs.fish.audio/api-reference/endpoint/agent/update-draft-config\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fish.audio/api-reference/endpoint/agent/update-draft-config#webpage\"},\"dateModified\":\"2026-11-22T10:18:45.163Z\",\"publisher\":{\"@id\":\"https://docs.fish.audio/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fish.audio#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Fish Audio\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Fish Audio\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/agent/update-draft-config.md","siteName":"Fish Audio","nav":{"global":null,"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/overview/capabilities"}]},{"tab":"Agents","pages":[{"title":"Agents","href":"/agents/overview"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/developer-guide/sdk-guide/quickstart"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Introduction","icon":"book","iconType":"solid","href":"/api-reference/introduction"},{"title":"Tracing \u0026 Performance Analysis","icon":"chart-line","iconType":"solid","href":"/api-reference/observability"},{"title":"Errors","icon":"triangle-exclamation","href":"/api-reference/errors"}]},{"group":"REST API","pages":[{"group":"Wallet","icon":"wallet","pages":[{"openapi":"get /wallet/{user_id}/api-credit","title":"Get API Credit","icon":"wallet","iconType":"solid","href":"/api-reference/endpoint/wallet/get-api-credit"},{"openapi":"get /wallet/{user_id}/package","title":"Get User Package","icon":"star","iconType":"solid","href":"/api-reference/endpoint/wallet/get-user-package"}]},{"group":"API Keys","icon":"key","pages":[{"openapi":"post /apikey/revoke","title":"Revoke Exposed API Keys","icon":"key","iconType":"solid","href":"/api-reference/endpoint/apikey/revoke-api-keys"}]},{"group":"Voice Models","icon":"cube","pages":[{"openapi":"get /model","title":"List Models","icon":"list","iconType":"solid","href":"/api-reference/endpoint/model/list-models"},{"openapi":"post /model","title":"Create Model","icon":"circle-plus","iconType":"solid","href":"/api-reference/endpoint/model/create-model"},{"openapi":"get /model/{id}","title":"Get Model","icon":"circle-info","iconType":"solid","href":"/api-reference/endpoint/model/get-model"},{"openapi":"delete /model/{id}","title":"Delete Model","icon":"trash","iconType":"solid","href":"/api-reference/endpoint/model/delete-model"},{"openapi":"patch /model/{id}","title":"Update Model","icon":"pen-to-square","iconType":"solid","href":"/api-reference/endpoint/model/update-model"}]},{"group":"Pronunciation Dictionaries","icon":"book-open","pages":[{"openapi":"get /v1/pronunciation-dictionaries","title":"List Dictionaries","icon":"list","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/list-dictionaries"},{"openapi":"post /v1/pronunciation-dictionaries","title":"Create Dictionary","icon":"circle-plus","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/create-dictionary"},{"openapi":"get /v1/pronunciation-dictionaries/{dictionary_id}","title":"Get Dictionary","icon":"book-open","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/get-dictionary"},{"openapi":"patch /v1/pronunciation-dictionaries/{dictionary_id}","title":"Update Dictionary","icon":"pen-to-square","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/update-dictionary"},{"openapi":"delete /v1/pronunciation-dictionaries/{dictionary_id}","title":"Delete Dictionary","icon":"trash","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/delete-dictionary"},{"openapi":"get /v1/pronunciation-dictionaries/{dictionary_id}/versions","title":"List Versions","icon":"clock-rotate-left","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/list-versions"},{"openapi":"post /v1/pronunciation-dictionaries/{dictionary_id}/versions","title":"Publish Version","icon":"upload","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/create-version"},{"openapi":"get /v1/pronunciation-dictionaries/{dictionary_id}/versions/{version_id}","title":"Get Version","icon":"file-lines","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/get-version"},{"openapi":"get /v1/pronunciation-dictionaries/{dictionary_id}/versions/{version_id}/compare","title":"Compare Versions","icon":"code-compare","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/compare-versions"},{"openapi":"delete /v1/pronunciation-dictionaries/{dictionary_id}/versions/{version_id}","title":"Delete Version","icon":"trash-can","iconType":"solid","href":"/api-reference/endpoint/pronunciation-dictionary/delete-version"}]},{"group":"TTS (v1)","icon":"code","pages":[{"openapi":"post /v1/tts","title":"Text to Speech","icon":"comment-dots","iconType":"solid","href":"/api-reference/endpoint/openapi-v1/text-to-speech"},{"openapi":"post /v1/tts/stream/with-timestamp","title":"Text to Speech Stream with Timestamps","icon":"waveform-lines","iconType":"solid","href":"/api-reference/endpoint/openapi-v1/text-to-speech-stream-with-timestamps"},{"asyncapi":"api-reference/asyncapi.yml ttsLive","title":"WebSocket TTS Streaming","icon":"webhook","iconType":"solid","href":"/api-reference/endpoint/websocket/tts-live"},{"asyncapi":"api-reference/asyncapi.yml ttsLiveWithTimestamps","title":"WebSocket TTS with Timestamps","icon":"webhook","iconType":"solid","href":"/api-reference/endpoint/openapi-v1/text-to-speech-live-with-timestamps"},{"openapi":"post /v1/audio/infill","title":"Audio Infill","icon":"pen-to-square","iconType":"solid","href":"/api-reference/endpoint/openapi-v1/audio-infill"}]},{"group":"Duplex (v1)","icon":"waveform-lines","hidden":true,"pages":[{"asyncapi":"api-reference/duplex-api-asyncapi.yml duplexConverse","title":"Duplex API Converse","icon":"waveform-lines","href":"/api-reference/endpoint/websocket/duplex-api-converse"}]},{"group":"ASR (v1)","icon":"microphone","pages":[{"openapi":"post /v1/asr","title":"Speech to Text","icon":"microphone","iconType":"solid","href":"/api-reference/endpoint/openapi-v1/speech-to-text"},{"asyncapi":"api-reference/asyncapi-asr-realtime.yml asrRealtime","title":"WebSocket Realtime Speech to Text","icon":"webhook","iconType":"solid","tag":"Preview","href":"/api-reference/endpoint/websocket/asr-realtime"}]},{"group":"Voice Design","icon":"wand-magic-sparkles","pages":[{"openapi":"post /v1/voice-design","title":"Voice Design","icon":"wand-magic-sparkles","iconType":"solid","href":"/api-reference/endpoint/openapi-v1/voice-design"}]}]},{"group":"Agents API","pages":[{"title":"Voice Agents API Errors","sidebarTitle":"Agents API Errors","icon":"triangle-exclamation","href":"/api-reference/agent-errors"},{"group":"Agents","icon":"robot","pages":[{"openapi":"get /v1/agent/agents","title":"List Voice Agents","sidebarTitle":"List Agents","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/list-agents"},{"openapi":"post /v1/agent/agents","title":"Create Voice Agent","sidebarTitle":"Create Agent","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/create-agent"},{"openapi":"get /v1/agent/agents/{agent_id}","title":"Get Voice Agent","sidebarTitle":"Get Agent","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/get-agent"},{"openapi":"patch /v1/agent/agents/{agent_id}","title":"Update Voice Agent","sidebarTitle":"Update Agent","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/update-agent"},{"openapi":"post /v1/agent/agents/{agent_id}/clone","title":"Clone Agent","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/clone-agent"},{"openapi":"delete /v1/agent/agents/{agent_id}","title":"Delete Voice Agent","sidebarTitle":"Delete Agent","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/delete-agent"},{"openapi":"get /v1/agent/agents/{agent_id}/config","title":"Get Voice Agent Draft Config","sidebarTitle":"Get Draft Config","description":"Read the agent's current draft configuration — the state the next publish\nwill freeze.","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/get-draft-config"},{"openapi":"patch /v1/agent/agents/{agent_id}/config","title":"Update Voice Agent Draft Config","sidebarTitle":"Update Draft Config","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/update-draft-config"},{"openapi":"post /v1/agent/agents/{agent_id}/llm/custom/test","title":"Test Voice Agent Custom LLM Endpoint","sidebarTitle":"Test Custom LLM","description":"Check that the custom LLM saved on the agent's draft works before you publish","icon":"plug","iconType":"solid","href":"/api-reference/endpoint/agent/test-custom-llm"},{"openapi":"post /v1/agent/agents/{agent_id}/publish","title":"Publish Voice Agent","sidebarTitle":"Publish Agent","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/publish-agent"},{"openapi":"get /v1/agent/agents/{agent_id}/versions","title":"List Voice Agent Versions","sidebarTitle":"List Agent Versions","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/list-agent-versions"},{"openapi":"get /v1/agent/agents/{agent_id}/versions/{version_number}","title":"Get Voice Agent Version","sidebarTitle":"Get Agent Version","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/get-agent-version"},{"openapi":"patch /v1/agent/agents/{agent_id}/versions/{version_number}","title":"Update Version Labels","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/update-agent-version"},{"openapi":"post /v1/agent/agents/{agent_id}/versions/{version_number}/rollback","title":"Roll Back To Version","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/rollback-agent-version"},{"openapi":"get /v1/agent/agents/{agent_id}/deployments","title":"List Deployments","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/list-agent-deployments"},{"openapi":"get /v1/agent/agents/{agent_id}/widget","title":"Get Voice Agent Widget Config","sidebarTitle":"Get Widget Config","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/get-widget-config"}]},{"group":"Sessions","icon":"headset","pages":[{"openapi":"post /v1/agent/sessions","title":"Create Voice Agent Session","sidebarTitle":"Create Agent Session","icon":"headset","iconType":"solid","href":"/api-reference/endpoint/agent/create-agent-session"},{"openapi":"get /v1/agent/sessions","title":"List Voice Agent Sessions","sidebarTitle":"List Agent Sessions","icon":"headset","iconType":"solid","href":"/api-reference/endpoint/agent/list-agent-sessions"},{"openapi":"get /v1/agent/sessions/{session_id}","title":"Get Voice Agent Session","sidebarTitle":"Get Agent Session","icon":"headset","iconType":"solid","href":"/api-reference/endpoint/agent/get-agent-session"},{"openapi":"get /v1/agent/sessions/{session_id}/recording","title":"Get Voice Agent Session Recording","sidebarTitle":"Get Agent Session Recording","icon":"headset","iconType":"solid","href":"/api-reference/endpoint/agent/get-agent-session-recording"},{"openapi":"post /v1/agent/sessions/{session_id}/end","title":"End Voice Agent Session","sidebarTitle":"End Agent Session","icon":"headset","iconType":"solid","href":"/api-reference/endpoint/agent/end-agent-session"},{"openapi":"post /v1/agent/sessions/{session_id}/analysis/rerun","title":"Rerun Voice Agent Session Analysis","sidebarTitle":"Rerun Session Analysis","icon":"rotate-right","iconType":"solid","href":"/api-reference/endpoint/agent/rerun-session-analysis"}]},{"group":"Tools","icon":"wrench","pages":[{"openapi":"get /v1/agent/tools","title":"List Voice Agent Tools","sidebarTitle":"List Tools","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/list-tools"},{"openapi":"post /v1/agent/tools","title":"Create Voice Agent Tool","sidebarTitle":"Create Tool","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/create-tool"},{"openapi":"get /v1/agent/tools/{tool_id}","title":"Get Voice Agent Tool","sidebarTitle":"Get Tool","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/get-tool"},{"openapi":"patch /v1/agent/tools/{tool_id}","title":"Update Voice Agent Tool","sidebarTitle":"Update Tool","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/update-tool"},{"openapi":"post /v1/agent/tools/{tool_id}/test","title":"Test Voice Agent Webhook Tool","sidebarTitle":"Test Tool","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/test-tool"},{"openapi":"delete /v1/agent/tools/{tool_id}","title":"Delete Voice Agent Tool","sidebarTitle":"Delete Tool","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/delete-tool"},{"openapi":"get /v1/agent/tools/{tool_id}/agents","title":"List Voice Agents Using Tool","sidebarTitle":"List Agents Using Tool","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/list-agents-using-tool"}]},{"group":"Tests","icon":"flask","pages":[{"openapi":"get /v1/agent/tests","title":"List Voice Agent Tests","sidebarTitle":"List Tests","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/list-tests"},{"openapi":"post /v1/agent/tests","title":"Create Voice Agent Test","sidebarTitle":"Create Test","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/create-test"},{"openapi":"get /v1/agent/tests/{test_id}","title":"Get Voice Agent Test","sidebarTitle":"Get Test","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/get-test"},{"openapi":"patch /v1/agent/tests/{test_id}","title":"Update Voice Agent Test","sidebarTitle":"Update Test","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/update-test"},{"openapi":"delete /v1/agent/tests/{test_id}","title":"Delete Voice Agent Test","sidebarTitle":"Delete Test","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/delete-test"},{"openapi":"put /v1/agent/agents/{agent_id}/tests/{test_id}","title":"Attach Test to Voice Agent","sidebarTitle":"Attach Test","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/attach-test"},{"openapi":"delete /v1/agent/agents/{agent_id}/tests/{test_id}","title":"Detach Test from Voice Agent","sidebarTitle":"Detach Test","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/detach-test"},{"openapi":"get /v1/agent/agents/{agent_id}/test-tools","title":"List Voice Agent Test Tools","sidebarTitle":"List Test Tools","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/list-test-tools"},{"openapi":"post /v1/agent/agents/{agent_id}/tests/run","title":"Run Voice Agent Tests","sidebarTitle":"Run Tests","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/run-tests"},{"openapi":"get /v1/agent/test-settings","title":"Get Voice Agent Test Settings","sidebarTitle":"Get Test Settings","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/get-test-settings"},{"openapi":"patch /v1/agent/test-settings","title":"Update Voice Agent Test Settings","sidebarTitle":"Update Test Settings","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/update-test-settings"},{"openapi":"get /v1/agent/agents/{agent_id}/test-batches","title":"List Voice Agent Test Batches","sidebarTitle":"List Test Batches","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/list-test-batches"},{"openapi":"get /v1/agent/agents/{agent_id}/test-batches/{batch_id}","title":"Get Voice Agent Test Batch","sidebarTitle":"Get Test Batch","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/get-test-batch"},{"openapi":"patch /v1/agent/agents/{agent_id}/test-batches/{batch_id}","title":"Update Voice Agent Test Batch","sidebarTitle":"Update Test Batch","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/update-test-batch"},{"openapi":"post /v1/agent/agents/{agent_id}/test-batches/{batch_id}/cancel","title":"Cancel Voice Agent Test Batch","sidebarTitle":"Cancel Test Batch","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/cancel-test-batch"},{"openapi":"get /v1/agent/test-runs","title":"List Voice Agent Test Runs","sidebarTitle":"List Test Runs","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/list-test-runs"},{"openapi":"get /v1/agent/test-runs/{run_id}","title":"Get Voice Agent Test Run","sidebarTitle":"Get Test Run","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/get-test-run"}]},{"group":"Test Folders","icon":"folder","pages":[{"openapi":"get /v1/agent/test-folders","title":"List Voice Agent Test Folders","sidebarTitle":"List Test Folders","icon":"folder","iconType":"solid","href":"/api-reference/endpoint/agent/list-test-folders"},{"openapi":"post /v1/agent/test-folders","title":"Create Voice Agent Test Folder","sidebarTitle":"Create Test Folder","icon":"folder","iconType":"solid","href":"/api-reference/endpoint/agent/create-test-folder"},{"openapi":"patch /v1/agent/test-folders/{folder_id}","title":"Rename Voice Agent Test Folder","sidebarTitle":"Rename Test Folder","icon":"folder","iconType":"solid","href":"/api-reference/endpoint/agent/update-test-folder"},{"openapi":"delete /v1/agent/test-folders/{folder_id}","title":"Delete Voice Agent Test Folder","sidebarTitle":"Delete Test Folder","icon":"folder","iconType":"solid","href":"/api-reference/endpoint/agent/delete-test-folder"}]},{"group":"Knowledge Sources","icon":"book","pages":[{"openapi":"get /v1/agent/knowledge-sources","title":"List Voice Agent Knowledge Sources","sidebarTitle":"List Knowledge Sources","icon":"book","iconType":"solid","href":"/api-reference/endpoint/agent/list-knowledge-sources"},{"openapi":"post /v1/agent/knowledge-sources","title":"Create Voice Agent Knowledge Source","sidebarTitle":"Create Knowledge Source","icon":"book","iconType":"solid","href":"/api-reference/endpoint/agent/create-knowledge-source"},{"openapi":"get /v1/agent/knowledge-sources/{source_id}","title":"Get Voice Agent Knowledge Source","sidebarTitle":"Get Knowledge Source","icon":"book","iconType":"solid","href":"/api-reference/endpoint/agent/get-knowledge-source"},{"openapi":"patch /v1/agent/knowledge-sources/{source_id}","title":"Update Voice Agent Knowledge Source","sidebarTitle":"Update Knowledge Source","icon":"book","iconType":"solid","href":"/api-reference/endpoint/agent/update-knowledge-source"},{"openapi":"delete /v1/agent/knowledge-sources/{source_id}","title":"Delete Voice Agent Knowledge Source","sidebarTitle":"Delete Knowledge Source","icon":"book","iconType":"solid","href":"/api-reference/endpoint/agent/delete-knowledge-source"},{"openapi":"get /v1/agent/knowledge-sources/{source_id}/agents","title":"List Voice Agents Using Knowledge Source","sidebarTitle":"List Agents Using Knowledge Source","icon":"book","iconType":"solid","href":"/api-reference/endpoint/agent/list-agents-using-knowledge-source"}]},{"group":"Knowledge Folders","icon":"folder","pages":[{"openapi":"get /v1/agent/knowledge-folders","title":"List Voice Agent Knowledge Folders","sidebarTitle":"List Knowledge Folders","icon":"folder","iconType":"solid","href":"/api-reference/endpoint/agent/list-knowledge-folders"},{"openapi":"post /v1/agent/knowledge-folders","title":"Create Voice Agent Knowledge Folder","sidebarTitle":"Create Knowledge Folder","icon":"folder","iconType":"solid","href":"/api-reference/endpoint/agent/create-knowledge-folder"},{"openapi":"patch /v1/agent/knowledge-folders/{folder_id}","title":"Rename Voice Agent Knowledge Folder","sidebarTitle":"Rename Knowledge Folder","icon":"folder","iconType":"solid","href":"/api-reference/endpoint/agent/update-knowledge-folder"},{"openapi":"delete /v1/agent/knowledge-folders/{folder_id}","title":"Delete Voice Agent Knowledge Folder","sidebarTitle":"Delete Knowledge Folder","icon":"folder","iconType":"solid","href":"/api-reference/endpoint/agent/delete-knowledge-folder"}]},{"group":"Background Sounds","icon":"volume-high","pages":[{"openapi":"get /v1/agent/background-sounds","title":"List Voice Agent Background Sounds","sidebarTitle":"List Background Sounds","icon":"volume-high","iconType":"solid","href":"/api-reference/endpoint/agent/list-background-sounds"},{"openapi":"post /v1/agent/background-sounds","title":"Create Voice Agent Background Sound","sidebarTitle":"Create Background Sound","icon":"volume-high","iconType":"solid","href":"/api-reference/endpoint/agent/create-background-sound"},{"openapi":"delete /v1/agent/background-sounds/{asset_id}","title":"Delete Voice Agent Background Sound","sidebarTitle":"Delete Background Sound","icon":"volume-high","iconType":"solid","href":"/api-reference/endpoint/agent/delete-background-sound"}]},{"group":"LLM Models","icon":"brain","pages":[{"openapi":"get /v1/agent/llm-models","title":"List Voice Agent LLM Models","sidebarTitle":"List LLM Models","icon":"brain","iconType":"solid","href":"/api-reference/endpoint/agent/list-llm-models"}]},{"group":"Phone Numbers","icon":"phone","pages":[{"openapi":"get /v1/agent/available-phone-numbers","title":"Search Available Voice Agent Phone Numbers","sidebarTitle":"Search Available Phone Numbers","icon":"phone","iconType":"solid","href":"/api-reference/endpoint/agent/search-available-phone-numbers"},{"openapi":"get /v1/agent/phone-numbers","title":"List Voice Agent Phone Numbers","sidebarTitle":"List Phone Numbers","icon":"phone","iconType":"solid","href":"/api-reference/endpoint/agent/list-phone-numbers"},{"openapi":"post /v1/agent/phone-numbers","title":"Purchase Voice Agent Phone Number","sidebarTitle":"Purchase Phone Number","icon":"phone","iconType":"solid","href":"/api-reference/endpoint/agent/purchase-phone-number"},{"openapi":"get /v1/agent/phone-numbers/{phone_number_id}","title":"Get Voice Agent Phone Number","sidebarTitle":"Get Phone Number","icon":"phone","iconType":"solid","href":"/api-reference/endpoint/agent/get-phone-number"},{"openapi":"patch /v1/agent/phone-numbers/{phone_number_id}","title":"Update Voice Agent Phone Number","sidebarTitle":"Update Phone Number","icon":"phone","iconType":"solid","href":"/api-reference/endpoint/agent/update-phone-number"},{"openapi":"delete /v1/agent/phone-numbers/{phone_number_id}","title":"Release Voice Agent Phone Number","sidebarTitle":"Release Phone Number","icon":"phone","iconType":"solid","href":"/api-reference/endpoint/agent/release-phone-number"}]},{"group":"Phone Calls","icon":"phone-arrow-up-right","pages":[{"openapi":"post /v1/agent/phone-calls","title":"Create Voice Agent Phone Call","sidebarTitle":"Create Phone Call","icon":"phone-arrow-up-right","iconType":"solid","href":"/api-reference/endpoint/agent/create-phone-call"}]}]},{"group":"SDK Reference","pages":[{"group":"Python SDK","icon":"python","pages":[{"title":"Overview","icon":"python","href":"/api-reference/sdk/python/overview"},{"group":"Reference","icon":"book-open","pages":[{"title":null,"href":"/api-reference/sdk/python/client"},{"title":null,"href":"/api-reference/sdk/python/resources"},{"title":null,"href":"/api-reference/sdk/python/types"},{"title":null,"href":"/api-reference/sdk/python/core"},{"title":null,"href":"/api-reference/sdk/python/utils"},{"title":null,"href":"/api-reference/sdk/python/exceptions"}]},{"title":"Legacy","icon":"clock-rotate-left","href":"/archive/python-sdk-legacy/index"}]},{"group":"JavaScript SDK","icon":"js","pages":[{"title":"JavaScript SDK Reference","sidebarTitle":"Reference","icon":"book","href":"/api-reference/sdk/javascript/api-reference"}]},{"group":"Go SDK","icon":"golang","pages":[{"title":"API Reference","icon":"book","href":"/api-reference/sdk/go/api-reference"}]}]}]}]},"basePath":"","title":"Update Voice Agent Draft Config - Fish Audio","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DUG0fxZu.js","snippetPresets-Ba5aWAdQ.js","utils-GxQLQihZ.js","style-to-object-BY3JEAdk.js","utils-WKMM_gjD.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Bo9LYdaA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DwYjaFhs.js","_Uint8Array-DDE2Hehm.js","isObject-FP1Yky1u.js","ApiExamples-DhR-5ORn.js","usePlaygroundInputsStore-BaYqfAgH.js","shallow-BC7UwQwD.js","isEqual-gcN6MEQu.js","CodeSnippets-B8P54LrN.js","CodeSnippet-Czwn5OJE.js","use-playground-group-access-C3A6I116.js","Page-CUkc1DBo.js","api-description-markdown-CDE0Fpj5.js","DynamicMarkdown-F4EfLno9.js","SectionHeading-DMe18In2.js","MethodPill-CW7tTaiB.js","getPastedJson-DB5smC0Q.js","Check2Icon-DDdveNjm.js","axios-CsQoIw0U.js","Markdown-BLge-GTN.js","AssistantPageLink-BFI2wFhH.js","dist-C1RpOC6K.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}