Deprecated. This endpoint was deprecated on October 17, 2026 and will stop working on November 30, 2026. It keeps working until then. Use Create AI Agent (v3) instead. See Migrate from v2 to v3.
Create a new AI agent with the provided configuration.
Configuration for analysis items to be processed after calls
StringPostCallAnalysisItemResponse
EnumPostCallAnalysisItemResponse
BooleanPostCallAnalysisItemResponse
NumberPostCallAnalysisItemResponse
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Verbex Docs","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/hishabsingaporepteltd/hKDJJlbuwj-_7GRI/light.png?fit=max\u0026auto=format\u0026n=hKDJJlbuwj-_7GRI\u0026q=85\u0026s=8e51283f8c4e5daa2b06e4c7b010036a","dark":"https://mintcdn.com/hishabsingaporepteltd/Bd-nkhA8cT0nKgAS/dark.png?fit=max\u0026auto=format\u0026n=Bd-nkhA8cT0nKgAS\u0026q=85\u0026s=c7eab5a32b4f7a91d7d0a702fa7aa1d1"},"favicon":"https://mintcdn.com/hishabsingaporepteltd/Bd-nkhA8cT0nKgAS/favicon.png?fit=max\u0026auto=format\u0026n=Bd-nkhA8cT0nKgAS\u0026q=85\u0026s=b848ae01a88c70cb541c5bf4ba708435","navbar":{"primary":{"type":"button","label":"Dashboard","href":"https://console.verbex.ai/dashboard"}},"footer":{"socials":{"discord":"https://discord.gg/9c6b2GAq5t","youtube":"https://www.youtube.com/@verbexadmin","facebook":"https://web.facebook.com/hishabltd","linkedin":"https://www.linkedin.com/company/hishab"}},"fonts":{"heading":{"family":"Poppins-Thin 100"},"body":{"family":"Poppins-Thin 100"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hishabsingaporepteltd","hasAudioNarration":false,"actualSubdomain":"hishabsingaporepteltd","customDomains":["docs.verbex.ai"],"gitSource":{"type":"github","owner":"verbex-ai","repo":"verbex-platform-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeb190369a4caf965b0c001","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":73},{"language":"default","tag":"Documentation","count":45},{"language":"default","tag":"Build Your AI Agent - Step by Step","count":23},{"language":"default","tag":"Knowledge Bases","count":13},{"language":"default","tag":" Connect Tools","count":11},{"language":"default","tag":"Resources","count":6},{"language":"default","tag":"Webhook Subscriptions","count":6},{"language":"default","tag":"Navigating within Verbex","count":5},{"language":"default","tag":" Configure Your AI Agent","count":5},{"language":"default","tag":"AI Agents v2","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/ai-agents-v2/create-ai-agent","slug":"/api-reference/ai-agents-v2/create-ai-agent","pageMetadata":{"title":"Create AI Agent","description":"\u003cWarning>\n**Deprecated.** This endpoint was deprecated on October 17, 2026 and will stop working on November 30, 2026. It keeps working until then. Use [Create AI Agent (v3)](/api-reference/ai-agents-v3/create-ai-agent) instead. See [Migrate from v2 to v3](/api-reference/ai-agents-v3/migrate-from-v2).\n\u003c/Warning>\n\nCreate a new AI agent with the provided configuration.","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json post /v2/ai-agents/","href":"/api-reference/ai-agents-v2/create-ai-agent","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n }, {Warning} = _components;\n if (!Warning) _missingMdxReference(\"Warning\", true);\n return _jsxs(_Fragment, {\n children: [_jsx(Warning, {\n children: _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Deprecated.\"\n }), \" This endpoint was deprecated on October 17, 2026 and will stop working on November 30, 2026. It keeps working until then. Use \", _jsx(_components.a, {\n href: \"/api-reference/ai-agents-v3/create-ai-agent\",\n children: \"Create AI Agent (v3)\"\n }), \" instead. See \", _jsx(_components.a, {\n href: \"/api-reference/ai-agents-v3/migrate-from-v2\",\n children: \"Migrate from v2 to v3\"\n }), \".\"]\n })\n }), \"\\n\", _jsx(_components.p, {\n children: \"Create a new AI agent with the provided configuration.\"\n })]\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};\nfunction _missingMdxReference(id, component) {\n throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\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":{"title":"Create AI Agent","description":"\u003cWarning>\n**Deprecated.** This endpoint was deprecated on October 17, 2026 and will stop working on November 30, 2026. It keeps working until then. Use [Create AI Agent (v3)](/api-reference/ai-agents-v3/create-ai-agent) instead. See [Migrate from v2 to v3](/api-reference/ai-agents-v3/migrate-from-v2).\n\u003c/Warning>\n\nCreate a new AI agent with the provided configuration.","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json post /v2/ai-agents/","href":"/api-reference/ai-agents-v2/create-ai-agent","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["AI Agents v2"],"summary":"Create AI Agent","description":"\u003cWarning>\n**Deprecated.** This endpoint was deprecated on October 17, 2026 and will stop working on November 30, 2026. It keeps working until then. Use [Create AI Agent (v3)](/api-reference/ai-agents-v3/create-ai-agent) instead. See [Migrate from v2 to v3](/api-reference/ai-agents-v3/migrate-from-v2).\n\u003c/Warning>\n\nCreate a new AI agent with the provided configuration.","operationId":"create_ai_agent_v2_ai_agents__post","deprecated":true,"requestBody":"1489ab79-4088-4f74-8f6d-758e952a625c","responses":{"201":"b3a15472-55ce-4ece-9af2-f74f660c0b10","422":"0663ffb8-a7e2-42dd-ad31-2a3c48cd4a44"},"method":"post","type":"path","servers":[],"security":[],"path":"/v2/ai-agents/","baseUrlOptions":[],"title":"Create AI Agent","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"agent_name":{"type":"string","title":"Agent Name","description":"Name identifier for the AI agent","isRequired":true,"uniqueKey":"agent_name","typeLabel":"string"},"llm":{"oneOf":[{"type":"object","title":"CreateSimplePiaLLMRequest","description":"Language model configuration for the agent","required":["llm_type","model_provider","model_name","system_prompt"],"properties":{"llm_type":{"type":"string","const":"simple","title":"Llm Type","isRequired":true,"uniqueKey":"llm.oneOf.0.llm_type","typeLabel":"string"},"model_provider":{"type":"string","enum":["openai","anthropic","verbex","openai_compatible"],"title":"Model Provider","description":"The provider of the language model - OpenAI, Anthropic, verbex, or OpenAI Compatible","isRequired":true,"uniqueKey":"llm.oneOf.0.model_provider","typeLabel":"enum\u003cstring>"},"model_name":{"type":"string","title":"Model Name","description":"Name of the specific model to use from the provider (e.g. 'gpt-4', 'claude-2')","isRequired":true,"uniqueKey":"llm.oneOf.0.model_name","typeLabel":"string"},"system_prompt":{"type":"string","title":"System Prompt","description":"The base prompt that defines the LLM's behavior and role","isRequired":true,"uniqueKey":"llm.oneOf.0.system_prompt","typeLabel":"string"},"model_temperature":{"type":"number","maximum":1,"minimum":0,"title":"Model Temperature","description":"Controls randomness in model outputs. 0 is more focused, 1 is more creative. Range 0-1","default":0,"uniqueKey":"llm.oneOf.0.model_temperature","typeLabel":"number"},"required_dynamic_data":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"llm.oneOf.0.required_dynamic_data.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Required Dynamic Data","description":"List of dynamic data fields required by this LLM for operation","uniqueKey":"llm.oneOf.0.required_dynamic_data.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Required Dynamic Data","description":"List of dynamic data fields required by this LLM for operation","uniqueKey":"llm.oneOf.0.required_dynamic_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.required_dynamic_data","typeLabel":"string[] | null"},"tools":{"oneOf":[{"type":"array","items":{"type":"object","uniqueKey":"llm.oneOf.0.tools.oneOf.0.items.[INDEX]","typeLabel":"object"},"title":"Tools","description":"List of tools/functions available to the LLM for external interactions","uniqueKey":"llm.oneOf.0.tools.oneOf.0","typeLabel":"Tools · object[]"},{"type":"null","title":"Tools","description":"List of tools/functions available to the LLM for external interactions","uniqueKey":"llm.oneOf.0.tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.tools","typeLabel":"Tools · object[] | null"},"llm_name":{"oneOf":[{"type":"string","title":"Llm Name","description":"Name of the LLM to use","uniqueKey":"llm.oneOf.0.llm_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Llm Name","description":"Name of the LLM to use","uniqueKey":"llm.oneOf.0.llm_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.llm_name","typeLabel":"string | null"},"llm_description":{"oneOf":[{"type":"string","title":"Llm Description","description":"Description of the LLM to use","uniqueKey":"llm.oneOf.0.llm_description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Llm Description","description":"Description of the LLM to use","uniqueKey":"llm.oneOf.0.llm_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.llm_description","typeLabel":"string | null"},"base_url":{"oneOf":[{"type":"string","title":"Base Url","description":"Base URL for the LLM API endpoint","uniqueKey":"llm.oneOf.0.base_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Base Url","description":"Base URL for the LLM API endpoint","uniqueKey":"llm.oneOf.0.base_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.base_url","typeLabel":"string | null"},"api_key":{"oneOf":[{"type":"string","title":"Api Key","description":"API key for authentication with the LLM service","uniqueKey":"llm.oneOf.0.api_key.oneOf.0","typeLabel":"string"},{"type":"null","title":"Api Key","description":"API key for authentication with the LLM service","uniqueKey":"llm.oneOf.0.api_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.api_key","typeLabel":"string | null"},"max_token":{"oneOf":[{"type":"integer","title":"Max Token","description":"Maximum number of tokens allowed in the response","uniqueKey":"llm.oneOf.0.max_token.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Max Token","description":"Maximum number of tokens allowed in the response","uniqueKey":"llm.oneOf.0.max_token.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.max_token","typeLabel":"integer | null"}},"isRequired":true,"uniqueKey":"llm.oneOf.0","typeLabel":"CreateSimplePiaLLMRequest · object"},{"type":"object","title":"CreateAgenticPiaLLMRequest","description":"Language model configuration for the agent","required":["llm_type","graph_data"],"properties":{"llm_type":{"type":"string","const":"agentic","title":"Llm Type","isRequired":true,"uniqueKey":"llm.oneOf.1.llm_type","typeLabel":"string"},"graph_data":{"type":"object","title":"Graph Data","description":"Graph structure defining the agent's behavior and decision-making flow","isRequired":true,"uniqueKey":"llm.oneOf.1.graph_data","typeLabel":"Graph Data · object"}},"isRequired":true,"uniqueKey":"llm.oneOf.1","typeLabel":"CreateAgenticPiaLLMRequest · object"},{"type":"object","title":"CreateCustomPiaLLMRequest","description":"Language model configuration for the agent","required":["llm_type","custom_llm_url"],"properties":{"llm_type":{"type":"string","const":"custom","title":"Llm Type","isRequired":true,"uniqueKey":"llm.oneOf.2.llm_type","typeLabel":"string"},"custom_llm_url":{"type":"string","title":"Custom Llm Url","description":"URL endpoint for the custom LLM implementation","isRequired":true,"uniqueKey":"llm.oneOf.2.custom_llm_url","typeLabel":"string"},"model_name":{"oneOf":[{"type":"string","title":"Model Name","description":"Name of the specific model to use from the provider. It will be passed to the custom LLM implementation","uniqueKey":"llm.oneOf.2.model_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Model Name","description":"Name of the specific model to use from the provider. It will be passed to the custom LLM implementation","uniqueKey":"llm.oneOf.2.model_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.2.model_name","typeLabel":"string | null"},"api_key":{"oneOf":[{"type":"string","title":"Api Key","description":"API key for the custom LLM implementation. It can be used to verify requests are coming from Verbex Platform","uniqueKey":"llm.oneOf.2.api_key.oneOf.0","typeLabel":"string"},{"type":"null","title":"Api Key","description":"API key for the custom LLM implementation. It can be used to verify requests are coming from Verbex Platform","uniqueKey":"llm.oneOf.2.api_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.2.api_key","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"llm.oneOf.2","typeLabel":"CreateCustomPiaLLMRequest · object"}],"isRequired":true,"uniqueKey":"llm","typeLabel":"CreateSimplePiaLLMRequest · object | CreateAgenticPiaLLMRequest · object | CreateCustomPiaLLMRequest · object"},"tts":{"oneOf":[{"type":"object","title":"CreateElevenLabsTTSRequest","description":"Text-to-Speech configuration for voice synthesis","required":["voice_id"],"properties":{"voice_id":{"type":"string","title":"Voice Id","description":"The unique identifier of the ElevenLabs voice to use for synthesis","isRequired":true,"uniqueKey":"tts.oneOf.0.voice_id","typeLabel":"string"},"provider":{"type":"string","const":"elevenlabs","title":"Provider","description":"Specifies ElevenLabs as the TTS provider","default":"elevenlabs","uniqueKey":"tts.oneOf.0.provider","typeLabel":"string"},"voice_name":{"oneOf":[{"type":"string","title":"Voice Name","description":"A human-readable name for the voice, used for display purposes","uniqueKey":"tts.oneOf.0.voice_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Voice Name","description":"A human-readable name for the voice, used for display purposes","uniqueKey":"tts.oneOf.0.voice_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"tts.oneOf.0.voice_name","typeLabel":"string | null"},"model_name":{"oneOf":[{"type":"string","title":"Model Name","description":"The specific ElevenLabs model to use. Turbo models offer faster synthesis, multilingual supports multiple languages, and monolingual is optimized for single language","enum":["eleven_turbo_v2_5","eleven_turbo_v2","eleven_multilingual_v2","eleven_monolingual_v1"],"uniqueKey":"tts.oneOf.0.model_name.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Model Name","description":"The specific ElevenLabs model to use. Turbo models offer faster synthesis, multilingual supports multiple languages, and monolingual is optimized for single language","uniqueKey":"tts.oneOf.0.model_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"tts.oneOf.0.model_name","typeLabel":"enum\u003cstring> | null"},"voice_temperature":{"oneOf":[{"type":"number","title":"Voice Temperature","description":"Controls the randomness in voice generation. Lower values (closer to 0) produce more consistent output, while higher values add more variation","default":0.2,"maximum":1,"minimum":0,"uniqueKey":"tts.oneOf.0.voice_temperature.oneOf.0","typeLabel":"number"},{"type":"null","title":"Voice Temperature","description":"Controls the randomness in voice generation. Lower values (closer to 0) produce more consistent output, while higher values add more variation","default":0.2,"uniqueKey":"tts.oneOf.0.voice_temperature.oneOf.1","typeLabel":"null"}],"uniqueKey":"tts.oneOf.0.voice_temperature","typeLabel":"number | null"}},"isRequired":true,"uniqueKey":"tts.oneOf.0","typeLabel":"CreateElevenLabsTTSRequest · object"},{"type":"object","title":"CreateGoogleTTSRequest","description":"Text-to-Speech configuration for voice synthesis","required":["voice_id"],"properties":{"voice_id":{"type":"string","title":"Voice Id","description":"The unique identifier of the Google Cloud TTS voice to use for synthesis (e.g., 'en-US-Standard-A')","isRequired":true,"uniqueKey":"tts.oneOf.1.voice_id","typeLabel":"string"},"provider":{"type":"string","const":"google","title":"Provider","description":"Specifies Google Cloud Text-to-Speech as the TTS provider","default":"google","uniqueKey":"tts.oneOf.1.provider","typeLabel":"string"}},"isRequired":true,"uniqueKey":"tts.oneOf.1","typeLabel":"CreateGoogleTTSRequest · object"},{"type":"object","title":"CreateAzureTTSRequest","description":"Text-to-Speech configuration for voice synthesis","required":["voice_id"],"properties":{"voice_id":{"type":"string","title":"Voice Id","description":"The unique identifier of the Azure TTS voice to use for synthesis","isRequired":true,"uniqueKey":"tts.oneOf.2.voice_id","typeLabel":"string"},"provider":{"type":"string","const":"azure","title":"Provider","description":"Specifies Azure Cognitive Services Text-to-Speech as the TTS provider","default":"azure","uniqueKey":"tts.oneOf.2.provider","typeLabel":"string"}},"isRequired":true,"uniqueKey":"tts.oneOf.2","typeLabel":"CreateAzureTTSRequest · object"},{"type":"object","title":"CreateCartesiaTTSRequest","description":"Text-to-Speech configuration for voice synthesis","required":["voice_id"],"properties":{"voice_id":{"type":"string","title":"Voice Id","description":"The unique identifier of the Cartesia voice to use for synthesis","isRequired":true,"uniqueKey":"tts.oneOf.3.voice_id","typeLabel":"string"},"provider":{"type":"string","const":"cartesia","title":"Provider","description":"Specifies Cartesia as the TTS provider","default":"cartesia","uniqueKey":"tts.oneOf.3.provider","typeLabel":"string"},"voice_name":{"oneOf":[{"type":"string","title":"Voice Name","description":"A human-readable name for the voice, used for display purposes","uniqueKey":"tts.oneOf.3.voice_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Voice Name","description":"A human-readable name for the voice, used for display purposes","uniqueKey":"tts.oneOf.3.voice_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"tts.oneOf.3.voice_name","typeLabel":"string | null"},"model_name":{"oneOf":[{"type":"string","title":"Model Name","description":"The specific Cartesia model to use. 'sonic-multilingual' supports multiple languages, while 'sonic-english' is optimized for English","enum":["sonic-multilingual","sonic-english"],"uniqueKey":"tts.oneOf.3.model_name.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Model Name","description":"The specific Cartesia model to use. 'sonic-multilingual' supports multiple languages, while 'sonic-english' is optimized for English","uniqueKey":"tts.oneOf.3.model_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"tts.oneOf.3.model_name","typeLabel":"enum\u003cstring> | null"},"voice_temperature":{"oneOf":[{"type":"number","title":"Voice Temperature","description":"Controls the randomness in voice generation. Lower values produce more consistent output, while higher values add more variation","default":0.2,"maximum":1,"minimum":0,"uniqueKey":"tts.oneOf.3.voice_temperature.oneOf.0","typeLabel":"number"},{"type":"null","title":"Voice Temperature","description":"Controls the randomness in voice generation. Lower values produce more consistent output, while higher values add more variation","default":0.2,"uniqueKey":"tts.oneOf.3.voice_temperature.oneOf.1","typeLabel":"null"}],"uniqueKey":"tts.oneOf.3.voice_temperature","typeLabel":"number | null"}},"isRequired":true,"uniqueKey":"tts.oneOf.3","typeLabel":"CreateCartesiaTTSRequest · object"},{"type":"object","title":"CreatePiaTTSRequest","description":"Text-to-Speech configuration for voice synthesis","required":["voice_id"],"properties":{"voice_id":{"type":"string","title":"Voice Id","description":"The unique identifier of the Pia voice to use for synthesis","isRequired":true,"uniqueKey":"tts.oneOf.4.voice_id","typeLabel":"string"},"provider":{"type":"string","const":"pia","title":"Provider","description":"Specifies Pia's proprietary Text-to-Speech service as the TTS provider","default":"pia","uniqueKey":"tts.oneOf.4.provider","typeLabel":"string"},"voice_name":{"oneOf":[{"type":"string","title":"Voice Name","description":"A human-readable name for the voice, used for display purposes","uniqueKey":"tts.oneOf.4.voice_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Voice Name","description":"A human-readable name for the voice, used for display purposes","uniqueKey":"tts.oneOf.4.voice_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"tts.oneOf.4.voice_name","typeLabel":"string | null"},"model_name":{"oneOf":[{"type":"string","title":"Model Name","description":"The specific Pia TTS model to use for voice synthesis","uniqueKey":"tts.oneOf.4.model_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Model Name","description":"The specific Pia TTS model to use for voice synthesis","uniqueKey":"tts.oneOf.4.model_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"tts.oneOf.4.model_name","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"tts.oneOf.4","typeLabel":"CreatePiaTTSRequest · object"}],"isRequired":true,"uniqueKey":"tts","typeLabel":"CreateElevenLabsTTSRequest · object | CreateGoogleTTSRequest · object | CreateAzureTTSRequest · object | CreateCartesiaTTSRequest · object | CreatePiaTTSRequest · object"},"stt":{"oneOf":[{"type":"object","title":"CreateDeepgramSTTRequest","description":"Speech-to-Text configuration for voice recognition","required":["provider","model"],"properties":{"provider":{"type":"string","const":"deepgram","title":"Provider","isRequired":true,"uniqueKey":"stt.oneOf.0.provider","typeLabel":"string"},"model":{"type":"string","enum":["nova-2-general","nova-2-phonecall","nova-meeting","nova-2-meeting","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","meeting","phonecall","finance","conversationalai","voicemail","video","whisper-tiny","whisper-base","whisper-small","whisper-medium","whisper-large"],"title":"Model","description":"Specific Deepgram model to use for speech recognition","isRequired":true,"uniqueKey":"stt.oneOf.0.model","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"stt.oneOf.0","typeLabel":"CreateDeepgramSTTRequest · object"},{"type":"object","title":"CreateGoogleSTTRequest","description":"Speech-to-Text configuration for voice recognition","properties":{"provider":{"type":"string","const":"google","title":"Provider","description":"Specifies Google Cloud Speech-to-Text as the STT provider","default":"google","uniqueKey":"stt.oneOf.1.provider","typeLabel":"string"},"model":{"type":"string","enum":["long","short","telephony","medical_dictation","medical_conversation","chirp"],"title":"Model","description":"The specific Google STT model to use. 'long' is optimized for longer audio, 'short' for brief clips, 'telephony' for phone calls, 'medical_dictation' for medical dictation, 'medical_conversation' for medical dialogues, and 'chirp' for enhanced general transcription","default":"long","uniqueKey":"stt.oneOf.1.model","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"stt.oneOf.1","typeLabel":"CreateGoogleSTTRequest · object"},{"type":"object","title":"CreatePiaSTTRequest","description":"Speech-to-Text configuration for voice recognition","properties":{"provider":{"type":"string","const":"pia","title":"Provider","description":"Specifies Pia's proprietary Speech-to-Text service as the STT provider","default":"pia","uniqueKey":"stt.oneOf.2.provider","typeLabel":"string"},"model":{"type":"string","const":"pia_bangla_v1","title":"Model","description":"The Pia STT model to use - currently supporting Bangla language transcription with the v1 model","default":"pia_bangla_v1","uniqueKey":"stt.oneOf.2.model","typeLabel":"string"}},"isRequired":true,"uniqueKey":"stt.oneOf.2","typeLabel":"CreatePiaSTTRequest · object"}],"isRequired":true,"uniqueKey":"stt","typeLabel":"CreateDeepgramSTTRequest · object | CreateGoogleSTTRequest · object | CreatePiaSTTRequest · object"},"language_code":{"type":"string","title":"Language Code","description":"Language code for the agent (e.g., 'en-US' for US English)","default":"en-US","uniqueKey":"language_code","typeLabel":"string"},"knowledge_base_id":{"oneOf":[{"type":"string","title":"Knowledge Base Id","description":"ID of the knowledge base to use for enhanced responses","uniqueKey":"knowledge_base_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Knowledge Base Id","description":"ID of the knowledge base to use for enhanced responses","uniqueKey":"knowledge_base_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"knowledge_base_id","typeLabel":"string | null"},"enable_user_interruptions":{"oneOf":[{"type":"boolean","title":"Enable User Interruptions","description":"Whether to allow users to interrupt the agent while speaking","default":true,"uniqueKey":"enable_user_interruptions.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Enable User Interruptions","description":"Whether to allow users to interrupt the agent while speaking","default":true,"uniqueKey":"enable_user_interruptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"enable_user_interruptions","typeLabel":"boolean | null"},"minimum_speech_duration_for_interruptions":{"oneOf":[{"type":"number","title":"Minimum Speech Duration For Interruptions","description":"Minimum duration (in seconds) of speech before allowing interruption","default":0.5,"maximum":15,"minimum":0,"uniqueKey":"minimum_speech_duration_for_interruptions.oneOf.0","typeLabel":"number"},{"type":"null","title":"Minimum Speech Duration For Interruptions","description":"Minimum duration (in seconds) of speech before allowing interruption","default":0.5,"uniqueKey":"minimum_speech_duration_for_interruptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"minimum_speech_duration_for_interruptions","typeLabel":"number | null"},"minimum_words_before_interruption":{"oneOf":[{"type":"integer","title":"Minimum Words Before Interruption","description":"Minimum number of words spoken before allowing interruption","default":0,"maximum":5,"minimum":0,"uniqueKey":"minimum_words_before_interruption.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Minimum Words Before Interruption","description":"Minimum number of words spoken before allowing interruption","default":0,"uniqueKey":"minimum_words_before_interruption.oneOf.1","typeLabel":"null"}],"uniqueKey":"minimum_words_before_interruption","typeLabel":"integer | null"},"wait_time_before_detecting_end_of_speech":{"oneOf":[{"type":"number","title":"Wait Time Before Detecting End Of Speech","description":"Time to wait before detecting end of speech","default":0.5,"maximum":15,"minimum":0,"uniqueKey":"wait_time_before_detecting_end_of_speech.oneOf.0","typeLabel":"number"},{"type":"null","title":"Wait Time Before Detecting End Of Speech","description":"Time to wait before detecting end of speech","default":0.5,"uniqueKey":"wait_time_before_detecting_end_of_speech.oneOf.1","typeLabel":"null"}],"uniqueKey":"wait_time_before_detecting_end_of_speech","typeLabel":"number | null"},"ambient_sound":{"oneOf":[{"type":"string","title":"Ambient Sound","description":"Type of ambient background sound to add to the call","default":"none","enum":["office","cafe","restaurant","park","street","home","library","airport","train_station","beach","none"],"uniqueKey":"ambient_sound.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Ambient Sound","description":"Type of ambient background sound to add to the call","default":"none","uniqueKey":"ambient_sound.oneOf.1","typeLabel":"null"}],"uniqueKey":"ambient_sound","typeLabel":"enum\u003cstring> | null"},"ambient_sound_volume":{"oneOf":[{"type":"number","title":"Ambient Sound Volume","description":"Volume level for ambient sound (0-2, where 1 is normal volume)","default":1,"maximum":2,"minimum":0,"uniqueKey":"ambient_sound_volume.oneOf.0","typeLabel":"number"},{"type":"null","title":"Ambient Sound Volume","description":"Volume level for ambient sound (0-2, where 1 is normal volume)","default":1,"uniqueKey":"ambient_sound_volume.oneOf.1","typeLabel":"null"}],"uniqueKey":"ambient_sound_volume","typeLabel":"number | null"},"webhook_url":{"oneOf":[{"type":"string","title":"Webhook Url","description":"URL to receive webhook notifications about call events","uniqueKey":"webhook_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Webhook Url","description":"URL to receive webhook notifications about call events","uniqueKey":"webhook_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook_url","typeLabel":"string | null"},"end_call_after_silence_seconds":{"oneOf":[{"type":"number","title":"End Call After Silence Seconds","description":"Number of seconds of silence before automatically ending the call","default":10,"maximum":30,"minimum":10,"uniqueKey":"end_call_after_silence_seconds.oneOf.0","typeLabel":"number"},{"type":"null","title":"End Call After Silence Seconds","description":"Number of seconds of silence before automatically ending the call","default":10,"uniqueKey":"end_call_after_silence_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"end_call_after_silence_seconds","typeLabel":"number | null"},"max_call_duration_seconds":{"oneOf":[{"type":"number","title":"Max Call Duration Seconds","description":"Maximum duration of the call in seconds (30-3600)","default":1800,"maximum":3600,"minimum":30,"uniqueKey":"max_call_duration_seconds.oneOf.0","typeLabel":"number"},{"type":"null","title":"Max Call Duration Seconds","description":"Maximum duration of the call in seconds (30-3600)","default":1800,"uniqueKey":"max_call_duration_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_call_duration_seconds","typeLabel":"number | null"},"welcome_message":{"oneOf":[{"type":"string","title":"Welcome Message","description":"Custom message to be spoken when the call begins","uniqueKey":"welcome_message.oneOf.0","typeLabel":"string"},{"type":"null","title":"Welcome Message","description":"Custom message to be spoken when the call begins","uniqueKey":"welcome_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"welcome_message","typeLabel":"string | null"},"voicemail_detection_timeout_seconds":{"oneOf":[{"type":"number","title":"Voicemail Detection Timeout Seconds","description":"Time to wait for detecting voicemail before taking action","default":90,"minimum":0,"uniqueKey":"voicemail_detection_timeout_seconds.oneOf.0","typeLabel":"number"},{"type":"null","title":"Voicemail Detection Timeout Seconds","description":"Time to wait for detecting voicemail before taking action","default":90,"uniqueKey":"voicemail_detection_timeout_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"voicemail_detection_timeout_seconds","typeLabel":"number | null"},"dynamic_data_config":{"oneOf":[{"type":"array","items":{"properties":{"url":{"type":"string","title":"Url","description":"The endpoint URL from which to fetch dynamic data during conversations","isRequired":true,"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].url","typeLabel":"string"},"response_data":{"items":{"properties":{"name":{"type":"string","title":"Name","description":"Unique identifier for this dynamic data response item","isRequired":true,"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].response_data.items.[INDEX].name","typeLabel":"string"},"data":{"type":"string","title":"Data","description":"JSONPath expression to extract the desired data from the response","isRequired":true,"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].response_data.items.[INDEX].data","typeLabel":"string"},"context":{"oneOf":[{"type":"string","title":"Context","description":"Additional context or metadata about this data field to help the AI agent understand and use the data appropriately","uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].response_data.items.[INDEX].context.oneOf.0","typeLabel":"string"},{"type":"null","title":"Context","description":"Additional context or metadata about this data field to help the AI agent understand and use the data appropriately","uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].response_data.items.[INDEX].context.oneOf.1","typeLabel":"null"}],"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].response_data.items.[INDEX].context","typeLabel":"string | null"}},"type":"object","required":["name","data"],"title":"CreateDynamicDataResponseConfigItemRequest","uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].response_data.items.[INDEX]","typeLabel":"CreateDynamicDataResponseConfigItemRequest · object"},"type":"array","title":"Response Data","description":"Configuration for extracting and processing specific data fields from the endpoint response","isRequired":true,"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].response_data","typeLabel":"CreateDynamicDataResponseConfigItemRequest · object[]"},"method":{"type":"string","title":"Method","description":"The HTTP method to use when calling the endpoint (GET, POST, PUT, etc.)","default":"GET","uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].method","typeLabel":"string"},"timeout":{"type":"integer","title":"Timeout","description":"Maximum time in milliseconds to wait for the endpoint response before timing out","default":2000,"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].timeout","typeLabel":"integer"},"headers":{"oneOf":[{"type":"object","title":"Headers","description":"HTTP headers to include in the request (e.g., authorization tokens, content type)","additionalProperties":{"type":"string","uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].headers.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].headers.oneOf.0","typeLabel":"Headers · object"},{"type":"null","title":"Headers","description":"HTTP headers to include in the request (e.g., authorization tokens, content type)","uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].headers","typeLabel":"Headers · object | null"},"body":{"oneOf":[{"type":"object","title":"Body","description":"Request body data to send to the endpoint for POST/PUT requests","uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].body.oneOf.0","typeLabel":"Body · object"},{"type":"null","title":"Body","description":"Request body data to send to the endpoint for POST/PUT requests","uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].body.oneOf.1","typeLabel":"null"}],"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].body","typeLabel":"Body · object | null"},"query":{"oneOf":[{"type":"object","title":"Query","description":"URL query parameters to include in the request","additionalProperties":{"type":"string","uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].query.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].query.oneOf.0","typeLabel":"Query · object"},{"type":"null","title":"Query","description":"URL query parameters to include in the request","uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].query.oneOf.1","typeLabel":"null"}],"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].query","typeLabel":"Query · object | null"},"cache":{"type":"boolean","title":"Cache","description":"Whether to cache the response data to avoid repeated API calls for the same information","default":true,"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].cache","typeLabel":"boolean"}},"type":"object","required":["url","response_data"],"title":"CreateDynamicDataConfigItemRequest","uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX]","typeLabel":"CreateDynamicDataConfigItemRequest · object"},"title":"Dynamic Data Config","description":"Configuration for dynamic data sources used by the agent","uniqueKey":"dynamic_data_config.oneOf.0","typeLabel":"CreateDynamicDataConfigItemRequest · object[]"},{"type":"null","title":"Dynamic Data Config","description":"Configuration for dynamic data sources used by the agent","uniqueKey":"dynamic_data_config.oneOf.1","typeLabel":"null"}],"uniqueKey":"dynamic_data_config","typeLabel":"CreateDynamicDataConfigItemRequest · object[] | null"},"post_call_analysis":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"object","title":"CreateStringPostCallAnalysisItemRequest","required":["name","description","system_prompt"],"properties":{"name":{"type":"string","title":"Name","description":"Unique identifier for this analysis item","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0.name","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"Detailed explanation of what this analysis item measures or determines from the call","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0.description","typeLabel":"string"},"system_prompt":{"type":"string","title":"System Prompt","description":"Instructions for the AI system on how to analyze the call and generate this specific analysis item","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0.system_prompt","typeLabel":"string"},"type":{"type":"string","const":"string","title":"Type","description":"Specifies that this analysis item will return a text string result","default":"string","uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"string"},"examples":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0.examples.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Examples","description":"Sample responses to guide the AI in generating appropriate text analysis results","uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0.examples.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Examples","description":"Sample responses to guide the AI in generating appropriate text analysis results","uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0.examples.oneOf.1","typeLabel":"null"}],"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0.examples","typeLabel":"string[] | null"}},"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"CreateStringPostCallAnalysisItemRequest · object"},{"type":"object","title":"CreateEnumPostCallAnalysisItemRequest","required":["name","description","system_prompt","choices"],"properties":{"name":{"type":"string","title":"Name","description":"Unique identifier for this analysis item","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.1.name","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"Detailed explanation of what this analysis item measures or determines from the call","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.1.description","typeLabel":"string"},"system_prompt":{"type":"string","title":"System Prompt","description":"Instructions for the AI system on how to analyze the call and generate this specific analysis item","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.1.system_prompt","typeLabel":"string"},"choices":{"items":{"type":"string","uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.1.choices.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Choices","description":"The complete list of possible values that this analysis item can return","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.1.choices","typeLabel":"string[]"},"type":{"type":"string","const":"enum","title":"Type","description":"Specifies that this analysis item will return one value from a predefined set","default":"enum","uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"string"}},"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"CreateEnumPostCallAnalysisItemRequest · object"},{"type":"object","title":"CreateBooleanPostCallAnalysisItemRequest","required":["name","description","system_prompt"],"properties":{"name":{"type":"string","title":"Name","description":"Unique identifier for this analysis item","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.2.name","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"Detailed explanation of what this analysis item measures or determines from the call","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.2.description","typeLabel":"string"},"system_prompt":{"type":"string","title":"System Prompt","description":"Instructions for the AI system on how to analyze the call and generate this specific analysis item","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.2.system_prompt","typeLabel":"string"},"type":{"type":"string","const":"boolean","title":"Type","description":"Specifies that this analysis item will return a true/false result","default":"boolean","uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.2.type","typeLabel":"string"}},"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.2","typeLabel":"CreateBooleanPostCallAnalysisItemRequest · object"},{"type":"object","title":"CreateNumberPostCallAnalysisItemRequest","required":["name","description","system_prompt"],"properties":{"name":{"type":"string","title":"Name","description":"Unique identifier for this analysis item","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.3.name","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"Detailed explanation of what this analysis item measures or determines from the call","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.3.description","typeLabel":"string"},"system_prompt":{"type":"string","title":"System Prompt","description":"Instructions for the AI system on how to analyze the call and generate this specific analysis item","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.3.system_prompt","typeLabel":"string"},"type":{"type":"string","const":"number","title":"Type","description":"Specifies that this analysis item will return a numeric value","default":"number","uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.3.type","typeLabel":"string"}},"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.3","typeLabel":"CreateNumberPostCallAnalysisItemRequest · object"}],"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX]","typeLabel":"CreateStringPostCallAnalysisItemRequest · object | CreateEnumPostCallAnalysisItemRequest · object | CreateBooleanPostCallAnalysisItemRequest · object | CreateNumberPostCallAnalysisItemRequest · object"},"title":"Post Call Analysis","description":"Configuration for analysis items to be processed after the call","uniqueKey":"post_call_analysis.oneOf.0","typeLabel":"(CreateStringPostCallAnalysisItemRequest · object | CreateEnumPostCallAnalysisItemRequest · object | CreateBooleanPostCallAnalysisItemRequest · object | CreateNumberPostCallAnalysisItemRequest · object)[]"},{"type":"null","title":"Post Call Analysis","description":"Configuration for analysis items to be processed after the call","uniqueKey":"post_call_analysis.oneOf.1","typeLabel":"null"}],"uniqueKey":"post_call_analysis","typeLabel":"(CreateStringPostCallAnalysisItemRequest · object | CreateEnumPostCallAnalysisItemRequest · object | CreateBooleanPostCallAnalysisItemRequest · object | CreateNumberPostCallAnalysisItemRequest · object)[] | null"}},"type":"object","required":["agent_name","llm","tts","stt"],"title":"CreateAIAgentRequest","uniqueKey":"","typeLabel":"CreateAIAgentRequest · object"},"examples":{"Example":{"title":"Example","value":{"agent_name":"\u003cstring>","llm":{"llm_type":"simple","model_name":"\u003cstring>","system_prompt":"\u003cstring>","model_temperature":0,"required_dynamic_data":["\u003cstring>"],"tools":[{}],"llm_name":"\u003cstring>","llm_description":"\u003cstring>","base_url":"\u003cstring>","api_key":"\u003cstring>","max_token":123},"tts":{"voice_id":"\u003cstring>","provider":"elevenlabs","voice_name":"\u003cstring>","voice_temperature":0.2},"stt":{"provider":"deepgram"},"language_code":"en-US","knowledge_base_id":"\u003cstring>","enable_user_interruptions":true,"minimum_speech_duration_for_interruptions":0.5,"minimum_words_before_interruption":0,"wait_time_before_detecting_end_of_speech":0.5,"ambient_sound":"none","ambient_sound_volume":1,"webhook_url":"\u003cstring>","end_call_after_silence_seconds":10,"max_call_duration_seconds":1800,"welcome_message":"\u003cstring>","voicemail_detection_timeout_seconds":90,"dynamic_data_config":[{"url":"\u003cstring>","response_data":[{"name":"\u003cstring>","data":"\u003cstring>","context":"\u003cstring>"}],"method":"GET","timeout":2000,"headers":{},"body":{},"query":{},"cache":true}],"post_call_analysis":[{"name":"\u003cstring>","description":"\u003cstring>","system_prompt":"\u003cstring>","type":"string","examples":["\u003cstring>"]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b3a15472-55ce-4ece-9af2-f74f660c0b10":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"ai_agent_id":{"type":"string","title":"Ai Agent Id","description":"Unique identifier for the AI agent","isRequired":true,"uniqueKey":"ai_agent_id","typeLabel":"string"},"agent_name":{"type":"string","title":"Agent Name","description":"Name of the AI agent","isRequired":true,"uniqueKey":"agent_name","typeLabel":"string"},"llm":{"oneOf":[{"type":"object","title":"SimplePiaLLMResponse","description":"Language model configuration for the AI agent","required":["llm_id","llm_type","model_provider","model_name","system_prompt"],"properties":{"llm_id":{"type":"string","title":"Llm Id","description":"Unique identifier for the Language Learning Model (LLM)","isRequired":true,"uniqueKey":"llm.oneOf.0.llm_id","typeLabel":"string"},"llm_type":{"type":"string","const":"simple","title":"Llm Type","description":"Indicates this is a simple LLM type that uses standard model providers","isRequired":true,"uniqueKey":"llm.oneOf.0.llm_type","typeLabel":"string"},"model_provider":{"type":"string","enum":["openai","anthropic","verbex","openai_compatible"],"title":"Model Provider","description":"The provider of the language model - OpenAI, Anthropic, verbex, or OpenAI Compatible","isRequired":true,"uniqueKey":"llm.oneOf.0.model_provider","typeLabel":"enum\u003cstring>"},"model_name":{"type":"string","title":"Model Name","description":"Name of the specific model from the provider (e.g. 'gpt-4', 'claude-2')","isRequired":true,"uniqueKey":"llm.oneOf.0.model_name","typeLabel":"string"},"system_prompt":{"type":"string","title":"System Prompt","description":"The base prompt that defines the LLM's behavior, role and operating parameters","isRequired":true,"uniqueKey":"llm.oneOf.0.system_prompt","typeLabel":"string"},"model_temperature":{"type":"number","maximum":1,"minimum":0,"title":"Model Temperature","description":"Controls randomness in model outputs - 0 is focused/deterministic, 1 is more creative/random","default":0,"uniqueKey":"llm.oneOf.0.model_temperature","typeLabel":"number"},"llm_name":{"oneOf":[{"type":"string","title":"Llm Name","description":"Name of the LLM to use","uniqueKey":"llm.oneOf.0.llm_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Llm Name","description":"Name of the LLM to use","uniqueKey":"llm.oneOf.0.llm_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.llm_name","typeLabel":"string | null"},"llm_description":{"oneOf":[{"type":"string","title":"Llm Description","description":"Description of the LLM to use","uniqueKey":"llm.oneOf.0.llm_description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Llm Description","description":"Description of the LLM to use","uniqueKey":"llm.oneOf.0.llm_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.llm_description","typeLabel":"string | null"},"base_url":{"oneOf":[{"type":"string","title":"Base Url","description":"Base URL for the LLM API endpoint","uniqueKey":"llm.oneOf.0.base_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Base Url","description":"Base URL for the LLM API endpoint","uniqueKey":"llm.oneOf.0.base_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.base_url","typeLabel":"string | null"},"api_key":{"oneOf":[{"type":"string","title":"Api Key","description":"API key for authentication with the LLM service","uniqueKey":"llm.oneOf.0.api_key.oneOf.0","typeLabel":"string"},{"type":"null","title":"Api Key","description":"API key for authentication with the LLM service","uniqueKey":"llm.oneOf.0.api_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.api_key","typeLabel":"string | null"},"max_tokens":{"oneOf":[{"type":"integer","title":"Max Tokens","description":"Maximum number of tokens allowed in the response","uniqueKey":"llm.oneOf.0.max_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Max Tokens","description":"Maximum number of tokens allowed in the response","uniqueKey":"llm.oneOf.0.max_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.max_tokens","typeLabel":"integer | null"},"required_dynamic_data":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"llm.oneOf.0.required_dynamic_data.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Required Dynamic Data","description":"List of dynamic data fields that must be provided to this LLM during operation","uniqueKey":"llm.oneOf.0.required_dynamic_data.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Required Dynamic Data","description":"List of dynamic data fields that must be provided to this LLM during operation","uniqueKey":"llm.oneOf.0.required_dynamic_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.required_dynamic_data","typeLabel":"string[] | null"},"tools":{"oneOf":[{"type":"array","items":{"type":"object","uniqueKey":"llm.oneOf.0.tools.oneOf.0.items.[INDEX]","typeLabel":"object"},"title":"Tools","description":"List of tools/functions available to the LLM for external interactions and API calls","uniqueKey":"llm.oneOf.0.tools.oneOf.0","typeLabel":"Tools · object[]"},{"type":"null","title":"Tools","description":"List of tools/functions available to the LLM for external interactions and API calls","uniqueKey":"llm.oneOf.0.tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.0.tools","typeLabel":"Tools · object[] | null"}},"isRequired":true,"uniqueKey":"llm.oneOf.0","typeLabel":"SimplePiaLLMResponse · object"},{"type":"object","title":"AgenticPiaLLMResponse","description":"Language model configuration for the AI agent","required":["llm_id","llm_type","graph_data"],"properties":{"llm_id":{"type":"string","title":"Llm Id","description":"Unique identifier for the Language Learning Model (LLM)","isRequired":true,"uniqueKey":"llm.oneOf.1.llm_id","typeLabel":"string"},"llm_type":{"type":"string","const":"agentic","title":"Llm Type","description":"Indicates this is an agentic LLM that uses graph-based decision making","isRequired":true,"uniqueKey":"llm.oneOf.1.llm_type","typeLabel":"string"},"graph_data":{"type":"object","title":"Graph Data","description":"Graph structure defining the agent's behavior, decision-making flow and state transitions","isRequired":true,"uniqueKey":"llm.oneOf.1.graph_data","typeLabel":"Graph Data · object"}},"isRequired":true,"uniqueKey":"llm.oneOf.1","typeLabel":"AgenticPiaLLMResponse · object"},{"type":"object","title":"CustomPiaLLMResponse","description":"Language model configuration for the AI agent","required":["llm_id","llm_type","custom_llm_url"],"properties":{"llm_id":{"type":"string","title":"Llm Id","description":"Unique identifier for the Language Learning Model (LLM)","isRequired":true,"uniqueKey":"llm.oneOf.2.llm_id","typeLabel":"string"},"llm_type":{"type":"string","const":"custom","title":"Llm Type","description":"Indicates this is a custom LLM implementation","isRequired":true,"uniqueKey":"llm.oneOf.2.llm_type","typeLabel":"string"},"custom_llm_url":{"type":"string","title":"Custom Llm Url","description":"URL endpoint where the custom LLM implementation is hosted","isRequired":true,"uniqueKey":"llm.oneOf.2.custom_llm_url","typeLabel":"string"},"model_name":{"oneOf":[{"type":"string","title":"Model Name","description":"Name of the specific model to use from the provider. It will be passed to the custom LLM implementation","uniqueKey":"llm.oneOf.2.model_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Model Name","description":"Name of the specific model to use from the provider. It will be passed to the custom LLM implementation","uniqueKey":"llm.oneOf.2.model_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.2.model_name","typeLabel":"string | null"},"api_key":{"oneOf":[{"type":"string","title":"Api Key","description":"API key for the custom LLM implementation. It can be used to verify requests are coming from Verbex Platform","uniqueKey":"llm.oneOf.2.api_key.oneOf.0","typeLabel":"string"},{"type":"null","title":"Api Key","description":"API key for the custom LLM implementation. It can be used to verify requests are coming from Verbex Platform","uniqueKey":"llm.oneOf.2.api_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"llm.oneOf.2.api_key","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"llm.oneOf.2","typeLabel":"CustomPiaLLMResponse · object"}],"isRequired":true,"uniqueKey":"llm","typeLabel":"SimplePiaLLMResponse · object | AgenticPiaLLMResponse · object | CustomPiaLLMResponse · object"},"stt":{"oneOf":[{"type":"object","title":"DeepgramSTTResponse","description":"Speech-to-text configuration for the AI agent","required":["provider","model"],"properties":{"provider":{"type":"string","const":"deepgram","title":"Provider","description":"Indicates Deepgram is being used as the STT provider","isRequired":true,"uniqueKey":"stt.oneOf.0.provider","typeLabel":"string"},"model":{"type":"string","enum":["nova-2-general","nova-2-phonecall","nova-meeting","nova-2-meeting","nova-2-finance","nova-2-conversationalai","nova-2-voicemail","nova-2-video","nova-2-medical","nova-2-drivethru","nova-2-automotive","enhanced-general","enhanced-meeting","enhanced-phonecall","enhanced-finance","base","meeting","phonecall","finance","conversationalai","voicemail","video","whisper-tiny","whisper-base","whisper-small","whisper-medium","whisper-large"],"title":"Model","description":"Specific Deepgram model being used for speech recognition, each optimized for different use cases","isRequired":true,"uniqueKey":"stt.oneOf.0.model","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"stt.oneOf.0","typeLabel":"DeepgramSTTResponse · object"},{"type":"object","title":"GoogleSTTResponse","description":"Speech-to-text configuration for the AI agent","required":["provider","model"],"properties":{"provider":{"type":"string","const":"google","title":"Provider","description":"Indicates Google Speech-to-Text is being used as the STT provider","isRequired":true,"uniqueKey":"stt.oneOf.1.provider","typeLabel":"string"},"model":{"type":"string","enum":["default","phone_call","long"],"title":"Model","description":"Specific Google STT model - 'default' for general use, 'phone_call' for telephony, 'long' for extended audio","isRequired":true,"uniqueKey":"stt.oneOf.1.model","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"stt.oneOf.1","typeLabel":"GoogleSTTResponse · object"},{"type":"object","title":"PiaSTTResponse","description":"Speech-to-text configuration for the AI agent","required":["provider","model"],"properties":{"provider":{"type":"string","const":"pia","title":"Provider","description":"Indicates Pia's proprietary STT service is being used","isRequired":true,"uniqueKey":"stt.oneOf.2.provider","typeLabel":"string"},"model":{"type":"string","const":"pia_bangla_v1","title":"Model","description":"Specific Pia STT model - currently supporting Bangla language","isRequired":true,"uniqueKey":"stt.oneOf.2.model","typeLabel":"string"}},"isRequired":true,"uniqueKey":"stt.oneOf.2","typeLabel":"PiaSTTResponse · object"}],"isRequired":true,"uniqueKey":"stt","typeLabel":"DeepgramSTTResponse · object | GoogleSTTResponse · object | PiaSTTResponse · object"},"tts":{"oneOf":[{"type":"object","title":"ElevenLabsTTSResponse","description":"Text-to-speech configuration for the AI agent","required":["provider","voice_id","voice_name"],"properties":{"provider":{"type":"string","const":"elevenlabs","title":"Provider","description":"Indicates ElevenLabs is being used as the TTS provider","isRequired":true,"uniqueKey":"tts.oneOf.0.provider","typeLabel":"string"},"voice_id":{"type":"string","title":"Voice Id","description":"Unique identifier for the selected ElevenLabs voice","isRequired":true,"uniqueKey":"tts.oneOf.0.voice_id","typeLabel":"string"},"voice_name":{"oneOf":[{"type":"string","title":"Voice Name","description":"Human-readable name of the selected voice","isRequired":true,"uniqueKey":"tts.oneOf.0.voice_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Voice Name","description":"Human-readable name of the selected voice","isRequired":true,"uniqueKey":"tts.oneOf.0.voice_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"tts.oneOf.0.voice_name","typeLabel":"string | null"},"model_name":{"oneOf":[{"type":"string","title":"Model Name","description":"Specific ElevenLabs model version being used for voice synthesis","enum":["eleven_turbo_v2_5","eleven_turbo_v2","eleven_multilingual_v2","eleven_monolingual_v1"],"uniqueKey":"tts.oneOf.0.model_name.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Model Name","description":"Specific ElevenLabs model version being used for voice synthesis","uniqueKey":"tts.oneOf.0.model_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"tts.oneOf.0.model_name","typeLabel":"enum\u003cstring> | null"},"voice_temperature":{"oneOf":[{"type":"number","title":"Voice Temperature","description":"Controls variation in voice output - higher values increase variability","default":0.2,"maximum":1,"minimum":0,"uniqueKey":"tts.oneOf.0.voice_temperature.oneOf.0","typeLabel":"number"},{"type":"null","title":"Voice Temperature","description":"Controls variation in voice output - higher values increase variability","default":0.2,"uniqueKey":"tts.oneOf.0.voice_temperature.oneOf.1","typeLabel":"null"}],"uniqueKey":"tts.oneOf.0.voice_temperature","typeLabel":"number | null"}},"isRequired":true,"uniqueKey":"tts.oneOf.0","typeLabel":"ElevenLabsTTSResponse · object"},{"type":"object","title":"GoogleTTSResponse","description":"Text-to-speech configuration for the AI agent","required":["provider","voice_id"],"properties":{"provider":{"type":"string","const":"google","title":"Provider","description":"Indicates Google Cloud TTS is being used as the provider","isRequired":true,"uniqueKey":"tts.oneOf.1.provider","typeLabel":"string"},"voice_id":{"type":"string","title":"Voice Id","description":"Unique identifier for the selected Google TTS voice","isRequired":true,"uniqueKey":"tts.oneOf.1.voice_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"tts.oneOf.1","typeLabel":"GoogleTTSResponse · object"},{"type":"object","title":"AzureTTSResponse","description":"Text-to-speech configuration for the AI agent","required":["provider","voice_id"],"properties":{"provider":{"type":"string","const":"azure","title":"Provider","description":"Indicates Azure Cognitive Services is being used as the TTS provider","isRequired":true,"uniqueKey":"tts.oneOf.2.provider","typeLabel":"string"},"voice_id":{"type":"string","title":"Voice Id","description":"Unique identifier for the selected Azure voice","isRequired":true,"uniqueKey":"tts.oneOf.2.voice_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"tts.oneOf.2","typeLabel":"AzureTTSResponse · object"},{"type":"object","title":"CartesiaTTSResponse","description":"Text-to-speech configuration for the AI agent","required":["provider","voice_id"],"properties":{"provider":{"type":"string","const":"cartesia","title":"Provider","description":"Indicates Cartesia's TTS service is being used","isRequired":true,"uniqueKey":"tts.oneOf.3.provider","typeLabel":"string"},"voice_id":{"type":"string","title":"Voice Id","description":"Unique identifier for the selected Cartesia voice","isRequired":true,"uniqueKey":"tts.oneOf.3.voice_id","typeLabel":"string"},"voice_name":{"oneOf":[{"type":"string","title":"Voice Name","description":"Human-readable name of the selected voice","uniqueKey":"tts.oneOf.3.voice_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Voice Name","description":"Human-readable name of the selected voice","uniqueKey":"tts.oneOf.3.voice_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"tts.oneOf.3.voice_name","typeLabel":"string | null"},"model_name":{"oneOf":[{"type":"string","title":"Model Name","description":"Specific Cartesia model being used - either multilingual or English-optimized","enum":["sonic-multilingual","sonic-english"],"uniqueKey":"tts.oneOf.3.model_name.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Model Name","description":"Specific Cartesia model being used - either multilingual or English-optimized","uniqueKey":"tts.oneOf.3.model_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"tts.oneOf.3.model_name","typeLabel":"enum\u003cstring> | null"},"voice_temperature":{"oneOf":[{"type":"number","title":"Voice Temperature","description":"Controls variation in voice output - higher values increase variability","default":0.2,"maximum":1,"minimum":0,"uniqueKey":"tts.oneOf.3.voice_temperature.oneOf.0","typeLabel":"number"},{"type":"null","title":"Voice Temperature","description":"Controls variation in voice output - higher values increase variability","default":0.2,"uniqueKey":"tts.oneOf.3.voice_temperature.oneOf.1","typeLabel":"null"}],"uniqueKey":"tts.oneOf.3.voice_temperature","typeLabel":"number | null"}},"isRequired":true,"uniqueKey":"tts.oneOf.3","typeLabel":"CartesiaTTSResponse · object"},{"type":"object","title":"PiaTTSResponse","description":"Text-to-speech configuration for the AI agent","required":["provider","voice_id"],"properties":{"provider":{"type":"string","const":"pia","title":"Provider","description":"Indicates Pia's proprietary TTS service is being used","isRequired":true,"uniqueKey":"tts.oneOf.4.provider","typeLabel":"string"},"voice_id":{"type":"string","title":"Voice Id","description":"Unique identifier for the selected Pia voice","isRequired":true,"uniqueKey":"tts.oneOf.4.voice_id","typeLabel":"string"},"voice_name":{"oneOf":[{"type":"string","title":"Voice Name","description":"Human-readable name of the selected voice","uniqueKey":"tts.oneOf.4.voice_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Voice Name","description":"Human-readable name of the selected voice","uniqueKey":"tts.oneOf.4.voice_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"tts.oneOf.4.voice_name","typeLabel":"string | null"},"model_name":{"oneOf":[{"type":"string","title":"Model Name","description":"Name of the specific Pia TTS model being used","uniqueKey":"tts.oneOf.4.model_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Model Name","description":"Name of the specific Pia TTS model being used","uniqueKey":"tts.oneOf.4.model_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"tts.oneOf.4.model_name","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"tts.oneOf.4","typeLabel":"PiaTTSResponse · object"}],"isRequired":true,"uniqueKey":"tts","typeLabel":"ElevenLabsTTSResponse · object | GoogleTTSResponse · object | AzureTTSResponse · object | CartesiaTTSResponse · object | PiaTTSResponse · object"},"created_by_user_id":{"type":"string","title":"Created By User Id","description":"ID of the user who created this AI agent","isRequired":true,"uniqueKey":"created_by_user_id","typeLabel":"string"},"language_code":{"type":"string","title":"Language Code","description":"Language code for the AI agent in BCP-47 format","default":"en-US","uniqueKey":"language_code","typeLabel":"string"},"knowledge_base_id":{"oneOf":[{"type":"string","title":"Knowledge Base Id","description":"ID of the associated knowledge base, if any","uniqueKey":"knowledge_base_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Knowledge Base Id","description":"ID of the associated knowledge base, if any","uniqueKey":"knowledge_base_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"knowledge_base_id","typeLabel":"string | null"},"enable_user_interruptions":{"type":"boolean","title":"Enable User Interruptions","description":"Whether to allow users to interrupt the AI agent while speaking","default":true,"uniqueKey":"enable_user_interruptions","typeLabel":"boolean"},"minimum_speech_duration_for_interruptions":{"type":"number","maximum":15,"minimum":0,"title":"Minimum Speech Duration For Interruptions","description":"Minimum duration of speech in seconds before interruptions are allowed","default":0.5,"uniqueKey":"minimum_speech_duration_for_interruptions","typeLabel":"number"},"minimum_words_before_interruption":{"type":"integer","maximum":5,"minimum":0,"title":"Minimum Words Before Interruption","description":"Minimum number of words that must be spoken before interruption is allowed","default":0,"uniqueKey":"minimum_words_before_interruption","typeLabel":"integer"},"wait_time_before_detecting_end_of_speech":{"type":"number","maximum":15,"minimum":0,"title":"Wait Time Before Detecting End Of Speech","description":"Time in seconds to wait before considering speech has ended","default":0.5,"uniqueKey":"wait_time_before_detecting_end_of_speech","typeLabel":"number"},"ambient_sound":{"type":"string","enum":["office","cafe","restaurant","park","street","home","library","airport","train_station","beach","none"],"title":"Ambient Sound","description":"Type of ambient background sound to use during calls","default":"none","uniqueKey":"ambient_sound","typeLabel":"enum\u003cstring>"},"ambient_sound_volume":{"type":"number","maximum":2,"minimum":0,"title":"Ambient Sound Volume","description":"Volume level for ambient sound, from 0 (muted) to 2 (loud)","default":1,"uniqueKey":"ambient_sound_volume","typeLabel":"number"},"webhook_url":{"oneOf":[{"type":"string","title":"Webhook Url","description":"URL to send webhook notifications about call events","uniqueKey":"webhook_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Webhook Url","description":"URL to send webhook notifications about call events","uniqueKey":"webhook_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook_url","typeLabel":"string | null"},"end_call_after_silence_seconds":{"type":"number","maximum":30,"minimum":10,"title":"End Call After Silence Seconds","description":"Number of seconds of silence before automatically ending the call","default":10,"uniqueKey":"end_call_after_silence_seconds","typeLabel":"number"},"max_call_duration_seconds":{"type":"number","maximum":3600,"minimum":30,"title":"Max Call Duration Seconds","description":"Maximum duration of a call in seconds","default":1800,"uniqueKey":"max_call_duration_seconds","typeLabel":"number"},"welcome_message":{"oneOf":[{"type":"string","title":"Welcome Message","description":"Custom welcome message to play at the start of calls","uniqueKey":"welcome_message.oneOf.0","typeLabel":"string"},{"type":"null","title":"Welcome Message","description":"Custom welcome message to play at the start of calls","uniqueKey":"welcome_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"welcome_message","typeLabel":"string | null"},"voicemail_detection_timeout_seconds":{"type":"number","minimum":0,"title":"Voicemail Detection Timeout Seconds","description":"Time in seconds to wait for voicemail detection","default":90,"uniqueKey":"voicemail_detection_timeout_seconds","typeLabel":"number"},"dynamic_data_config":{"oneOf":[{"type":"array","items":{"properties":{"url":{"type":"string","title":"Url","description":"Endpoint URL for retrieving dynamic data","isRequired":true,"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].url","typeLabel":"string"},"method":{"type":"string","title":"Method","description":"HTTP method to use when calling the endpoint (GET, POST, etc)","isRequired":true,"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].method","typeLabel":"string"},"timeout":{"type":"integer","title":"Timeout","description":"Maximum time in seconds to wait for the endpoint response","isRequired":true,"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].timeout","typeLabel":"integer"},"headers":{"additionalProperties":{"type":"string","uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].headers.additionalProperties","typeLabel":"string"},"type":"object","title":"Headers","description":"HTTP headers to include in the request","isRequired":true,"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].headers","typeLabel":"Headers · object"},"body":{"type":"object","title":"Body","description":"Request body data to send to the endpoint","isRequired":true,"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].body","typeLabel":"Body · object"},"query":{"additionalProperties":{"type":"string","uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].query.additionalProperties","typeLabel":"string"},"type":"object","title":"Query","description":"URL query parameters to include in the request","isRequired":true,"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].query","typeLabel":"Query · object"},"cache":{"type":"boolean","title":"Cache","description":"Whether to cache the response data for subsequent use","isRequired":true,"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].cache","typeLabel":"boolean"},"response_data":{"items":{"properties":{"name":{"type":"string","title":"Name","description":"Identifier for this dynamic data field","isRequired":true,"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].response_data.items.[INDEX].name","typeLabel":"string"},"data":{"type":"string","title":"Data","description":"The actual data value retrieved from the external source","isRequired":true,"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].response_data.items.[INDEX].data","typeLabel":"string"},"context":{"type":"string","title":"Context","description":"Additional context or metadata about this data field","isRequired":true,"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].response_data.items.[INDEX].context","typeLabel":"string"}},"type":"object","required":["name","data","context"],"title":"DynamicDataResponseConfigItemResponse","uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].response_data.items.[INDEX]","typeLabel":"DynamicDataResponseConfigItemResponse · object"},"type":"array","title":"Response Data","description":"Configuration for parsing and using the endpoint response data","isRequired":true,"uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX].response_data","typeLabel":"DynamicDataResponseConfigItemResponse · object[]"}},"type":"object","required":["url","method","timeout","headers","body","query","cache","response_data"],"title":"DynamicDataConfigItemResponse","uniqueKey":"dynamic_data_config.oneOf.0.items.[INDEX]","typeLabel":"DynamicDataConfigItemResponse · object"},"title":"Dynamic Data Config","description":"Configuration for dynamic data sources that can be used during calls","uniqueKey":"dynamic_data_config.oneOf.0","typeLabel":"DynamicDataConfigItemResponse · object[]"},{"type":"null","title":"Dynamic Data Config","description":"Configuration for dynamic data sources that can be used during calls","uniqueKey":"dynamic_data_config.oneOf.1","typeLabel":"null"}],"uniqueKey":"dynamic_data_config","typeLabel":"DynamicDataConfigItemResponse · object[] | null"},"post_call_analysis":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"object","title":"StringPostCallAnalysisItemResponse","required":["type","name","description","system_prompt"],"properties":{"type":{"type":"string","const":"string","title":"Type","description":"Indicates this analysis item returns a text string","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"Identifier for this analysis item","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0.name","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"Detailed description of what this analysis item measures or determines","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0.description","typeLabel":"string"},"system_prompt":{"type":"string","title":"System Prompt","description":"Prompt used to guide the AI in performing this analysis","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0.system_prompt","typeLabel":"string"},"examples":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0.examples.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Examples","description":"Example responses to guide the analysis","uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0.examples.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Examples","description":"Example responses to guide the analysis","uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0.examples.oneOf.1","typeLabel":"null"}],"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0.examples","typeLabel":"string[] | null"}},"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"StringPostCallAnalysisItemResponse · object"},{"type":"object","title":"EnumPostCallAnalysisItemResponse","required":["type","name","description","system_prompt","choices"],"properties":{"type":{"type":"string","const":"enum","title":"Type","description":"Indicates this analysis item returns one of a predefined set of values","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"Identifier for this analysis item","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.1.name","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"Detailed description of what this analysis item measures or determines","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.1.description","typeLabel":"string"},"system_prompt":{"type":"string","title":"System Prompt","description":"Prompt used to guide the AI in performing this analysis","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.1.system_prompt","typeLabel":"string"},"choices":{"items":{"type":"string","uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.1.choices.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Choices","description":"List of possible values this analysis item can return","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.1.choices","typeLabel":"string[]"}},"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"EnumPostCallAnalysisItemResponse · object"},{"type":"object","title":"BooleanPostCallAnalysisItemResponse","required":["type","name","description","system_prompt"],"properties":{"type":{"type":"string","const":"boolean","title":"Type","description":"Indicates this analysis item returns a true/false result","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.2.type","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"Identifier for this analysis item","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.2.name","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"Detailed description of what this analysis item measures or determines","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.2.description","typeLabel":"string"},"system_prompt":{"type":"string","title":"System Prompt","description":"Prompt used to guide the AI in performing this analysis","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.2.system_prompt","typeLabel":"string"}},"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.2","typeLabel":"BooleanPostCallAnalysisItemResponse · object"},{"type":"object","title":"NumberPostCallAnalysisItemResponse","required":["type","name","description","system_prompt"],"properties":{"type":{"type":"string","const":"number","title":"Type","description":"Indicates this analysis item returns a numeric value","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.3.type","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"Identifier for this analysis item","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.3.name","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"Detailed description of what this analysis item measures or determines","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.3.description","typeLabel":"string"},"system_prompt":{"type":"string","title":"System Prompt","description":"Prompt used to guide the AI in performing this analysis","isRequired":true,"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.3.system_prompt","typeLabel":"string"}},"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX].oneOf.3","typeLabel":"NumberPostCallAnalysisItemResponse · object"}],"uniqueKey":"post_call_analysis.oneOf.0.items.[INDEX]","typeLabel":"StringPostCallAnalysisItemResponse · object | EnumPostCallAnalysisItemResponse · object | BooleanPostCallAnalysisItemResponse · object | NumberPostCallAnalysisItemResponse · object"},"title":"Post Call Analysis","description":"Configuration for analysis items to be processed after calls","uniqueKey":"post_call_analysis.oneOf.0","typeLabel":"(StringPostCallAnalysisItemResponse · object | EnumPostCallAnalysisItemResponse · object | BooleanPostCallAnalysisItemResponse · object | NumberPostCallAnalysisItemResponse · object)[]"},{"type":"null","title":"Post Call Analysis","description":"Configuration for analysis items to be processed after calls","uniqueKey":"post_call_analysis.oneOf.1","typeLabel":"null"}],"uniqueKey":"post_call_analysis","typeLabel":"(StringPostCallAnalysisItemResponse · object | EnumPostCallAnalysisItemResponse · object | BooleanPostCallAnalysisItemResponse · object | NumberPostCallAnalysisItemResponse · object)[] | null"}},"type":"object","required":["ai_agent_id","agent_name","llm","stt","tts","created_by_user_id"],"title":"AIAgentResponse","uniqueKey":"","typeLabel":"AIAgentResponse · object"},"examples":{"Example":{"title":"Example","value":{"ai_agent_id":"\u003cstring>","agent_name":"\u003cstring>","llm":{"llm_id":"\u003cstring>","llm_type":"simple","model_provider":"openai","model_name":"\u003cstring>","system_prompt":"\u003cstring>","model_temperature":0,"llm_name":"\u003cstring>","llm_description":"\u003cstring>","base_url":"\u003cstring>","api_key":"\u003cstring>","max_tokens":123,"required_dynamic_data":["\u003cstring>"],"tools":[{}]},"stt":{"provider":"deepgram","model":"nova-2-general"},"tts":{"provider":"elevenlabs","voice_id":"\u003cstring>","voice_name":"\u003cstring>","model_name":"eleven_turbo_v2_5","voice_temperature":0.2},"created_by_user_id":"\u003cstring>","language_code":"en-US","knowledge_base_id":"\u003cstring>","enable_user_interruptions":true,"minimum_speech_duration_for_interruptions":0.5,"minimum_words_before_interruption":0,"wait_time_before_detecting_end_of_speech":0.5,"ambient_sound":"none","ambient_sound_volume":1,"webhook_url":"\u003cstring>","end_call_after_silence_seconds":10,"max_call_duration_seconds":1800,"welcome_message":"\u003cstring>","voicemail_detection_timeout_seconds":90,"dynamic_data_config":[{"url":"\u003cstring>","method":"\u003cstring>","timeout":123,"headers":{},"body":{},"query":{},"cache":true,"response_data":[{"name":"\u003cstring>","data":"\u003cstring>","context":"\u003cstring>"}]}],"post_call_analysis":[{"type":"string","name":"\u003cstring>","description":"\u003cstring>","system_prompt":"\u003cstring>","examples":["\u003cstring>"]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"0663ffb8-a7e2-42dd-ad31-2a3c48cd4a44":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{}},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"hishabsingaporepteltd","siteName":"Verbex Docs","title":"Create AI Agent - Verbex Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T11:37:45.457Z","originalFileLocation":"api-reference/ai-agents-v2/create-ai-agent.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=\"Deprecated. This endpoint was deprecated on October 17, 2026 and will stop working on November 30, 2026. It keeps working until then. Use Create AI Agent (v3) instead. See Migrate from v2 to v3. Create a new AI agent with the provided configuration.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Verbex Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hishabsingaporepteltd/72gxkt7gRN01IC5L/_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/hishabsingaporepteltd/72gxkt7gRN01IC5L/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hishabsingaporepteltd/72gxkt7gRN01IC5L/_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/hishabsingaporepteltd/72gxkt7gRN01IC5L/_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/hishabsingaporepteltd/72gxkt7gRN01IC5L/_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/hishabsingaporepteltd/72gxkt7gRN01IC5L/_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/hishabsingaporepteltd/72gxkt7gRN01IC5L/_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/hishabsingaporepteltd/72gxkt7gRN01IC5L/_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/hishabsingaporepteltd/72gxkt7gRN01IC5L/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create AI Agent - Verbex Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Deprecated. This endpoint was deprecated on October 17, 2026 and will stop working on November 30, 2026. It keeps working until then. Use Create AI Agent (v3) instead. See Migrate from v2 to v3. Create a new AI agent with the provided configuration.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Verbex Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.verbex.ai/api-reference/ai-agents-v2/create-ai-agent\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hishabsingaporepteltd.mintlify.site/_mintlify/api/og/v2?division=AI+Agents+v2\u0026amp;title=Create+AI+Agent\u0026amp;description=%3CWarning%3E%0A**Deprecated.**+This+endpoint+was+deprecated+on+October+17%2C+2026+and+will+stop+working+on+November+30%2C+2026.+It+keeps+working+until+then.+Use+%5BCreate+\u0026amp;theme=70c8dcbcb80920d3074a2878\u0026amp;signature=496ed064f6c827ccfd1c28fd4d5f7edff10af2aa2df8d7c945253e2915ad1272\">\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 AI Agent - Verbex Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Deprecated. This endpoint was deprecated on October 17, 2026 and will stop working on November 30, 2026. It keeps working until then. Use Create AI Agent (v3) instead. See Migrate from v2 to v3. Create a new AI agent with the provided configuration.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hishabsingaporepteltd.mintlify.site/_mintlify/api/og/v2?division=AI+Agents+v2\u0026amp;title=Create+AI+Agent\u0026amp;description=%3CWarning%3E%0A**Deprecated.**+This+endpoint+was+deprecated+on+October+17%2C+2026+and+will+stop+working+on+November+30%2C+2026.+It+keeps+working+until+then.+Use+%5BCreate+\u0026amp;theme=70c8dcbcb80920d3074a2878\u0026amp;signature=496ed064f6c827ccfd1c28fd4d5f7edff10af2aa2df8d7c945253e2915ad1272\">\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/hishabsingaporepteltd/72gxkt7gRN01IC5L/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Verbex Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.verbex.ai/api-reference/ai-agents-v2/create-ai-agent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/ai-agents-v2/create-ai-agent.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.verbex.ai/#organization\",\"name\":\"Verbex Docs\",\"url\":\"https://docs.verbex.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hishabsingaporepteltd/hKDJJlbuwj-_7GRI/light.png?fit=max\u0026auto=format\u0026n=hKDJJlbuwj-_7GRI\u0026q=85\u0026s=8e51283f8c4e5daa2b06e4c7b010036a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.verbex.ai#website\",\"name\":\"Verbex Docs\",\"url\":\"https://docs.verbex.ai\",\"publisher\":{\"@id\":\"https://docs.verbex.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.verbex.ai/api-reference/ai-agents-v2/create-ai-agent#webpage\",\"url\":\"https://docs.verbex.ai/api-reference/ai-agents-v2/create-ai-agent\",\"name\":\"Create AI Agent\",\"description\":\"Deprecated. This endpoint was deprecated on October 17, 2026 and will stop working on November 30, 2026. It keeps working until then. Use Create AI Agent (v3) instead. See Migrate from v2 to v3. Create a new AI agent with the provided configuration.\",\"dateModified\":\"2026-11-04T11:37:45.457Z\",\"isPartOf\":{\"@id\":\"https://docs.verbex.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.verbex.ai/api-reference/ai-agents-v2/create-ai-agent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.verbex.ai/api-reference/ai-agents-v2/create-ai-agent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI Agents v2\",\"item\":\"https://docs.verbex.ai/api-reference/ai-agents-v2/list-ai-agents\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create AI Agent\",\"item\":\"https://docs.verbex.ai/api-reference/ai-agents-v2/create-ai-agent\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.verbex.ai/api-reference/ai-agents-v2/create-ai-agent#apireference\",\"headline\":\"Create AI Agent\",\"name\":\"Create AI Agent\",\"description\":\"Deprecated. This endpoint was deprecated on October 17, 2026 and will stop working on November 30, 2026. It keeps working until then. Use Create AI Agent (v3) instead. See Migrate from v2 to v3. Create a new AI agent with the provided configuration.\",\"url\":\"https://docs.verbex.ai/api-reference/ai-agents-v2/create-ai-agent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.verbex.ai/api-reference/ai-agents-v2/create-ai-agent#webpage\"},\"dateModified\":\"2026-11-04T11:37:45.457Z\",\"publisher\":{\"@id\":\"https://docs.verbex.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.verbex.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Verbex Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Verbex Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Getting an API Key","href":"/api-reference/introduction"},{"title":"Migrate from v2 to v3","href":"/api-reference/ai-agents-v3/migrate-from-v2"}]},{"group":"AI Agents v3","pages":[{"title":"List AI Agents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v3/ai-agents","href":"/api-reference/ai-agents-v3/list-ai-agents"},{"title":"Create AI Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v3/ai-agents","href":"/api-reference/ai-agents-v3/create-ai-agent"},{"title":"Get AI Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v3/ai-agents/{agent_id}","href":"/api-reference/ai-agents-v3/get-ai-agent"},{"title":"Update AI Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v3/ai-agents/{agent_id}","href":"/api-reference/ai-agents-v3/update-ai-agent"},{"title":"Delete AI Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v3/ai-agents/{agent_id}","href":"/api-reference/ai-agents-v3/delete-ai-agent"}]},{"group":"AI Agents v2","pages":[{"title":"List AI Agents","description":"\u003cWarning>\n**Deprecated.** This endpoint was deprecated on October 17, 2026 and will stop working on November 30, 2026. It keeps working until then. Use [List AI Agents (v3)](/api-reference/ai-agents-v3/list-ai-agents) instead. See [Migrate from v2 to v3](/api-reference/ai-agents-v3/migrate-from-v2).\n\u003c/Warning>\n\nList AI agents with pagination.","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json get /v2/ai-agents/","href":"/api-reference/ai-agents-v2/list-ai-agents"},{"title":"Create AI Agent","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json post /v2/ai-agents/","href":"/api-reference/ai-agents-v2/create-ai-agent"},{"title":"Get AI Agent","description":"\u003cWarning>\n**Deprecated.** This endpoint was deprecated on October 17, 2026 and will stop working on November 30, 2026. It keeps working until then. Use [Get AI Agent (v3)](/api-reference/ai-agents-v3/get-ai-agent) instead. See [Migrate from v2 to v3](/api-reference/ai-agents-v3/migrate-from-v2).\n\u003c/Warning>\n\nRetrieve details of a specific AI agent.","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json get /v2/ai-agents/{agent_id}","href":"/api-reference/ai-agents-v2/get-ai-agent"},{"title":"Update AI Agent","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json put /v2/ai-agents/{agent_id}","href":"/api-reference/ai-agents-v2/update-ai-agent"},{"title":"Delete AI Agent","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json delete /v2/ai-agents/{agent_id}","href":"/api-reference/ai-agents-v2/delete-ai-agent"}]},{"group":"LLM Models","pages":[{"title":"List LLM models","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/llm-models","href":"/api-reference/llm-models/list-llm-models"},{"title":"Get LLM model","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/llm-models/{llm_model_id}","href":"/api-reference/llm-models/get-llm-model"}]},{"group":"Speech Providers","pages":[{"title":"List STT providers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v3/stt/providers","href":"/api-reference/speech-providers/list-stt-providers"},{"title":"Get STT provider","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v3/stt/providers/{provider_name}","href":"/api-reference/speech-providers/get-stt-provider"},{"title":"List TTS providers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v3/tts/providers","href":"/api-reference/speech-providers/list-tts-providers"},{"title":"Get TTS provider","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v3/tts/providers/{provider_name}","href":"/api-reference/speech-providers/get-tts-provider"}]},{"group":"Built-in Tools","pages":[{"title":"List built-in tools","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/ai-agents/{ai_agent_id}/builtin-tools/","href":"/api-reference/built-in-tools/list-built-in-tools"},{"title":"Create built-in tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/ai-agents/{ai_agent_id}/builtin-tools/","href":"/api-reference/built-in-tools/create-built-in-tool"},{"title":"Get built-in tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/ai-agents/{ai_agent_id}/builtin-tools/{tool_id}","href":"/api-reference/built-in-tools/get-built-in-tool"},{"title":"Update built-in tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v2/ai-agents/{ai_agent_id}/builtin-tools/{tool_id}","href":"/api-reference/built-in-tools/update-built-in-tool"},{"title":"Delete built-in tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v2/ai-agents/{ai_agent_id}/builtin-tools/{tool_id}","href":"/api-reference/built-in-tools/delete-built-in-tool"}]},{"group":"Custom Tools","pages":[{"title":"List custom tools","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/ai-agents/{ai_agent_id}/custom-tools/","href":"/api-reference/custom-tools/list-custom-tools"},{"title":"Create custom tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/ai-agents/{ai_agent_id}/custom-tools/","href":"/api-reference/custom-tools/create-custom-tool"},{"title":"Get custom tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/ai-agents/{ai_agent_id}/custom-tools/{tool_id}","href":"/api-reference/custom-tools/get-custom-tool"},{"title":"Update custom tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v2/ai-agents/{ai_agent_id}/custom-tools/{tool_id}","href":"/api-reference/custom-tools/update-custom-tool"},{"title":"Delete custom tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v2/ai-agents/{ai_agent_id}/custom-tools/{tool_id}","href":"/api-reference/custom-tools/delete-custom-tool"}]},{"group":"Calls","pages":[{"title":"Create Web Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/calls/create-web-call","href":"/api-reference/calls/create-web-call"},{"title":"Create Web Call (Public Shared)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/calls/public/create-web-call","href":"/api-reference/calls/create-web-call-public-shared"},{"title":"Dial Outbound Phone Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/calls/dial-outbound-phone-call","href":"/api-reference/calls/dial-outbound-phone-call"},{"title":"Get Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/calls/{call_id}","href":"/api-reference/calls/get-call"},{"title":"List Calls","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/calls/","href":"/api-reference/calls/list-calls"}]},{"group":"Call Recording","pages":[{"title":"Get Signed URL for Call Recording","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/call-recording/signed-url","href":"/api-reference/call-recording/get-signed-url-for-call-recording"}]},{"group":"Post-call Analysis","pages":[{"title":"Get post-call analysis configuration for an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/ai-agents/{ai_agent_id}/postcall-analysis","href":"/api-reference/post-call-analysis/get-post-call-analysis-configuration-for-an-agent"},{"title":"Update an existing post-call analysis configuration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v2/ai-agents/{ai_agent_id}/postcall-analysis","href":"/api-reference/post-call-analysis/update-an-existing-post-call-analysis-configuration"},{"title":"Create a new post-call analysis configuration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/ai-agents/{ai_agent_id}/postcall-analysis","href":"/api-reference/post-call-analysis/create-a-new-post-call-analysis-configuration"},{"title":"Delete an existing post-call analysis configuration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v2/ai-agents/{ai_agent_id}/postcall-analysis","href":"/api-reference/post-call-analysis/delete-an-existing-post-call-analysis-configuration"},{"title":"Get Post Call Analysis Results","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/ai-agents/{ai_agent_id}/postcall-analysis/results/{call_id}","href":"/api-reference/post-call-analysis/get-post-call-analysis-results"}]},{"group":"Phone Numbers","pages":[{"title":"List phone numbers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/phone-numbers/","href":"/api-reference/phone-numbers/list-phone-numbers"},{"title":"Create a new phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/phone-numbers/","href":"/api-reference/phone-numbers/create-a-new-phone-number"},{"title":"Get a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/phone-numbers/{phone_number_id}","href":"/api-reference/phone-numbers/get-a-phone-number"},{"title":"Delete a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/phone-numbers/{phone_number_id}","href":"/api-reference/phone-numbers/delete-a-phone-number"},{"title":"Update a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/phone-numbers/{phone_number_id}","href":"/api-reference/phone-numbers/update-a-phone-number"}]},{"group":"Knowledge Bases","pages":[{"title":"List Knowledge Bases","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/knowledge-bases","href":"/api-reference/knowledge-bases/list-knowledge-bases"},{"title":"Create Knowledge Base","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/knowledge-bases","href":"/api-reference/knowledge-bases/create-knowledge-base"},{"title":"Get Knowledge Base","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/knowledge-bases/{kb_id}","href":"/api-reference/knowledge-bases/get-knowledge-base"},{"title":"Delete Knowledge Base","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/knowledge-bases/{kb_id}","href":"/api-reference/knowledge-bases/delete-knowledge-base"},{"title":"Update Knowledge Base","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/knowledge-bases/{kb_id}","href":"/api-reference/knowledge-bases/update-knowledge-base"},{"title":"Upload a File","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/knowledge-bases/{kb_id}/documents/file","href":"/api-reference/knowledge-bases/upload-a-file"},{"title":"Discover a Website's URLs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/knowledge-bases/documents/website/sitemaps","href":"/api-reference/knowledge-bases/discover-a-websites-urls"},{"title":"Crawl Web Pages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/knowledge-bases/{kb_id}/documents/website","href":"/api-reference/knowledge-bases/crawl-web-pages"},{"title":"List Documents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/knowledge-bases/{kb_id}/documents","href":"/api-reference/knowledge-bases/list-documents"},{"title":"Get Document Status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/knowledge-bases/{kb_id}/documents/{document_id}/status","href":"/api-reference/knowledge-bases/get-document-status"},{"title":"Inspect Indexed Chunks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/knowledge-bases/{kb_id}/documents/{document_id}/chunks","href":"/api-reference/knowledge-bases/inspect-indexed-chunks"},{"title":"Delete a Document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/knowledge-bases/{kb_id}/documents/{document_id}","href":"/api-reference/knowledge-bases/delete-a-document"},{"title":"Semantic Search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/vector/search","href":"/api-reference/knowledge-bases/semantic-search"}]},{"group":"Prompt Generation","pages":[{"title":"Generate Prompt","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/prompt-generation/prompt/generate","href":"/api-reference/prompt-generation/generate-prompt"}]},{"group":"Public Sharing","pages":[{"title":"Create Share","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/public-sharing/","href":"/api-reference/public-sharing/create-share"},{"title":"Get Share","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/public-sharing/{ai_agent_id}","href":"/api-reference/public-sharing/get-share"},{"title":"Delete Share","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/public-sharing/{share_id}","href":"/api-reference/public-sharing/delete-share"}]},{"group":"Webhook Subscriptions","pages":[{"title":"Create a subscription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/public/webhook/subscription","href":"/api-reference/webhook-subscriptions/create-a-subscription"},{"title":"Get a subscription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/public/webhook/subscription/{id}","href":"/api-reference/webhook-subscriptions/get-a-subscription"},{"title":"Update a subscription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/public/webhook/subscription/{id}","href":"/api-reference/webhook-subscriptions/update-a-subscription"},{"title":"Delete a subscription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/public/webhook/subscription/{id}","href":"/api-reference/webhook-subscriptions/delete-a-subscription"},{"title":"Rotate the signing secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/public/webhook/subscription/{id}/rotate/secret","href":"/api-reference/webhook-subscriptions/rotate-the-signing-secret"},{"title":"List subscriptions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/public/webhook/subscriptions","href":"/api-reference/webhook-subscriptions/list-subscriptions"}]},{"group":"API Keys","pages":[{"title":"List API Keys","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/api-keys/","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create API Key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/api-keys/","href":"/api-reference/api-keys/create-api-key"},{"title":"Get API Key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/api-keys/{key_id}","href":"/api-reference/api-keys/get-api-key"},{"title":"Revoke API Key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/api-keys/{key_id}/revoke","href":"/api-reference/api-keys/revoke-api-key"}]}]},{"tab":"Video Tutorials","pages":[{"title":"Video Tutorials","href":"/video-tutorials/introduction"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/changelog"}]}]},"basePath":"","title":"Create AI Agent - Verbex Docs","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}