{ "success": true, "message": "Agent created successfully", "data": { "id": "019eb654-a2c8-4b2c-9b1d-720b1d6b65f7", "organization_id": "95a4e479-03a7-4f1b-834d-8705756e8e59", "widget_settings_id": "a6f2b1d4-9d5d-4f9e-8f3d-0a16c7a3b55c", "name": "Sales Automation Agent", "agent_name": "Input Field FROM EARTH", "status": "ACTIVE", "model": "Agni Premium", "s2s_model": "Agni Premium", "voice_id": "Iris", "temperature": 0.7, "reminder_trigger_ms": 10000, "reminder_max_count": 2, "ambient_sound": "forest_ambience", "ambient_sound_volume": 1, "end_call_after_silence": true, "max_call_duration_ms": 600000, "ring_duration_ms": 32000, "enable_voicemail_detection": true, "voicemail_message": "", "voicemail_detection_timeout_ms": 7000, "enable_emergency_fallback": false, "emergency_fallback_number": "+919123456789", "ivr_options": {}, "post_call_analysis_model": "gpt-4o-mini", "analysis_summary_prompt": "Summarize the call and capture the key outcome.", "selected_tools": {}, "integrations": { "ghl": true }, "knowledge_base": "8619dc3f-3ef2-48b9-8b9d-3d750d573a59", "begin_message": "Hi, thanks for calling. How can I help?", "start_speaker": "agent", "created_at": "2026-06-11T10:57:40.229069Z", "updated_at": "2026-06-11T18:26:17.115921Z" }}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Agni","colors":{"primary":"#E8430A","light":"#FF6B35","dark":"#D63A06"},"logo":{"light":"https://mintcdn.com/agni/McdbIs6domJMAyIV/logo/light.png?fit=max\u0026auto=format\u0026n=McdbIs6domJMAyIV\u0026q=85\u0026s=56e5c2c19fd673bc0f02949ea740516d","dark":"https://mintcdn.com/agni/McdbIs6domJMAyIV/logo/dark.png?fit=max\u0026auto=format\u0026n=McdbIs6domJMAyIV\u0026q=85\u0026s=6d31504e54c58400b836ec8fdcd87ab8"},"favicon":"https://mintcdn.com/agni/McdbIs6domJMAyIV/favicon.svg?fit=max\u0026auto=format\u0026n=McdbIs6domJMAyIV\u0026q=85\u0026s=cd81a48c5edf3be712df579b7bc11449","api":{"mdx":{"auth":{"method":"key","name":"X-Api-Key"},"server":"https://api.ravan.ai"}},"background":{"color":{"light":"#FFFBF8","dark":"#07090F"}},"navbar":{"links":[],"primary":{"type":"button","label":"Login","href":"https://app.ravan.ai"}},"footer":{"socials":{"instagram":"https://www.instagram.com/agnibyravan"}},"contextual":{"options":["copy"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Demo","icon":"microphone","href":"https://agni.ravan.ai"},{"anchor":"Website","icon":"globe","href":"https://app.ravan.ai"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"agni","hasAudioNarration":false,"actualSubdomain":"agni","customDomains":["docs.ravan.ai"],"gitSource":{"type":"github","owner":"priobrata-b","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ab11496cb5fbefac623cffc","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":99},{"language":"default","tag":"Guides","count":26},{"language":"default","tag":"Cal.com Integration API","count":14},{"language":"default","tag":"RAG Knowledge Base API","count":14},{"language":"default","tag":"Contact API","count":13},{"language":"default","tag":"Phone Number \u0026 Telephony API","count":13},{"language":"default","tag":"Campaign API","count":11},{"language":"default","tag":"GHL Integration API","count":10},{"language":"default","tag":"Agent API","count":8},{"language":"default","tag":"Agent Tool API","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html.dark,html[class~=\"dark\"]{background-color:#0f0700}html.dark body,html[class~=\"dark\"] body{background:radial-gradient(circle at 78% 34%, rgba(255, 100, 20, 0.28), transparent 23rem),\n radial-gradient(circle at 67% 54%, rgba(220, 40, 10, 0.22), transparent 22rem),\n radial-gradient(circle at 82% 62%, rgba(180, 60, 0, 0.20), transparent 24rem),\n linear-gradient(180deg, #0f0700 0%, #100800 48%, #0a0500 100%)}html.dark #background-color,html[class~=\"dark\"] #background-color{background:radial-gradient(circle at 78% 34%, rgba(255, 100, 20, 0.28), transparent 23rem),\n radial-gradient(circle at 67% 54%, rgba(220, 40, 10, 0.22), transparent 22rem),\n radial-gradient(circle at 82% 62%, rgba(180, 60, 0, 0.20), transparent 24rem),\n linear-gradient(180deg, #0f0700 0%, #100800 48%, #0a0500 100%)}.auth-next-steps a{transition:border-color 160ms ease, box-shadow 160ms ease}.auth-next-steps a:hover{border-color:#f97316!important;box-shadow:0 0 0 1px #f97316}.regional-pricing-link{display:flex!important;align-items:center;justify-content:space-between;gap:16px;transition:border-color 160ms ease, box-shadow 160ms ease}.regional-pricing-link:hover{border-color:#f97316!important;box-shadow:0 0 0 1px #f97316}.regional-pricing-link__text{flex:1;min-width:0}.regional-pricing-link__cta{display:inline-flex;align-items:center;justify-content:center;border:1px solid #f97316;border-radius:8px;padding:8px 14px;color:#ea580c;font-size:14px;font-weight:700;white-space:nowrap;transition:background-color 160ms ease, color 160ms ease}.regional-pricing-link:hover .regional-pricing-link__cta{background-color:#f97316;color:#ffffff}@media (max-width: 700px){.regional-pricing-link{flex-direction:column;align-items:flex-start}}html.dark .enterprise-hero,html[class~=\"dark\"] .enterprise-hero{background:linear-gradient(180deg, #1f1308 0%, #2a180b 100%)!important;border-color:#7c2d12!important}html.dark .enterprise-kicker,html[class~=\"dark\"] .enterprise-kicker{color:#fb923c!important}html.dark .enterprise-title,html[class~=\"dark\"] .enterprise-title{color:#fff7ed!important}html.dark .enterprise-copy,html[class~=\"dark\"] .enterprise-copy,html.dark .enterprise-email-row,html[class~=\"dark\"] .enterprise-email-row{color:#fed7aa!important}html.dark .enterprise-email-row a,html[class~=\"dark\"] .enterprise-email-row a{color:#fdba74!important}html.dark .enterprise-booking-frame,html[class~=\"dark\"] .enterprise-booking-frame{border-color:#7c2d12!important;background:#1b1008!important}html.dark .enterprise-booking-iframe,html[class~=\"dark\"] .enterprise-booking-iframe{filter:invert(0.92) hue-rotate(180deg) saturate(0.85)}"}],"page":{"pagePath":"api-reference/agents/create","slug":"/api-reference/agents/create","pageMetadata":{"title":"Create Agent","api":"POST https://api.ravan.ai/api/v1/agents/","description":"Create a new agent.","href":"/api-reference/agents/create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a new agent.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(Note,{children:[`Actual endpoint: `,_jsx(_components.code,{children:`POST https://api.ravan.ai/api/v1/agents/`})]}),`\n`,_jsx(Heading,{level:`3`,id:`authorizations`,children:`Authorizations`}),`\n`,_jsx(ParamField,{header:`X-Api-Key`,type:`string`,required:true,id:`param-x-api-key`,children:_jsxs(_components.p,{children:[`Your Agni API key used to authenticate the request. Pass it in the `,_jsx(_components.code,{children:`X-Api-Key`}),` header. Find or rotate it from your Ravan AI account settings.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(_components.p,{children:`Use the current API contract fields below. The actual request schema uses snake_case keys.`}),`\n`,_jsx(ParamField,{body:`widget_settings_id`,type:`string`,placeholder:`a6f2b1d4-...`,id:`param-widget-settings-id`,children:_jsx(_components.p,{children:`Optional widget settings ID associated with this agent.`})}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,placeholder:`Sales Automation Agent`,id:`param-name`,children:_jsx(_components.p,{children:`Internal name for the agent.`})}),`\n`,_jsx(ParamField,{body:`agent_name`,type:`string`,placeholder:`Input Field FROM EARTH`,id:`param-agent-name`,children:_jsx(_components.p,{children:`Public-facing name that will be displayed to users.`})}),`\n`,_jsx(ParamField,{body:`model`,type:`string`,placeholder:`Agni Premium`,id:`param-model`,children:_jsx(_components.p,{children:`LLM model identifier used for reasoning and responses.`})}),`\n`,_jsx(ParamField,{body:`s2s_model`,type:`string`,placeholder:`Agni Premium`,id:`param-s2s-model`,children:_jsx(_components.p,{children:`Speech-to-speech model identifier used for real-time voice conversations.`})}),`\n`,_jsx(ParamField,{body:`voice_id`,type:`string`,placeholder:`Iris`,id:`param-voice-id`,children:_jsx(_components.p,{children:`Voice ID used for the agent’s TTS output.`})}),`\n`,_jsx(ParamField,{body:`temperature`,type:`number`,placeholder:`0.7`,id:`param-temperature`,children:_jsxs(_components.p,{children:[`Controls randomness in responses. Range: `,_jsx(_components.code,{children:`0.0`}),` to `,_jsx(_components.code,{children:`1.0`}),`.`]})}),`\n`,_jsx(ParamField,{body:`reminder_trigger_ms`,type:`integer`,placeholder:`10000`,id:`param-reminder-trigger-ms`,children:_jsx(_components.p,{children:`Milliseconds of silence before the agent sends a reminder.`})}),`\n`,_jsx(ParamField,{body:`reminder_max_count`,type:`integer`,placeholder:`2`,id:`param-reminder-max-count`,children:_jsx(_components.p,{children:`Maximum reminder messages allowed during a call.`})}),`\n`,_jsx(ParamField,{body:`ambient_sound`,type:`string`,placeholder:`forest_ambience`,id:`param-ambient-sound`,children:_jsx(_components.p,{children:`Background sound profile. Leave empty to disable.`})}),`\n`,_jsx(ParamField,{body:`ambient_sound_volume`,type:`number`,placeholder:`1`,id:`param-ambient-sound-volume`,children:_jsxs(_components.p,{children:[`Ambient sound volume. Range: `,_jsx(_components.code,{children:`0`}),` to `,_jsx(_components.code,{children:`1`}),`.`]})}),`\n`,_jsx(ParamField,{body:`end_call_after_silence`,type:`boolean`,placeholder:`true`,id:`param-end-call-after-silence`,children:_jsx(_components.p,{children:`Whether to end the call after a silence threshold is reached.`})}),`\n`,_jsx(ParamField,{body:`max_call_duration_ms`,type:`integer`,placeholder:`600000`,id:`param-max-call-duration-ms`,children:_jsx(_components.p,{children:`Maximum call duration in milliseconds.`})}),`\n`,_jsx(ParamField,{body:`ring_duration_ms`,type:`integer`,placeholder:`32000`,id:`param-ring-duration-ms`,children:_jsx(_components.p,{children:`Maximum time an outbound call rings before it is treated as unanswered.`})}),`\n`,_jsx(ParamField,{body:`enable_voicemail_detection`,type:`boolean`,placeholder:`true`,id:`param-enable-voicemail-detection`,children:_jsx(_components.p,{children:`Whether voicemail detection is enabled.`})}),`\n`,_jsx(ParamField,{body:`voicemail_message`,type:`string`,placeholder:``,id:`param-voicemail-message`,children:_jsx(_components.p,{children:`Message to leave when voicemail is detected.`})}),`\n`,_jsx(ParamField,{body:`voicemail_detection_timeout_ms`,type:`integer`,placeholder:`7000`,id:`param-voicemail-detection-timeout-ms`,children:_jsx(_components.p,{children:`Timeout in milliseconds for voicemail detection.`})}),`\n`,_jsx(ParamField,{body:`enable_emergency_fallback`,type:`boolean`,placeholder:`false`,id:`param-enable-emergency-fallback`,children:_jsx(_components.p,{children:`Whether to allow emergency call transfer fallback.`})}),`\n`,_jsx(ParamField,{body:`emergency_fallback_number`,type:`string`,placeholder:`+919123456789`,id:`param-emergency-fallback-number`,children:_jsx(_components.p,{children:`Backup number to transfer the call to in an emergency. Use E.164 format.`})}),`\n`,_jsx(ParamField,{body:`ivr_options`,type:`object`,placeholder:`{\"menu\": ...}`,id:`param-ivr-options`,children:_jsx(_components.p,{children:`Optional IVR configuration object.`})}),`\n`,_jsx(ParamField,{body:`post_call_analysis_model`,type:`string`,placeholder:`gpt-4o-mini`,id:`param-post-call-analysis-model`,children:_jsx(_components.p,{children:`Model used for post-call analysis, summaries, and structured extraction.`})}),`\n`,_jsx(ParamField,{body:`analysis_summary_prompt`,type:`string`,placeholder:`Summarize the call and capture the key outcome.`,id:`param-analysis-summary-prompt`,children:_jsx(_components.p,{children:`Prompt used to summarize call details after the conversation ends.`})}),`\n`,_jsx(ParamField,{body:`selected_tools`,type:`object`,placeholder:`{\"calendar\": true}`,id:`param-selected-tools`,children:_jsx(_components.p,{children:`Tools enabled for the agent. This is an object keyed by tool name or tool ID.`})}),`\n`,_jsx(ParamField,{body:`integrations`,type:`object`,placeholder:`{\"ghl\": true}`,id:`param-integrations`,children:_jsx(_components.p,{children:`Integration configuration for connected systems such as GHL or Salesforce.`})}),`\n`,_jsx(ParamField,{body:`knowledge_base`,type:`string`,placeholder:`8619dc3f-....`,id:`param-knowledge-base`,children:_jsx(_components.p,{children:`Knowledge base ID to attach to the agent.`})}),`\n`,_jsx(ParamField,{body:`begin_message`,type:`string`,placeholder:`Hi, thanks for calling. How can I help?`,id:`param-begin-message`,children:_jsx(_components.p,{children:`Initial message spoken by the agent when the conversation starts.`})}),`\n`,_jsx(ParamField,{body:`start_speaker`,type:`string`,placeholder:`agent`,id:`param-start-speaker`,children:_jsxs(_components.p,{children:[`Who speaks first. Allowed values: `,_jsx(_components.code,{children:`agent`}),` or `,_jsx(_components.code,{children:`user`}),`.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`request-example`,children:`Request Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`31`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`31`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"widget_settings_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a6f2b1d4-9d5d-4f9e-8f3d-0a16c7a3b55c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Sales Automation Agent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agent_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Input Field FROM EARTH\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Agni Premium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"s2s_model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Agni Premium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"voice_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Iris\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"temperature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.7`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reminder_trigger_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reminder_max_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ambient_sound\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"forest_ambience\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ambient_sound_volume\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"end_call_after_silence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"max_call_duration_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`600000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ring_duration_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`32000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"enable_voicemail_detection\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"voicemail_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"voicemail_detection_timeout_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`7000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"enable_emergency_fallback\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"emergency_fallback_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+919123456789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ivr_options\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"post_call_analysis_model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-4o-mini\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"analysis_summary_prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Summarize the call and capture the key outcome.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"selected_tools\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"integrations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ghl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"knowledge_base\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8619dc3f-3ef2-48b9-8b9d-3d750d573a59\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"begin_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hi, thanks for calling. How can I help?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"start_speaker\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"agent\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Whether the request succeeded.`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsxs(_components.p,{children:[`Human-readable status message. Example: `,_jsx(_components.code,{children:`Agent created successfully`})]})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:[_jsx(_components.p,{children:`Created agent object.`}),_jsxs(Expandable,{title:`data`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:`Unique agent ID.`}),_jsx(ResponseField,{name:`organization_id`,type:`string`,id:`param-organization-id`,children:`Organization this agent belongs to.`}),_jsx(ResponseField,{name:`widget_settings_id`,type:`string`,id:`param-widget-settings-id-1`,children:`Associated widget settings ID.`}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:`Internal name of the agent.`}),_jsx(ResponseField,{name:`agent_name`,type:`string`,id:`param-agent-name-1`,children:`Display name of the agent.`}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:`Agent status.`}),_jsx(ResponseField,{name:`model`,type:`string`,id:`param-model-1`,children:`LLM model identifier.`}),_jsx(ResponseField,{name:`s2s_model`,type:`string`,id:`param-s2s-model-1`,children:`Speech-to-speech model identifier.`}),_jsx(ResponseField,{name:`voice_id`,type:`string`,id:`param-voice-id-1`,children:`Voice ID for TTS.`}),_jsx(ResponseField,{name:`temperature`,type:`number`,id:`param-temperature-1`,children:`LLM temperature setting.`}),_jsx(ResponseField,{name:`reminder_trigger_ms`,type:`integer`,id:`param-reminder-trigger-ms-1`,children:`Milliseconds before sending a reminder.`}),_jsx(ResponseField,{name:`reminder_max_count`,type:`integer`,id:`param-reminder-max-count-1`,children:`Maximum number of reminders to send.`}),_jsx(ResponseField,{name:`ambient_sound`,type:`string`,id:`param-ambient-sound-1`,children:`Ambient sound identifier.`}),_jsx(ResponseField,{name:`ambient_sound_volume`,type:`number`,id:`param-ambient-sound-volume-1`,children:`Ambient sound volume (0.0 - 1.0).`}),_jsx(ResponseField,{name:`end_call_after_silence`,type:`boolean`,id:`param-end-call-after-silence-1`,children:`Whether the call ends after silence.`}),_jsx(ResponseField,{name:`max_call_duration_ms`,type:`integer`,id:`param-max-call-duration-ms-1`,children:`Maximum call duration in milliseconds.`}),_jsx(ResponseField,{name:`ring_duration_ms`,type:`integer`,id:`param-ring-duration-ms-1`,children:`Ring duration in milliseconds.`}),_jsx(ResponseField,{name:`enable_voicemail_detection`,type:`boolean`,id:`param-enable-voicemail-detection-1`,children:`Whether voicemail detection is enabled.`}),_jsx(ResponseField,{name:`voicemail_message`,type:`string`,id:`param-voicemail-message-1`,children:`Message left on voicemail.`}),_jsx(ResponseField,{name:`voicemail_detection_timeout_ms`,type:`integer`,id:`param-voicemail-detection-timeout-ms-1`,children:`Voicemail detection timeout in milliseconds.`}),_jsx(ResponseField,{name:`enable_emergency_fallback`,type:`boolean`,id:`param-enable-emergency-fallback-1`,children:`Whether emergency fallback is enabled.`}),_jsx(ResponseField,{name:`emergency_fallback_number`,type:`string`,id:`param-emergency-fallback-number-1`,children:`Backup phone number for emergency transfer.`}),_jsx(ResponseField,{name:`ivr_options`,type:`object`,id:`param-ivr-options-1`,children:`Optional IVR configuration.`}),_jsx(ResponseField,{name:`post_call_analysis_model`,type:`string`,id:`param-post-call-analysis-model-1`,children:`Model used for post-call analysis.`}),_jsx(ResponseField,{name:`analysis_summary_prompt`,type:`string`,id:`param-analysis-summary-prompt-1`,children:`Summary prompt used after the call.`}),_jsx(ResponseField,{name:`selected_tools`,type:`object`,id:`param-selected-tools-1`,children:`Tools enabled for this agent.`}),_jsx(ResponseField,{name:`integrations`,type:`object`,id:`param-integrations-1`,children:`Integration configuration.`}),_jsx(ResponseField,{name:`knowledge_base`,type:`string`,id:`param-knowledge-base-1`,children:`Knowledge base reference.`}),_jsx(ResponseField,{name:`begin_message`,type:`string`,id:`param-begin-message-1`,children:`Opening message spoken by the agent.`}),_jsxs(ResponseField,{name:`start_speaker`,type:`string`,id:`param-start-speaker-1`,children:[`Who speaks first: `,_jsx(_components.code,{children:`agent`}),` or `,_jsx(_components.code,{children:`user`}),`.`]}),_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`,children:`Creation timestamp.`}),_jsx(ResponseField,{name:`updated_at`,type:`string`,id:`param-updated-at`,children:`Last update timestamp.`})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Agent","api":"POST https://api.ravan.ai/api/v1/agents/","description":"Create a new agent.","href":"/api-reference/agents/create"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[328,332,"Example,ResponseFiel"],[614,629,"Example)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingM"],[24756,25184,",`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`40`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`40`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Agent created successfully\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"019eb654-a2c8-4b2c-9b1d-720b1d6b65f7\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"organization_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"95a4e479-03a7-4f1b-834d-8705756e8e59\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"widget_settings_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a6f2b1d4-9d5d-4f9e-8f3d-0a16c7a3b55c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Sales Automation Agent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agent_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Input Field FROM EARTH\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ACTIVE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Agni Premium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"s2s_model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Agni Premium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"voice_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Iris\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"temperature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.7`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reminder_trigger_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reminder_max_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ambient_sound\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"forest_ambience\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ambient_sound_volume\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"end_call_after_silence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"max_call_duration_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`600000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ring_duration_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`32000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"enable_voicemail_detection\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"voicemail_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"voicemail_detection_timeout_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`7000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"enable_emergency_fallback\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"emergency_fallback_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+919123456789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ivr_options\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"post_call_analysis_model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-4o-mini\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"analysis_summary_prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Summarize the call and capture the key outcome.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"selected_tools\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"integrations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ghl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"knowledge_base\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8619dc3f-3ef2-48b9-8b9d-3d750d573a59\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"begin_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hi, thanks for calling. How can I help?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"start_speaker\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"agent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-11T10:57:40.229069Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-11T18:26:17.115921Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}"]]},"mdxExtracts":{"tableOfContents":[{"title":"Authorizations","slug":"authorizations","depth":3,"children":[]},{"title":"Body","slug":"body","depth":3,"children":[]},{"title":"Request Example","slug":"request-example","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"40\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Agent created successfully\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"019eb654-a2c8-4b2c-9b1d-720b1d6b65f7\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"organization_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"95a4e479-03a7-4f1b-834d-8705756e8e59\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"widget_settings_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"a6f2b1d4-9d5d-4f9e-8f3d-0a16c7a3b55c\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Sales Automation Agent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agent_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Input Field FROM EARTH\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ACTIVE\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Agni Premium\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"s2s_model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Agni Premium\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"voice_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Iris\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"temperature\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.7\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"reminder_trigger_ms\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">10000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"reminder_max_count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">2\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ambient_sound\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"forest_ambience\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ambient_sound_volume\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"end_call_after_silence\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"max_call_duration_ms\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">600000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ring_duration_ms\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">32000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"enable_voicemail_detection\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"voicemail_message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"voicemail_detection_timeout_ms\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">7000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"enable_emergency_fallback\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"emergency_fallback_number\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"+919123456789\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ivr_options\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"post_call_analysis_model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"gpt-4o-mini\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"analysis_summary_prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Summarize the call and capture the key outcome.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"selected_tools\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"integrations\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ghl\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"knowledge_base\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"8619dc3f-3ef2-48b9-8b9d-3d750d573a59\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"begin_message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Hi, thanks for calling. How can I help?\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"start_speaker\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"agent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-06-11T10:57:40.229069Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-06-11T18:26:17.115921Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Create Agent","path":"/api/v1/agents/","servers":[{"url":"https://api.ravan.ai"}],"method":"post","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"X-Api-Key":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{"X-Api-Key":{"schema":[{"type":"string","description":"Your Agni API key used to authenticate the request. Pass it in the `X-Api-Key` header. Find or rotate it from your Ravan AI account settings.","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"widget_settings_id":[{"type":"string","description":"Optional widget settings ID associated with this agent.","placeholder":"a6f2b1d4-..."}],"name":[{"type":"string","description":"Internal name for the agent.","placeholder":"Sales Automation Agent"}],"agent_name":[{"type":"string","description":"Public-facing name that will be displayed to users.","placeholder":"Input Field FROM EARTH"}],"model":[{"type":"string","description":"LLM model identifier used for reasoning and responses.","placeholder":"Agni Premium"}],"s2s_model":[{"type":"string","description":"Speech-to-speech model identifier used for real-time voice conversations.","placeholder":"Agni Premium"}],"voice_id":[{"type":"string","description":"Voice ID used for the agent’s TTS output.","placeholder":"Iris"}],"temperature":[{"type":"number","description":"Controls randomness in responses. Range: `0.0` to `1.0` .","placeholder":"0.7"}],"reminder_trigger_ms":[{"type":"integer","description":"Milliseconds of silence before the agent sends a reminder.","placeholder":"10000"}],"reminder_max_count":[{"type":"integer","description":"Maximum reminder messages allowed during a call.","placeholder":"2"}],"ambient_sound":[{"type":"string","description":"Background sound profile. Leave empty to disable.","placeholder":"forest_ambience"}],"ambient_sound_volume":[{"type":"number","description":"Ambient sound volume. Range: `0` to `1` .","placeholder":"1"}],"end_call_after_silence":[{"type":"boolean","description":"Whether to end the call after a silence threshold is reached.","placeholder":"true"}],"max_call_duration_ms":[{"type":"integer","description":"Maximum call duration in milliseconds.","placeholder":"600000"}],"ring_duration_ms":[{"type":"integer","description":"Maximum time an outbound call rings before it is treated as unanswered.","placeholder":"32000"}],"enable_voicemail_detection":[{"type":"boolean","description":"Whether voicemail detection is enabled.","placeholder":"true"}],"voicemail_message":[{"type":"string","description":"Message to leave when voicemail is detected.","placeholder":""}],"voicemail_detection_timeout_ms":[{"type":"integer","description":"Timeout in milliseconds for voicemail detection.","placeholder":"7000"}],"enable_emergency_fallback":[{"type":"boolean","description":"Whether to allow emergency call transfer fallback.","placeholder":"false"}],"emergency_fallback_number":[{"type":"string","description":"Backup number to transfer the call to in an emergency. Use E.164 format.","placeholder":"+919123456789"}],"ivr_options":[{"type":"object","properties":{},"description":"Optional IVR configuration object.","placeholder":"{\"menu\": ...}"}],"post_call_analysis_model":[{"type":"string","description":"Model used for post-call analysis, summaries, and structured extraction.","placeholder":"gpt-4o-mini"}],"analysis_summary_prompt":[{"type":"string","description":"Prompt used to summarize call details after the conversation ends.","placeholder":"Summarize the call and capture the key outcome."}],"selected_tools":[{"type":"object","properties":{},"description":"Tools enabled for the agent. This is an object keyed by tool name or tool ID.","placeholder":"{\"calendar\": true}"}],"integrations":[{"type":"object","properties":{},"description":"Integration configuration for connected systems such as GHL or Salesforce.","placeholder":"{\"ghl\": true}"}],"knowledge_base":[{"type":"string","description":"Knowledge base ID to attach to the agent.","placeholder":"8619dc3f-...."}],"begin_message":[{"type":"string","description":"Initial message spoken by the agent when the conversation starts.","placeholder":"Hi, thanks for calling. How can I help?"}],"start_speaker":[{"type":"string","description":"Who speaks first. Allowed values: `agent` or `user` .","placeholder":"agent"}]}}],"examples":{"example":{"value":{"widget_settings_id":"\u003cstring>","name":"\u003cstring>","agent_name":"\u003cstring>","model":"\u003cstring>","s2s_model":"\u003cstring>","voice_id":"\u003cstring>","temperature":123,"reminder_trigger_ms":123,"reminder_max_count":123,"ambient_sound":"\u003cstring>","ambient_sound_volume":123,"end_call_after_silence":true,"max_call_duration_ms":123,"ring_duration_ms":123,"enable_voicemail_detection":true,"voicemail_message":"\u003cstring>","voicemail_detection_timeout_ms":123,"enable_emergency_fallback":true,"emergency_fallback_number":"\u003cstring>","ivr_options":{},"post_call_analysis_model":"\u003cstring>","analysis_summary_prompt":"\u003cstring>","selected_tools":{},"integrations":{},"knowledge_base":"\u003cstring>","begin_message":"\u003cstring>","start_speaker":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"boolean","description":"Whether the request succeeded."}],"message":[{"type":"string","description":"Human-readable status message. Example: `Agent created successfully`"}],"data":[{"type":"object","properties":{"id":[{"type":"string","description":"Unique agent ID."}],"organization_id":[{"type":"string","description":"Organization this agent belongs to."}],"widget_settings_id":[{"type":"string","description":"Associated widget settings ID."}],"name":[{"type":"string","description":"Internal name of the agent."}],"agent_name":[{"type":"string","description":"Display name of the agent."}],"status":[{"type":"string","description":"Agent status."}],"model":[{"type":"string","description":"LLM model identifier."}],"s2s_model":[{"type":"string","description":"Speech-to-speech model identifier."}],"voice_id":[{"type":"string","description":"Voice ID for TTS."}],"temperature":[{"type":"number","description":"LLM temperature setting."}],"reminder_trigger_ms":[{"type":"integer","description":"Milliseconds before sending a reminder."}],"reminder_max_count":[{"type":"integer","description":"Maximum number of reminders to send."}],"ambient_sound":[{"type":"string","description":"Ambient sound identifier."}],"ambient_sound_volume":[{"type":"number","description":"Ambient sound volume (0.0 - 1.0)."}],"end_call_after_silence":[{"type":"boolean","description":"Whether the call ends after silence."}],"max_call_duration_ms":[{"type":"integer","description":"Maximum call duration in milliseconds."}],"ring_duration_ms":[{"type":"integer","description":"Ring duration in milliseconds."}],"enable_voicemail_detection":[{"type":"boolean","description":"Whether voicemail detection is enabled."}],"voicemail_message":[{"type":"string","description":"Message left on voicemail."}],"voicemail_detection_timeout_ms":[{"type":"integer","description":"Voicemail detection timeout in milliseconds."}],"enable_emergency_fallback":[{"type":"boolean","description":"Whether emergency fallback is enabled."}],"emergency_fallback_number":[{"type":"string","description":"Backup phone number for emergency transfer."}],"ivr_options":[{"type":"object","properties":{},"description":"Optional IVR configuration."}],"post_call_analysis_model":[{"type":"string","description":"Model used for post-call analysis."}],"analysis_summary_prompt":[{"type":"string","description":"Summary prompt used after the call."}],"selected_tools":[{"type":"object","properties":{},"description":"Tools enabled for this agent."}],"integrations":[{"type":"object","properties":{},"description":"Integration configuration."}],"knowledge_base":[{"type":"string","description":"Knowledge base reference."}],"begin_message":[{"type":"string","description":"Opening message spoken by the agent."}],"start_speaker":[{"type":"string","description":"Who speaks first: `agent` or `user` ."}],"created_at":[{"type":"string","description":"Creation timestamp."}],"updated_at":[{"type":"string","description":"Last update timestamp."}]},"description":"Created agent object."}]}}],"examples":{"example":{"value":{"success":true,"message":"\u003cstring>","data":{"id":"\u003cstring>","organization_id":"\u003cstring>","widget_settings_id":"\u003cstring>","name":"\u003cstring>","agent_name":"\u003cstring>","status":"\u003cstring>","model":"\u003cstring>","s2s_model":"\u003cstring>","voice_id":"\u003cstring>","temperature":123,"reminder_trigger_ms":123,"reminder_max_count":123,"ambient_sound":"\u003cstring>","ambient_sound_volume":123,"end_call_after_silence":true,"max_call_duration_ms":123,"ring_duration_ms":123,"enable_voicemail_detection":true,"voicemail_message":"\u003cstring>","voicemail_detection_timeout_ms":123,"enable_emergency_fallback":true,"emergency_fallback_number":"\u003cstring>","ivr_options":{},"post_call_analysis_model":"\u003cstring>","analysis_summary_prompt":"\u003cstring>","selected_tools":{},"integrations":{},"knowledge_base":"\u003cstring>","begin_message":"\u003cstring>","start_speaker":"\u003cstring>","created_at":"\u003cstring>","updated_at":"\u003cstring>"}}}}}}},"deprecated":false}},"jsLinks":["/_mintlify/custom/agni/e3b0c44298fc1c14/build-openapi.js","/_mintlify/custom/agni/efdc12d3882511b9/fix-newlines.js","/_mintlify/custom/agni/b8fa0a4115baddda/fix-tabs.js"],"subdomain":"agni","siteName":"Agni","title":"Create Agent - Agni","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-21T11:27:24.321Z","originalFileLocation":"api-reference/agents/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a new agent.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Agni\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/agni/k8K1bIqWGq9Nswhg/_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/agni/k8K1bIqWGq9Nswhg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/agni/k8K1bIqWGq9Nswhg/_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/agni/k8K1bIqWGq9Nswhg/_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/agni/k8K1bIqWGq9Nswhg/_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/agni/k8K1bIqWGq9Nswhg/_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/agni/k8K1bIqWGq9Nswhg/_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/agni/k8K1bIqWGq9Nswhg/_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/agni/k8K1bIqWGq9Nswhg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Agent - Agni\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new agent.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Agni\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ravan.ai/api-reference/agents/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://agni.mintlify.site/_mintlify/api/og/v2?division=Agent+API\u0026amp;title=Create+Agent\u0026amp;description=Create+a+new+agent.\u0026amp;theme=6fec8f896e523ced5b568193\u0026amp;signature=c037ff1e40561da7ad1ab90a2f5e1e19a0373395d9a5f398421623b574ed2456\">\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 Agent - Agni\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new agent.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://agni.mintlify.site/_mintlify/api/og/v2?division=Agent+API\u0026amp;title=Create+Agent\u0026amp;description=Create+a+new+agent.\u0026amp;theme=6fec8f896e523ced5b568193\u0026amp;signature=c037ff1e40561da7ad1ab90a2f5e1e19a0373395d9a5f398421623b574ed2456\">\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/agni/k8K1bIqWGq9Nswhg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Agni\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E8430A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ravan.ai/api-reference/agents/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/agents/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ravan.ai/#organization\",\"name\":\"Agni\",\"url\":\"https://docs.ravan.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/agni/McdbIs6domJMAyIV/logo/light.png?fit=max\u0026auto=format\u0026n=McdbIs6domJMAyIV\u0026q=85\u0026s=56e5c2c19fd673bc0f02949ea740516d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ravan.ai#website\",\"name\":\"Agni\",\"url\":\"https://docs.ravan.ai\",\"publisher\":{\"@id\":\"https://docs.ravan.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ravan.ai/api-reference/agents/create#webpage\",\"url\":\"https://docs.ravan.ai/api-reference/agents/create\",\"name\":\"Create Agent\",\"description\":\"Create a new agent.\",\"dateModified\":\"2026-09-21T11:27:24.321Z\",\"isPartOf\":{\"@id\":\"https://docs.ravan.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ravan.ai/api-reference/agents/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ravan.ai/api-reference/agents/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agent API\",\"item\":\"https://docs.ravan.ai/api-reference/agents/get\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Agent\",\"item\":\"https://docs.ravan.ai/api-reference/agents/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ravan.ai/api-reference/agents/create#apireference\",\"headline\":\"Create Agent\",\"name\":\"Create Agent\",\"description\":\"Create a new agent.\",\"url\":\"https://docs.ravan.ai/api-reference/agents/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ravan.ai/api-reference/agents/create#webpage\"},\"dateModified\":\"2026-09-21T11:27:24.321Z\",\"publisher\":{\"@id\":\"https://docs.ravan.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ravan.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Agni\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Agni\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/agents/create.md","siteName":"Agni","nav":{"global":{"anchors":[{"anchor":"Demo","icon":"microphone","href":"https://agni.ravan.ai"},{"anchor":"Website","icon":"globe","href":"https://app.ravan.ai"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","groups":[{"group":"Introduction","pages":[{"title":"API overview","href":"/api-reference/introduction"}]},{"group":"Agent API","pages":[{"title":"Get Agent","openapi":"GET /api/v1/agents/{id}/","href":"/api-reference/agents/get"},{"title":"List Agents","openapi":"GET /api/v1/agents/","href":"/api-reference/agents/list"},{"title":"List LLM Models With Voices","openapi":"GET /api/v1/available-llm-models/with-voices","href":"/api-reference/models/list-with-voices"},{"title":"List Voices for LLM Model","openapi":"GET /api/v1/available-voice-ids/{llm_model_id}/voices","description":"List available voices for a specific LLM model.","href":"/api-reference/models/list-voices"},{"title":"Create Agent","api":"POST https://api.ravan.ai/api/v1/agents/","href":"/api-reference/agents/create"},{"title":"Update Agent","openapi":"PATCH /api/v1/agents/{id}/","description":"Update Agent.","href":"/api-reference/agents/update"},{"title":"Update Agent Status","openapi":"PATCH /api/v1/agents/{id}/status/","href":"/api-reference/agents/update-status"},{"title":"Delete Agent","openapi":"DELETE /api/v1/agents/{id}/","href":"/api-reference/agents/delete"}]},{"group":"Organization API","pages":[{"title":"Get organization profile","openapi":"GET /api/v1/organizations/profile/{id}","href":"/api-reference/organizations/profile"}]},{"group":"Agent Tool API","pages":[{"title":"Get Agent Tool","openapi":"GET /api/v1/tools/{id}/","href":"/api-reference/tools/get"},{"title":"List Agent Tools","openapi":"GET /api/v1/tools/","href":"/api-reference/tools/list"},{"title":"Create Agent Tool","openapi":"POST /api/v1/tools/","href":"/api-reference/tools/create"},{"title":"Update Agent Tool","openapi":"PATCH /api/v1/tools/{id}/","href":"/api-reference/tools/update"},{"title":"Delete Agent Tool","openapi":"DELETE /api/v1/tools/{id}/","href":"/api-reference/tools/delete"}]},{"group":"Phone Number \u0026 Telephony API","pages":[{"title":"List Available Numbers","openapi":"GET /api/v1/phone-numbers/available-numbers/{iso_country}/","href":"/api-reference/telephony/list-available-numbers"},{"title":"List Purchased Numbers","openapi":"GET /api/v1/phone-numbers/list","href":"/api-reference/telephony/list-purchased-numbers"},{"title":"List Imported Numbers","openapi":"GET /api/v1/phone-numbers/import","href":"/api-reference/telephony/list-imported-numbers"},{"title":"Get Imported Number","openapi":"GET /api/v1/phone-numbers/import/{id}","href":"/api-reference/telephony/get-imported-number"},{"title":"List Twilio Owned Numbers","openapi":"GET /api/v1/phone-numbers/twilio-owned-numbers/","href":"/api-reference/telephony/list-twilio-numbers"},{"title":"Get Selected Telephony","openapi":"GET /api/v1/phone-numbers/selected-telephony","href":"/api-reference/telephony/get-selected-telephony"},{"title":"Buy Phone Number","openapi":"POST /api/v1/phone-numbers/buy/","href":"/api-reference/telephony/buy-number"},{"title":"Import Phone Number","openapi":"POST /api/v1/phone-numbers/import/","href":"/api-reference/telephony/import-number"},{"title":"Add Twilio Number","openapi":"POST /api/v1/phone-numbers/add-twilio","href":"/api-reference/telephony/add-twilio-number"},{"title":"Create Telephony Type","openapi":"POST /api/v1/phone-numbers/create/telephony/","href":"/api-reference/telephony/create-telephony"},{"title":"Update Imported Number","openapi":"PUT /api/v1/phone-numbers/import/{id}","href":"/api-reference/telephony/update-imported-number"},{"title":"Release Phone Number","openapi":"DELETE /api/v1/phone-numbers/{phone_number}/release/","href":"/api-reference/telephony/release-number"},{"title":"Delete Imported Number","openapi":"DELETE /api/v1/phone-numbers/import/{id}","href":"/api-reference/telephony/delete-imported-number"}]},{"group":"Campaign API","pages":[{"title":"List Campaigns","api":"GET https://api.ravan.ai/api/v1/campaigns/","href":"/api-reference/campaigns/list"},{"title":"Get Campaign","api":"GET https://api.ravan.ai/api/v1/campaigns/{id}","href":"/api-reference/campaigns/get"},{"title":"List Campaign Contacts","openapi":"GET /api/v1/campaigns/{id}/contacts","href":"/api-reference/campaigns/list-contacts"},{"title":"Create Campaign","api":"POST https://api.ravan.ai/api/v1/campaigns/","href":"/api-reference/campaigns/create"},{"title":"Start Campaign","openapi":"POST /api/v1/campaigns/{id}/start","href":"/api-reference/campaigns/start"},{"title":"Pause Campaign","openapi":"POST /api/v1/campaigns/{id}/pause","href":"/api-reference/campaigns/pause"},{"title":"Resume Campaign","openapi":"POST /api/v1/campaigns/{id}/resume","href":"/api-reference/campaigns/resume"},{"title":"Add Contacts to Campaign","openapi":"POST /api/v1/campaigns/{id}/contacts","href":"/api-reference/campaigns/add-contacts"},{"title":"Update Campaign","api":"PATCH https://api.ravan.ai/api/v1/campaigns/{id}","href":"/api-reference/campaigns/update"},{"title":"Delete Campaign","openapi":"DELETE /api/v1/campaigns/{id}","href":"/api-reference/campaigns/delete"},{"title":"Remove Contact from Campaign","openapi":"DELETE /api/v1/campaigns/{id}/contacts/{contact_id}","href":"/api-reference/campaigns/remove-contact"}]},{"group":"Contact API","pages":[{"title":"Get Contact","openapi":"GET /api/v1/contacts/{id}","href":"/api-reference/contacts/get"},{"title":"List Contacts","openapi":"GET /api/v1/contacts/","href":"/api-reference/contacts/list"},{"title":"Get Contact Detail","openapi":"GET /api/v1/contacts/{id}/detail","href":"/api-reference/contacts/detail"},{"title":"Get Contact Calls","openapi":"GET /api/v1/contacts/{id}/calls","href":"/api-reference/contacts/calls"},{"title":"Get Contact Call Stats","openapi":"GET /api/v1/contacts/{id}/calls/stats","href":"/api-reference/contacts/call-stats"},{"title":"Get Contact Activities","openapi":"GET /api/v1/contacts/{id}/activities","href":"/api-reference/contacts/activities"},{"title":"Get Contact Campaigns","openapi":"GET /api/v1/contacts/{id}/campaigns","href":"/api-reference/contacts/campaigns"},{"title":"List Contact Notes","openapi":"GET /api/v1/contacts/{id}/notes","href":"/api-reference/contacts/list-notes"},{"title":"Create Contact","openapi":"POST /api/v1/contacts/","href":"/api-reference/contacts/create"},{"title":"Bulk Delete Contacts","openapi":"POST /api/v1/contacts/bulk-delete","href":"/api-reference/contacts/bulk-delete"},{"title":"Create Contact Note","openapi":"POST /api/v1/contacts/{id}/notes","href":"/api-reference/contacts/create-note"},{"title":"Update Contact","openapi":"PATCH /api/v1/contacts/{id}","href":"/api-reference/contacts/update"},{"title":"Delete Contact","openapi":"DELETE /api/v1/contacts/{id}","href":"/api-reference/contacts/delete"}]},{"group":"Calling API","pages":[{"title":"List Call Sessions","openapi":"GET /api/v1/calling/call-sessions","href":"/api-reference/calling/list-sessions"},{"title":"Get Call Session Detail","openapi":"GET /api/v1/calling/call-sessions-detail/{id}","href":"/api-reference/calling/get-session-detail"},{"title":"Phone Call History","openapi":"GET /api/v1/calling/phone-history","href":"/api-reference/calling/phone-history"},{"title":"Create Call","openapi":"POST /api/v1/calling/create-call","href":"/api-reference/calling/create-call"}]},{"group":"Appointment API","pages":[{"title":"Manage GHL Appointment","openapi":"POST /api/v1/ghl/appointments/manage","href":"/api-reference/appointments/manage-ghl"},{"title":"Manage Cal.com Appointment","openapi":"POST /api/v1/calcom/appointments/manage","href":"/api-reference/appointments/manage-calcom"}]},{"group":"GHL Integration API","pages":[{"title":"GHL Setup Status","openapi":"GET /api/v1/ghl/setup/status","href":"/api-reference/ghl/setup-status"},{"title":"List GHL Calendars","openapi":"GET /api/v1/ghl/setup/calendars","href":"/api-reference/ghl/list-calendars"},{"title":"Get GHL Agent by Calendar","openapi":"GET /api/v1/ghl/setup/agents/calendar/{calendar_id}","href":"/api-reference/ghl/get-agent-by-calendar"},{"title":"List GHL Appointments","openapi":"GET /api/v1/ghl/appointments","href":"/api-reference/ghl/list-appointments"},{"title":"Get GHL Appointment","openapi":"GET /api/v1/ghl/appointments/{appointment_id}","href":"/api-reference/ghl/get-appointment"},{"title":"GHL OAuth Authorize","openapi":"GET /api/v1/ghl/oauth/authorize","href":"/api-reference/ghl/oauth-authorize"},{"title":"GHL OAuth Callback","openapi":"GET /api/v1/ghl/oauth/callback","href":"/api-reference/ghl/oauth-callback"},{"title":"Save Call Data","openapi":"POST /api/v1/ghl/calls/data","href":"/api-reference/ghl/save-call-data"},{"title":"Get or Create Contact","openapi":"POST /api/v1/ghl/contacts","href":"/api-reference/ghl/get-or-create-contact"},{"title":"Disconnect GHL","openapi":"POST /api/v1/ghl/disconnect","href":"/api-reference/ghl/disconnect"}]},{"group":"Cal.com Integration API","pages":[{"title":"Cal.com OAuth Connect","openapi":"GET /api/v1/calcom/oauth/connect","href":"/api-reference/calcom/oauth-connect"},{"title":"Cal.com OAuth Callback","openapi":"GET /api/v1/calcom/oauth/callback","href":"/api-reference/calcom/oauth-callback"},{"title":"Cal.com Connection Status","openapi":"GET /api/v1/calcom/status","href":"/api-reference/calcom/status"},{"title":"List Cal.com Event Types","openapi":"GET /api/v1/calcom/event-types","href":"/api-reference/calcom/list-event-types"},{"title":"Lookup Cal.com Event Type","openapi":"GET /api/v1/calcom/event-types/lookup/{platform_id}","href":"/api-reference/calcom/lookup-event-type"},{"title":"List Cal.com Appointments","openapi":"GET /api/v1/calcom/appointments","href":"/api-reference/calcom/list-appointments"},{"title":"Get Appointment","openapi":"GET /api/v1/calcom/appointments/{appointment_id}","href":"/api-reference/calcom/get-appointment"},{"title":"Get Agent Cal.com Account","openapi":"GET /api/v1/calcom/agents/{agent_id}/account","href":"/api-reference/calcom/get-agent-account"},{"title":"Get Agent Cal.com Status","openapi":"GET /api/v1/calcom/agents/{agent_id}/status","href":"/api-reference/calcom/agent-status"},{"title":"Get Agent Cal.com Info","openapi":"GET /api/v1/calcom/agents/{agent_id}/info","href":"/api-reference/calcom/agent-info"},{"title":"Disconnect Cal.com","openapi":"POST /api/v1/calcom/disconnect","href":"/api-reference/calcom/disconnect"},{"title":"Connect Agent Cal.com","openapi":"POST /api/v1/calcom/agents/{agent_id}/connect","href":"/api-reference/calcom/connect-agent"},{"title":"Assign Cal.com Account to Agent","openapi":"PUT /api/v1/calcom/agents/{agent_id}/account","href":"/api-reference/calcom/assign-agent-account"},{"title":"Disconnect Agent Cal.com","openapi":"DELETE /api/v1/calcom/agents/{agent_id}/disconnect","href":"/api-reference/calcom/disconnect-agent"}]},{"group":"RAG Knowledge Base API","pages":[{"title":"Get Knowledge Base","openapi":"GET /api/v1/rag/get-knowledge-base/{kb_id}","href":"/api-reference/rag/get-knowledge-base"},{"title":"List Knowledge Bases","openapi":"GET /api/v1/rag/knowledgebases","href":"/api-reference/rag/list-knowledge-bases"},{"title":"Get Document","openapi":"GET /api/v1/rag/document","href":"/api-reference/rag/get-document"},{"title":"List Documents","openapi":"GET /api/v1/rag/documents","href":"/api-reference/rag/list-documents"},{"title":"List Exclusions","openapi":"GET /api/v1/rag/exclusions","href":"/api-reference/rag/list-exclusions"},{"title":"Create Knowledge Base","openapi":"POST /api/v1/rag/create-knowledge-base","href":"/api-reference/rag/create-knowledge-base"},{"title":"Add Sources","openapi":"POST /api/v1/rag/knowledge-base/{kb_id}/add-sources","href":"/api-reference/rag/add-sources"},{"title":"Upsert Document","openapi":"POST /api/v1/rag/document","href":"/api-reference/rag/upsert-document"},{"title":"Query Knowledge Base","openapi":"POST /api/v1/rag/query","href":"/api-reference/rag/query"},{"title":"Discover URLs","openapi":"POST /api/v1/rag/discover","href":"/api-reference/rag/discover-urls"},{"title":"Refresh Knowledge Base","openapi":"POST /api/v1/rag/refresh","href":"/api-reference/rag/refresh"},{"title":"Manage Exclusions","openapi":"POST /api/v1/rag/exclusions","href":"/api-reference/rag/manage-exclusions"},{"title":"Delete Knowledge Base","openapi":"DELETE /api/v1/rag/delete-knowledge-base/{kb_id}","href":"/api-reference/rag/delete-knowledge-base"},{"title":"Delete Source","openapi":"DELETE /api/v1/rag/knowledge-base/{kb_id}/source/{source_id}","href":"/api-reference/rag/delete-source"}]},{"group":"Webhooks","pages":[{"title":"After-Call Webhook","href":"/api-reference/webhooks/call-completed"}]},{"group":"Health API","pages":[{"title":"Health Check","openapi":"GET /health","href":"/api-reference/health/health"},{"title":"Readiness Check","openapi":"GET /ready","href":"/api-reference/health/ready"}]}]}]},"basePath":"","title":"Create Agent - Agni","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js"]}