Retry-safe replay key: the same key with the same body returns the call already placed instead of dialing again (24h window).
Body
application/json
POST phone-calls body, shared by the public and console routes.
to_number is deliberately not format-validated here: the contract orders
the E.164 check after the agent/published checks, so it runs in the
service with a machine-readable reason.
{"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":"6af1bbf7ab0bbd121500e328","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":88},{"language":"default","tag":"Agents API","count":49},{"language":"default","tag":"Agents","count":48},{"language":"default","tag":"Resources","count":40},{"language":"default","tag":"Overview","count":31},{"language":"default","tag":"REST API","count":24},{"language":"default","tag":"Core Features","count":14},{"language":"default","tag":"Tests","count":13},{"language":"default","tag":"Cookbook","count":12},{"language":"default","tag":"Build","count":11}]},"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"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)}"}],"page":{"pagePath":"api-reference/endpoint/agent/create-phone-call","slug":"/api-reference/endpoint/agent/create-phone-call","pageMetadata":{"openapi":"post /v1/agent/phone-calls","title":"Create Phone Call","description":"Place an outbound call from one of your phone numbers; the agent speaks when\nthe callee answers.","icon":"phone-arrow-up-right","iconType":"solid","href":"/api-reference/endpoint/agent/create-phone-call"},"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: \"Place an outbound call from one of your phone numbers; the agent speaks when\\nthe callee answers.\"\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":"post /v1/agent/phone-calls","title":"Create Phone Call","description":"Place an outbound call from one of your phone numbers; the agent speaks when\nthe callee answers.","icon":"phone-arrow-up-right","iconType":"solid","href":"/api-reference/endpoint/agent/create-phone-call"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create Phone Call","description":"Place an outbound call from one of your phone numbers; the agent speaks when\nthe callee answers.","security":["88702da4-b2fd-45db-bf31-5a665c0a45ca"],"parameters":["9f64631f-d3aa-47ee-a024-1cc963add075"],"requestBody":"e1d34d2c-0233-4daa-be24-379c2e68b93e","responses":{"201":"9af335a6-50e7-4ebd-b038-ba8b57ab6776","401":"029d1502-457e-4762-ba28-e55ad7fc809e","402":"37fa07a7-b7dd-4eaa-92e5-3b355e03a579","403":"40b54225-cebf-41b4-9b94-9d9ca644b474","404":"84c1ebdd-5c8e-497b-800c-5afb0caffc2b","409":"e05a0bbc-cc0d-439f-a95a-f0c72c385968","422":"45cc1fdd-f8d4-4d7d-9e79-ccbd17ef681e","429":"cccc3965-2f8a-4a49-b1c9-f7e8897cd626","502":"b570c6e5-f357-4405-84d7-81517960fd05","503":"c8a4bdb3-5f53-4c93-90d9-d0bc0dd2a584"},"tags":["Phone Calls"],"x-codeSamples":[{"lang":"bash","label":"Create Phone Call","source":"curl --request POST \\\n --url https://api.fish.audio/v1/agent/phone-calls \\\n --header 'Authorization: Bearer \u003ctoken>' \\\n --header 'Content-Type: application/json' \\\n --header 'Idempotency-Key: \u003cunique-key>' \\\n --data '{\n \"agent_id\": \"\u003cagent-id>\",\n \"phone_number_id\": \"\u003cphone-number-id>\",\n \"to_number\": \"+14155550123\"\n }'"}],"method":"post","type":"path","servers":["b11afb17-b16c-4301-8bc2-8667062ab5fc"],"path":"/v1/agent/phone-calls","baseUrlOptions":["https://api.fish.audio"],"title":"Create Phone Call","codeSamples":[{"label":"Create Phone Call","lang":"bash","source":"curl --request POST \\\n --url https://api.fish.audio/v1/agent/phone-calls \\\n --header 'Authorization: Bearer \u003ctoken>' \\\n --header 'Content-Type: application/json' \\\n --header 'Idempotency-Key: \u003cunique-key>' \\\n --data '{\n \"agent_id\": \"\u003cagent-id>\",\n \"phone_number_id\": \"\u003cphone-number-id>\",\n \"to_number\": \"+14155550123\"\n }'"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"9f64631f-d3aa-47ee-a024-1cc963add075":{"in":"header","name":"idempotency-key","description":"Retry-safe replay key: the same key with the same body returns the call already placed instead of dialing again (24h window).","required":false,"schema":{"oneOf":[{"type":"string","title":"Idempotency-Key","description":"Retry-safe replay key: the same key with the same body returns the call already placed instead of dialing again (24h window).","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Idempotency-Key","description":"Retry-safe replay key: the same key with the same body returns the call already placed instead of dialing again (24h window).","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"deprecated":false}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"description":"POST phone-calls body, shared by the public and console routes.\n\nto_number is deliberately not format-validated here: the contract orders\nthe E.164 check after the agent/published checks, so it runs in the\nservice with a machine-readable reason.","properties":{"agent_id":{"title":"Agent Id","type":"string","isRequired":true,"uniqueKey":"agent_id","typeLabel":"string"},"phone_number_id":{"description":"The team-owned number to dial from (twilio provider only).","title":"Phone Number Id","type":"string","isRequired":true,"uniqueKey":"phone_number_id","typeLabel":"string"},"to_number":{"description":"Destination in E.164, e.g. +14155550123.","title":"To Number","type":"string","isRequired":true,"uniqueKey":"to_number","typeLabel":"string"},"dynamic_variables":{"oneOf":[{"type":"object","title":"Dynamic Variables","maxProperties":500,"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"dynamic_variables.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"dynamic_variables.oneOf.0.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"dynamic_variables.oneOf.0.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"dynamic_variables.oneOf.0.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"dynamic_variables.oneOf.0.additionalProperties","typeLabel":"string | integer | number | boolean"},"uniqueKey":"dynamic_variables.oneOf.0","typeLabel":"Dynamic Variables · object"},{"type":"null","title":"Dynamic Variables","uniqueKey":"dynamic_variables.oneOf.1","typeLabel":"null"}],"uniqueKey":"dynamic_variables","typeLabel":"Dynamic Variables · object | null"},"overrides":{"oneOf":[{"type":"object","title":"AgentSessionOverridesPayload","description":"Wire twin of @fishaudio/agent-protocol `SessionOverrides` (session.ts).\n\nEvery field must be allow-listed in Agent.overrides_allowed; unauthorized\nfields fail session creation loudly rather than being silently dropped.","properties":{"first_message":{"oneOf":[{"type":"string","title":"First Message","maxLength":10000,"uniqueKey":"overrides.oneOf.0.first_message.oneOf.0","typeLabel":"string"},{"type":"null","title":"First Message","uniqueKey":"overrides.oneOf.0.first_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.first_message","typeLabel":"string | null"},"first_message_prompt":{"oneOf":[{"type":"string","title":"First Message Prompt","maxLength":10000,"uniqueKey":"overrides.oneOf.0.first_message_prompt.oneOf.0","typeLabel":"string"},{"type":"null","title":"First Message Prompt","uniqueKey":"overrides.oneOf.0.first_message_prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.first_message_prompt","typeLabel":"string | null"},"system_prompt":{"oneOf":[{"type":"string","title":"System Prompt","description":"Limited to 32000 tokens (o200k_base), same budget as the configured prompt it replaces.","maxLength":500000,"uniqueKey":"overrides.oneOf.0.system_prompt.oneOf.0","typeLabel":"string"},{"type":"null","title":"System Prompt","description":"Limited to 32000 tokens (o200k_base), same budget as the configured prompt it replaces.","uniqueKey":"overrides.oneOf.0.system_prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.system_prompt","typeLabel":"string | null"},"voice_id":{"oneOf":[{"type":"string","title":"Voice Id","maxLength":256,"uniqueKey":"overrides.oneOf.0.voice_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Voice Id","uniqueKey":"overrides.oneOf.0.voice_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.voice_id","typeLabel":"string | null"},"language":{"oneOf":[{"type":"string","title":"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":"overrides.oneOf.0.language.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Language","uniqueKey":"overrides.oneOf.0.language.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.language","typeLabel":"enum\u003cstring> | null"},"asr":{"oneOf":[{"type":"object","title":"AgentSessionAsrOverridesPayload","description":"Per-session subset of the agent config's asr section, same field names.","properties":{"model":{"oneOf":[{"type":"string","title":"Model","description":"Speech recognition model for this session, same values as the agent's `asr.model`.","enum":["deepgram:nova-3","elevenlabs:scribe_v2_realtime","elevenlabs:scribe_v2_medical","fish_audio:transcribe-stream-1"],"uniqueKey":"overrides.oneOf.0.asr.oneOf.0.model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Model","description":"Speech recognition model for this session, same values as the agent's `asr.model`.","uniqueKey":"overrides.oneOf.0.asr.oneOf.0.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.asr.oneOf.0.model","typeLabel":"enum\u003cstring> | null"}},"additionalProperties":false,"uniqueKey":"overrides.oneOf.0.asr.oneOf.0","typeLabel":"AgentSessionAsrOverridesPayload · object"},{"type":"null","uniqueKey":"overrides.oneOf.0.asr.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.asr","typeLabel":"AgentSessionAsrOverridesPayload · object | null"},"llm":{"oneOf":[{"type":"object","title":"AgentSessionLlmOverridesPayload","description":"Per-session subset of the agent config's llm section, same field names.","properties":{"fallback":{"oneOf":[{"type":"object","title":"AgentLLMFallbackPayload","description":"Replaces the agent's `llm.fallback` for this session, same shape and rules. Each `custom` entry needs its `api_key`.","required":["mode"],"properties":{"mode":{"enum":["platform","manual","off"],"title":"Mode","type":"string","isRequired":true,"uniqueKey":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.mode","typeLabel":"enum\u003cstring>"},"models":{"oneOf":[{"type":"array","items":{"additionalProperties":false,"description":"One fallback, write model: `model` or `custom`, under the same rules as\nllm.model / llm.custom.","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-2.5-flash","google/gemma-4-26b-a4b-it","anthropic/claude-haiku-4.5","anthropic/claude-sonnet-4.6","anthropic/claude-opus-5.5","anthropic/claude-fable-5.1","openai/gpt-5.6-luna","openai/gpt-6-luna","openai/gpt-5","openai/gpt-6.1-sol","openai/gpt-6-astra","openai/gpt-4o","openai/gpt-4.1"],"uniqueKey":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Model","uniqueKey":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].model.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].model","typeLabel":"enum\u003cstring> | null"},"custom":{"oneOf":[{"type":"object","title":"AgentLLMCustomPayload","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":"overrides.oneOf.0.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":"overrides.oneOf.0.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":"overrides.oneOf.0.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":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom.oneOf.0.api_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.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":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom.oneOf.0.headers.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"overrides.oneOf.0.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":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom.oneOf.0.headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom.oneOf.0.headers","typeLabel":"Headers · object | null"}},"additionalProperties":false,"uniqueKey":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom.oneOf.0","typeLabel":"AgentLLMCustomPayload · 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":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].custom","typeLabel":"AgentLLMCustomPayload · 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":"overrides.oneOf.0.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":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].ttft_timeout_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.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":"overrides.oneOf.0.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":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].total_timeout_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.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":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].parallel.oneOf.0.kick_in_ms","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"overrides.oneOf.0.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":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].parallel.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX].parallel","typeLabel":"AgentLLMParallelPayload · object | null"}},"title":"AgentLLMFallbackModelPayload","type":"object","uniqueKey":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.0.items.[INDEX]","typeLabel":"AgentLLMFallbackModelPayload · object"},"title":"Models","description":"Fallback models in order, 1 to 3. Only with mode `manual`.","uniqueKey":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.0","typeLabel":"AgentLLMFallbackModelPayload · object[]"},{"type":"null","title":"Models","description":"Fallback models in order, 1 to 3. Only with mode `manual`.","uniqueKey":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.models","typeLabel":"AgentLLMFallbackModelPayload · 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":"overrides.oneOf.0.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":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.primary.oneOf.0.ttft_timeout_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.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":"overrides.oneOf.0.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":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.primary.oneOf.0.total_timeout_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.primary.oneOf.0.total_timeout_ms","typeLabel":"integer | null"}},"additionalProperties":false,"uniqueKey":"overrides.oneOf.0.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":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.primary.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0.primary","typeLabel":"AgentLLMTimeoutsPayload · object | null"}},"additionalProperties":false,"uniqueKey":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.0","typeLabel":"AgentLLMFallbackPayload · object"},{"type":"null","description":"Replaces the agent's `llm.fallback` for this session, same shape and rules. Each `custom` entry needs its `api_key`.","uniqueKey":"overrides.oneOf.0.llm.oneOf.0.fallback.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.llm.oneOf.0.fallback","typeLabel":"AgentLLMFallbackPayload · object | null"}},"additionalProperties":false,"uniqueKey":"overrides.oneOf.0.llm.oneOf.0","typeLabel":"AgentSessionLlmOverridesPayload · object"},{"type":"null","uniqueKey":"overrides.oneOf.0.llm.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides.oneOf.0.llm","typeLabel":"AgentSessionLlmOverridesPayload · object | null"}},"additionalProperties":false,"uniqueKey":"overrides.oneOf.0","typeLabel":"AgentSessionOverridesPayload · object"},{"type":"null","uniqueKey":"overrides.oneOf.1","typeLabel":"null"}],"uniqueKey":"overrides","typeLabel":"AgentSessionOverridesPayload · object | null"},"metadata":{"oneOf":[{"type":"object","title":"Metadata","additionalProperties":{"oneOf":[{}],"uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"metadata.oneOf.0","typeLabel":"Metadata · object"},{"type":"null","title":"Metadata","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"Metadata · object | null"},"llm_extra_body":{"oneOf":[{"type":"object","title":"Llm Extra Body","additionalProperties":{"oneOf":[{}],"uniqueKey":"llm_extra_body.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"llm_extra_body.oneOf.0","typeLabel":"Llm Extra Body · object"},{"type":"null","title":"Llm Extra Body","uniqueKey":"llm_extra_body.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm_extra_body","typeLabel":"Llm Extra Body · object | null"},"sip_headers":{"oneOf":[{"type":"object","title":"Sip Headers","description":"Custom SIP headers for this call's INVITE, imported SIP numbers only. Same rules as the number's termination_headers, and merged over them.","additionalProperties":{"type":"string","uniqueKey":"sip_headers.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"sip_headers.oneOf.0","typeLabel":"Sip Headers · object"},{"type":"null","title":"Sip Headers","description":"Custom SIP headers for this call's INVITE, imported SIP numbers only. Same rules as the number's termination_headers, and merged over them.","uniqueKey":"sip_headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"sip_headers","typeLabel":"Sip Headers · object | null"}},"required":["agent_id","phone_number_id","to_number"],"title":"PhoneCallCreatePayload","type":"object","uniqueKey":"","typeLabel":"PhoneCallCreatePayload · object"},"examples":{"Example":{"title":"Example","value":{"agent_id":"\u003cstring>","phone_number_id":"\u003cstring>","to_number":"\u003cstring>","dynamic_variables":{},"overrides":{"first_message":"\u003cstring>","first_message_prompt":"\u003cstring>","system_prompt":"\u003cstring>","voice_id":"\u003cstring>","asr":{},"llm":{"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}}}},"metadata":{},"llm_extra_body":{},"sip_headers":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"9af335a6-50e7-4ebd-b038-ba8b57ab6776":{"description":"Document created, URL follows","headers":{},"content":{"application/json":{"schema":{"properties":{"session_id":{"title":"Session Id","type":"string","isRequired":true,"uniqueKey":"session_id","typeLabel":"string"},"status":{"const":"queued","default":"queued","title":"Status","type":"string","uniqueKey":"status","typeLabel":"string"}},"required":["session_id"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"session_id":"\u003cstring>","status":"queued"}}},"exampleType":"generated"}},"exampleType":"generated"},"029d1502-457e-4762-ba28-e55ad7fc809e":{"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"},"37fa07a7-b7dd-4eaa-92e5-3b355e03a579":{"description":"No payment -- see charging 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"},"40b54225-cebf-41b4-9b94-9d9ca644b474":{"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"},"84c1ebdd-5c8e-497b-800c-5afb0caffc2b":{"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"},"e05a0bbc-cc0d-439f-a95a-f0c72c385968":{"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"},"45cc1fdd-f8d4-4d7d-9e79-ccbd17ef681e":{"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"},"cccc3965-2f8a-4a49-b1c9-f7e8897cd626":{"description":"The user has sent too many requests in a given amount of time (\"rate limiting\")","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"},"b570c6e5-f357-4405-84d7-81517960fd05":{"description":"Invalid responses from another server/proxy","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"},"c8a4bdb3-5f53-4c93-90d9-d0bc0dd2a584":{"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":{"88702da4-b2fd-45db-bf31-5a665c0a45ca":{"BearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"b11afb17-b16c-4301-8bc2-8667062ab5fc":{"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":"Create Phone Call - Fish Audio","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-18T20:21:28.209Z","originalFileLocation":"api-reference/endpoint/agent/create-phone-call.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=\"Place an outbound call from one of your phone numbers; the agent speaks when the callee answers.\">\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=\"Create Phone Call - Fish Audio\">\u003cmeta data-mint-head property=\"og:description\" content=\"Place an outbound call from one of your phone numbers; the agent speaks when the callee answers.\">\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/create-phone-call\">\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=Phone+Calls\u0026amp;title=Create+Phone+Call\u0026amp;description=Place+an+outbound+call+from+one+of+your+phone+numbers%3B+the+agent+speaks+when%0Athe+callee+answers.\u0026amp;theme=61fce384ffd542cc270fb190\u0026amp;signature=1cf74b159133a71da9780caa160a1945582ba30923ca18aae8fd2af061fa9549\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Phone Call - Fish Audio\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Place an outbound call from one of your phone numbers; the agent speaks when the callee answers.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hanabiaiinc.mintlify.site/_mintlify/api/og/v2?division=Phone+Calls\u0026amp;title=Create+Phone+Call\u0026amp;description=Place+an+outbound+call+from+one+of+your+phone+numbers%3B+the+agent+speaks+when%0Athe+callee+answers.\u0026amp;theme=61fce384ffd542cc270fb190\u0026amp;signature=1cf74b159133a71da9780caa160a1945582ba30923ca18aae8fd2af061fa9549\">\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/create-phone-call\">\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/create-phone-call.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/create-phone-call#webpage\",\"url\":\"https://docs.fish.audio/api-reference/endpoint/agent/create-phone-call\",\"name\":\"Create Phone Call\",\"description\":\"Place an outbound call from one of your phone numbers; the agent speaks when the callee answers.\",\"dateModified\":\"2026-08-18T20:21:28.209Z\",\"isPartOf\":{\"@id\":\"https://docs.fish.audio#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fish.audio/api-reference/endpoint/agent/create-phone-call#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fish.audio/api-reference/endpoint/agent/create-phone-call#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents API\",\"item\":\"https://docs.fish.audio/api-reference/agent-errors\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Phone Call\",\"item\":\"https://docs.fish.audio/api-reference/endpoint/agent/create-phone-call\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.fish.audio/api-reference/endpoint/agent/create-phone-call#apireference\",\"headline\":\"Create Phone Call\",\"name\":\"Create Phone Call\",\"description\":\"Place an outbound call from one of your phone numbers; the agent speaks when the callee answers.\",\"url\":\"https://docs.fish.audio/api-reference/endpoint/agent/create-phone-call\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fish.audio/api-reference/endpoint/agent/create-phone-call#webpage\"},\"dateModified\":\"2026-08-18T20:21:28.209Z\",\"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\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","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":"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"}]},{"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":"Agents API Errors","icon":"triangle-exclamation","href":"/api-reference/agent-errors"},{"group":"Agents","icon":"robot","pages":[{"openapi":"get /v1/agent/agents","title":"List Agents","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/list-agents"},{"openapi":"post /v1/agent/agents","title":"Create Agent","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/create-agent"},{"openapi":"get /v1/agent/agents/{agent_id}","title":"Get Agent","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/get-agent"},{"openapi":"patch /v1/agent/agents/{agent_id}","title":"Update Agent","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/update-agent"},{"openapi":"delete /v1/agent/agents/{agent_id}","title":"Delete Agent","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/delete-agent"},{"openapi":"get /v1/agent/agents/{agent_id}/config","title":"Get Draft Config","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/get-draft-config"},{"openapi":"patch /v1/agent/agents/{agent_id}/config","title":"Update Draft Config","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/update-draft-config"},{"openapi":"post /v1/agent/agents/{agent_id}/publish","title":"Publish Agent","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/publish-agent"},{"openapi":"get /v1/agent/agents/{agent_id}/versions","title":"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 Agent Version","icon":"robot","iconType":"solid","href":"/api-reference/endpoint/agent/get-agent-version"},{"openapi":"get /v1/agent/agents/{agent_id}/widget","title":"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 Agent Session","icon":"headset","iconType":"solid","href":"/api-reference/endpoint/agent/create-agent-session"},{"openapi":"get /v1/agent/sessions","title":"List Agent Sessions","icon":"headset","iconType":"solid","href":"/api-reference/endpoint/agent/list-agent-sessions"},{"openapi":"get /v1/agent/sessions/{session_id}","title":"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 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 Agent Session","icon":"headset","iconType":"solid","href":"/api-reference/endpoint/agent/end-agent-session"}]},{"group":"Tools","icon":"wrench","pages":[{"openapi":"get /v1/agent/tools","title":"List Tools","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/list-tools"},{"openapi":"post /v1/agent/tools","title":"Create Tool","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/create-tool"},{"openapi":"get /v1/agent/tools/{tool_id}","title":"Get Tool","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/get-tool"},{"openapi":"patch /v1/agent/tools/{tool_id}","title":"Update Tool","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/update-tool"},{"openapi":"delete /v1/agent/tools/{tool_id}","title":"Delete Tool","icon":"wrench","iconType":"solid","href":"/api-reference/endpoint/agent/delete-tool"},{"openapi":"get /v1/agent/tools/{tool_id}/agents","title":"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 Tests","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/list-tests"},{"openapi":"post /v1/agent/tests","title":"Create Test","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/create-test"},{"openapi":"get /v1/agent/tests/{test_id}","title":"Get Test","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/get-test"},{"openapi":"patch /v1/agent/tests/{test_id}","title":"Update Test","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/update-test"},{"openapi":"delete /v1/agent/tests/{test_id}","title":"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","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/attach-test"},{"openapi":"delete /v1/agent/agents/{agent_id}/tests/{test_id}","title":"Detach Test","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/detach-test"},{"openapi":"get /v1/agent/agents/{agent_id}/test-tools","title":"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 Tests","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/run-tests"},{"openapi":"get /v1/agent/agents/{agent_id}/test-batches","title":"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 Test Batch","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/get-test-batch"},{"openapi":"get /v1/agent/test-runs","title":"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 Test Run","icon":"flask","iconType":"solid","href":"/api-reference/endpoint/agent/get-test-run"}]},{"group":"Knowledge Sources","icon":"book","pages":[{"openapi":"get /v1/agent/knowledge-sources","title":"List Knowledge Sources","icon":"book","iconType":"solid","href":"/api-reference/endpoint/agent/list-knowledge-sources"},{"openapi":"post /v1/agent/knowledge-sources","title":"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 Knowledge Source","icon":"book","iconType":"solid","href":"/api-reference/endpoint/agent/get-knowledge-source"},{"openapi":"patch /v1/agent/knowledge-sources/{source_id}","title":"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 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 Agents Using Knowledge Source","icon":"book","iconType":"solid","href":"/api-reference/endpoint/agent/list-agents-using-knowledge-source"}]},{"group":"Phone Numbers","icon":"phone","pages":[{"openapi":"get /v1/agent/available-phone-numbers","title":"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 Phone Numbers","icon":"phone","iconType":"solid","href":"/api-reference/endpoint/agent/list-phone-numbers"},{"openapi":"post /v1/agent/phone-numbers","title":"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 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 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 Phone Number","description":"Release a number back to the provider's inventory and stop its daily\nbilling.","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 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","description":"Fish Audio Python SDK for text-to-speech and voice cloning","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"}]}]}]}]},"basePath":"","title":"Create Phone Call - Fish Audio","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}