{
"message": "Selected voice does not support the specified language"
}
{
"message": "Invalid credentials"
}
{
"message": "These variables cannot be removed: callee_name, mobile_number"
}
{
"message": "Agent not found"
}
{
"message": "<string>"
}
{
"message": "Failed to edit agent"
}
Edit Agent Settings
Change one setting on an existing agent per request, such as its prompt, voice, knowledge base, inbound number or webhook subscriptions, by operation name.
agent_id is required on every request. Without version_id, the change applies to the agent’s active version; send version_id to change another version. An unknown operation, or a missing field, returns 422.
edit_prompt replaces the whole prompt. Send every section; a section you leave out is deleted.
edit_call_config merges: only the keys you send change, and nested objects such as voicemail merge key by key.
edit_custom_vars, edit_vocab, edit_query_phrases, edit_vad_settings, edit_agent_whitelisted_domains and edit_event_subscriptions replace the current value with the one you send. An outbound agent must keep callee_name and mobile_number in custom_variables, or the request returns 403.
edit_event_subscriptions replaces the agent’s whole subscription list with the one you send. Read the current list first and send it back with your change, or you will delete the subscriptions you left out.
Each event type can have up to 4 subscriptions on one agent. Call events (call_started, call_ringing, call_ongoing, call_completed, recording_completed) apply to voice agents and chat_completed to WhatsApp agents; subscribing to an event the agent’s channel never sends returns 400.
(Optional) Agent version to change. Without it, the active version is changed; when an A/B test is live, the most recently updated version. Must belong to the agent, or the request returns 404.
Used with edit_prompt. Replaces the whole prompt: send every section, because a section you leave out is deleted. Variables are written @{{name}} or {{name}}.
Used with operation: "edit_chat_settings". whatsapp_session sets how long a WhatsApp agent's chats stay open. Fields you leave out keep their current values.
Used with operation: "edit_event_subscriptions". The agent's complete list of webhook subscriptions. The list you send replaces the existing one, so include every subscription you want to keep.
Used with edit_call_config. Merged into the agent's call settings: only the keys you send change, and nested objects such as voicemail merge key by key. Takes the same keys as call_config on Create Agent, such as call_time, max_call_length, idle_timeout_warning, idle_timeout_end and voicemail. idle_timeout_warning must stay below idle_timeout_end.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ringg AI","description":"Build AI agents that make and answer phone calls, talk on your website and chat on WhatsApp, then run them from the Ringg AI dashboard or REST API.","colors":{"primary":"#0A0A0B","light":"#FFFFFF","dark":"#0A0A0B"},"logo":{"light":"https://mintcdn.com/ringgai-0da73d20/ZLVFI55VhZ4gmYrF/logo/light.svg?fit=max\u0026auto=format\u0026n=ZLVFI55VhZ4gmYrF\u0026q=85\u0026s=053f22dbaf5140cd8e5dadb1d4d057cd","dark":"https://mintcdn.com/ringgai-0da73d20/ZLVFI55VhZ4gmYrF/logo/dark.svg?fit=max\u0026auto=format\u0026n=ZLVFI55VhZ4gmYrF\u0026q=85\u0026s=cf9075384ec572e1a19b939d5a8674af","href":"https://www.ringg.ai"},"favicon":"https://mintcdn.com/ringgai-0da73d20/ZLVFI55VhZ4gmYrF/favicon.svg?fit=max\u0026auto=format\u0026n=ZLVFI55VhZ4gmYrF\u0026q=85\u0026s=e612fcf76df43d6468baa340dc3fde50","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","python","javascript"]},"mdx":{"auth":{"method":"key","name":"X-API-KEY"},"server":"https://prod-api.ringg.ai/ca/api/v0"}},"appearance":{"default":"dark"},"background":{"decoration":"grid"},"navbar":{"links":[{"href":"/resources/learn/all-lessons","label":"Learn"},{"href":"mailto:admin@ringg.ai","label":"Contact us"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.ringg.ai/dashboard"}},"footer":{"socials":{"x":"https://x.com/ringg_ai","linkedin":"https://www.linkedin.com/company/ringg","youtube":"https://www.youtube.com/@RinggAI","instagram":"https://www.instagram.com/ringg_ai","discord":"https://discord.gg/YuEnb8Vsca"},"links":[{"header":"For AI agents","items":[{"label":"llms.txt","href":"https://docs.ringg.ai/llms.txt"},{"label":"skill.md","href":"https://docs.ringg.ai/skill.md"},{"label":"OpenAPI spec","href":"https://docs.ringg.ai/api-reference/openapi.json"},{"label":"MCP server","href":"/resources/mcp-server/docs-mcp-server/mcp-for-ai-assistants"}]}]},"search":{"prompt":"Search the docs"},"seo":{"metatags":{"canonical":"https://docs.ringg.ai","og:site_name":"Ringg AI Docs","twitter:site":"@ringg_ai"},"organization":{"id":"https://www.ringg.ai/#organization","legalName":"Stoic AI Private Limited","url":"https://www.ringg.ai","logo":"https://assets.ringg.ai/images/logo/logo.svg","sameAs":["https://x.com/ringg_ai","https://www.linkedin.com/company/ringg","https://www.youtube.com/@RinggAI","https://www.instagram.com/ringg_ai","https://discord.gg/YuEnb8Vsca"]}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":false},"errors":{"404":{"redirect":false,"title":"This page doesn't exist","description":"It may have moved in the docs rebuild. The suggestions below usually have it; otherwise start from [the introduction](/get-started/ringg-ai) or search above."}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","download-spec"],"display":"header"},"markdown":{"instructions":["To search or read these docs, connect the Ringg docs MCP server at https://docs.ringg.ai/mcp (no key needed; tools search_ringg_ai and query_docs_filesystem_ringg_ai) instead of browsing pages one by one. Setup for each client: https://docs.ringg.ai/resources/mcp-server/docs-mcp-server/mcp-for-ai-assistants.md","The dashboard labels agents \"Assistants\"; these docs say \"agent\". Both mean the same object, identified by agent_id.","API base URL: https://prod-api.ringg.ai/ca/api/v0. Send the workspace API key in the X-API-KEY header, from server-side code only.","Placing a call dials a real phone number and spends credits. Confirm the number with the user before calling.","To act on a Ringg workspace (place calls, edit agents, read transcripts), use the separate Ringg workspace MCP server at https://mcp.ringg.ai/mcp: https://docs.ringg.ai/resources/mcp-server/workspace-mcp-server/overview.md"]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ringgai-0da73d20","hasAudioNarration":false,"actualSubdomain":"ringgai-0da73d20","customDomains":["docs.ringg.ai"],"gitSource":{"type":"github","owner":"stonkr","repo":"ringg-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true,"edits":true,"issues":true},"entitlements":{},"buildId":"6adb52e21a579503f2299e23","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Documentation","count":90},{"language":"default","tag":"API reference","count":52},{"language":"default","tag":"Build agents","count":37},{"language":"default","tag":"Resources","count":34},{"language":"default","tag":"Learn","count":27},{"language":"default","tag":"Inventory","count":23},{"language":"default","tag":"Deploy","count":22},{"language":"default","tag":"Customize agent behaviour","count":19},{"language":"default","tag":"Agents","count":17},{"language":"default","tag":"Calling","count":15}],"searchSettings":{"showContentSnippets":true,"maxResults":8}},"assistantConfig":{},"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}],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"img.nav-logo{height:1.375rem!important;width:auto!important}.figure-card{display:flex;flex-direction:column;margin:0.5rem 0;overflow:hidden;border:1px solid rgb(10 10 11 / 0.08);border-radius:1rem;background:#ffffff;text-decoration:none!important;transition:border-color 150ms}.figure-card:hover{border-color:rgb(10 10 11 / 0.2)}.dark .figure-card{border-color:rgb(255 255 255 / 0.08);background:rgb(var(--background-dark))}.dark .figure-card:hover{border-color:rgb(255 255 255 / 0.2)}.figure-card-panel{display:flex;justify-content:center;height:12rem;margin:0.375rem 0.375rem 0;border-radius:0.75rem;-webkit-mask-image:linear-gradient(to bottom, #000 62%, transparent);mask-image:linear-gradient(to bottom, #000 62%, transparent);background:#f6f6f7 url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='384' height='256' fill='none' stroke='%230a0a0b' stroke-opacity='0.03' stroke-width='1.5'%3E%3Ccircle cx='32' cy='32' r='25'/%3E%3Ccircle cx='96' cy='32' r='25'/%3E%3Crect x='135' y='7' width='50' height='50' rx='8'/%3E%3Ccircle cx='224' cy='32' r='25'/%3E%3Ccircle cx='288' cy='32' r='25'/%3E%3Ccircle cx='352' cy='32' r='25'/%3E%3Ccircle cx='32' cy='96' r='25'/%3E%3Ccircle cx='96' cy='96' r='25'/%3E%3Ccircle cx='160' cy='96' r='25'/%3E%3Ccircle cx='224' cy='96' r='25'/%3E%3Ccircle cx='288' cy='96' r='25'/%3E%3Ccircle cx='352' cy='96' r='25'/%3E%3Ccircle cx='32' cy='160' r='25'/%3E%3Crect x='71' y='135' width='50' height='50' rx='8'/%3E%3Ccircle cx='160' cy='160' r='25'/%3E%3Ccircle cx='224' cy='160' r='25'/%3E%3Crect x='263' y='135' width='50' height='50' rx='8'/%3E%3Crect x='327' y='135' width='50' height='50' rx='8'/%3E%3Crect x='7' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='96' cy='224' r='25'/%3E%3Crect x='135' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='224' cy='224' r='25'/%3E%3Crect x='263' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='352' cy='224' r='25'/%3E%3C/svg%3E\") center / 192px 128px}.dark .figure-card-panel{background:#0f0f11 url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='384' height='256' fill='none' stroke='%23ffffff' stroke-opacity='0.025' stroke-width='1.5'%3E%3Ccircle cx='32' cy='32' r='25'/%3E%3Ccircle cx='96' cy='32' r='25'/%3E%3Crect x='135' y='7' width='50' height='50' rx='8'/%3E%3Ccircle cx='224' cy='32' r='25'/%3E%3Ccircle cx='288' cy='32' r='25'/%3E%3Ccircle cx='352' cy='32' r='25'/%3E%3Ccircle cx='32' cy='96' r='25'/%3E%3Ccircle cx='96' cy='96' r='25'/%3E%3Ccircle cx='160' cy='96' r='25'/%3E%3Ccircle cx='224' cy='96' r='25'/%3E%3Ccircle cx='288' cy='96' r='25'/%3E%3Ccircle cx='352' cy='96' r='25'/%3E%3Ccircle cx='32' cy='160' r='25'/%3E%3Crect x='71' y='135' width='50' height='50' rx='8'/%3E%3Ccircle cx='160' cy='160' r='25'/%3E%3Ccircle cx='224' cy='160' r='25'/%3E%3Crect x='263' y='135' width='50' height='50' rx='8'/%3E%3Crect x='327' y='135' width='50' height='50' rx='8'/%3E%3Crect x='7' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='96' cy='224' r='25'/%3E%3Crect x='135' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='224' cy='224' r='25'/%3E%3Crect x='263' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='352' cy='224' r='25'/%3E%3C/svg%3E\") center / 192px 128px}.figure-card-panel{--hairline-plate: #f6f6f7}.dark .figure-card-panel{--hairline-plate: #0f0f11}.figure-card-panel>[data-hairline]{width:13.75rem}.figure-card-text{flex:1;padding:0.25rem 1.25rem 1.25rem}.figure-card-title{font-weight:600;color:rgb(17 24 39)}.dark .figure-card-title{color:rgb(255 255 255)}.figure-card-body{margin-top:0.25rem;font-size:0.9375rem;line-height:1.6;color:rgb(75 85 99)}.dark .figure-card-body{color:rgb(161 161 170)}"}],"page":{"pagePath":"api-reference/agents/edit-assistant","slug":"/api-reference/agents/edit-assistant","pageMetadata":{"openapi":"patch /agent/v1","description":"Change one setting on an existing agent per request, such as its prompt, voice, knowledge base, inbound number or webhook subscriptions, by operation name.","related":[{"Webhook payloads":"/documentation/build-agents/customize-agent-behaviour/webhooks/call-events"}],"title":"Edit Agent Settings","href":"/api-reference/agents/edit-assistant"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Change one setting on an existing agent per request, such as its prompt, voice, knowledge base, inbound number or webhook subscriptions, by operation name.\"\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];const RelatedTopics=({items})=>{const _components={a:`a`,..._provideComponents()},{Icon}=_components;if(!Icon)_missingMdxReference(`Icon`,true);return _jsxs(`div`,{className:`not-prose mint-mt-12`,children:[_jsx(`div`,{className:`mint-text-sm mint-font-medium mint-text-gray-500 dark:mint-text-zinc-400 mint-mb-3`,children:`Related topics`}),_jsx(`div`,{className:`mint-flex mint-flex-col mint-gap-2.5`,children:items.map(([title,href])=>_jsxs(_components.a,{href,className:`mint-flex mint-items-center mint-gap-2.5 mint-text-sm mint-text-gray-700 hover:mint-text-gray-950 dark:mint-text-zinc-300 dark:hover:mint-text-white`,children:[_jsx(Icon,{icon:`file-text`,size:16,color:`currentColor`}),title]},href))})]})};function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Each request names an `,_jsx(_components.code,{children:`operation`}),` and carries the field that operation needs, so a prompt edit cannot overwrite the voice or the webhooks by accident.`]}),`\n`,_jsx(Heading,{level:`2`,id:`operations-and-fields`,children:`Operations and fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`operation`})}),_jsx(_components.th,{children:`Field to send`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit_prompt`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`agent_prompt`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit_call_config`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`call_config`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit_agent_display_name`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`agent_display_name`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit_intro_message`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`intro_message`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit_voice`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`voice_id`}),`, plus `,_jsx(_components.code,{children:`language`}),` (a voice must support the language); optional `,_jsx(_components.code,{children:`secondary_voice_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit_voice_speed`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`voice_speed`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit_noise_settings`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`mute_during_intro`}),` and `,_jsx(_components.code,{children:`mute_while_bot_speaking`}),`, both required`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit_vocab`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`vocab`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit_query_phrases`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`pre_query_response_phrases`}),`, optional `,_jsx(_components.code,{children:`pre_query_phrase_probability`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit_vad_settings`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`vad_settings`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit_custom_vars`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`custom_variables`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`attach_kb`}),`, `,_jsx(_components.code,{children:`remove_kb`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`kb_id`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`attach_inbound_number`}),`, `,_jsx(_components.code,{children:`remove_inbound_number`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`number_id`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit_agent_whitelisted_domains`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`whitelisted_domains`}),` (web agents)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit_chat_settings`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`chat_settings`}),` (WhatsApp agents)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit_event_subscriptions`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`event_subscriptions`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`agent_id`}),` is required on every request. Without `,_jsx(_components.code,{children:`version_id`}),`, the change applies to the agent’s active version; send `,_jsx(_components.code,{children:`version_id`}),` to change another version. An unknown operation, or a missing field, returns `,_jsx(_components.code,{children:`422`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`replace-or-merge`,children:`Replace or merge`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`edit_prompt`}),` replaces the whole prompt. Send every section; a section you leave out is deleted.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`edit_call_config`}),` merges: only the keys you send change, and nested objects such as `,_jsx(_components.code,{children:`voicemail`}),` merge key by key.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`edit_custom_vars`}),`, `,_jsx(_components.code,{children:`edit_vocab`}),`, `,_jsx(_components.code,{children:`edit_query_phrases`}),`, `,_jsx(_components.code,{children:`edit_vad_settings`}),`, `,_jsx(_components.code,{children:`edit_agent_whitelisted_domains`}),` and `,_jsx(_components.code,{children:`edit_event_subscriptions`}),` replace the current value with the one you send. An outbound agent must keep `,_jsx(_components.code,{children:`callee_name`}),` and `,_jsx(_components.code,{children:`mobile_number`}),` in `,_jsx(_components.code,{children:`custom_variables`}),`, or the request returns `,_jsx(_components.code,{children:`403`}),`.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"operation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"edit_call_config\"`}),_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_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-agent-id\"`}),_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:` \"call_config\"`}),_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_length\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`300`}),_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\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"detect\"`}),_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:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"end\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`webhook-subscriptions`,children:`Webhook subscriptions`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`edit_event_subscriptions`}),` replaces the agent’s whole subscription list with the one you send. Read the current list first and send it back with your change, or you will delete the subscriptions you left out.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,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:`12`,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:` \"operation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"edit_event_subscriptions\"`}),_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_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-agent-id\"`}),_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:` \"event_subscriptions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"all_processing_completed\"`}),_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:` \"callback_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.example.com/webhooks/ringg\"`}),_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:` \"method_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"POST\"`}),_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:` \"headers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer your-webhook-receiver-token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Each event type can have up to 4 subscriptions on one agent. Call events (`,_jsx(_components.code,{children:`call_started`}),`, `,_jsx(_components.code,{children:`call_ringing`}),`, `,_jsx(_components.code,{children:`call_ongoing`}),`, `,_jsx(_components.code,{children:`call_completed`}),`, `,_jsx(_components.code,{children:`recording_completed`}),`) apply to voice agents and `,_jsx(_components.code,{children:`chat_completed`}),` to WhatsApp agents; subscribing to an event the agent’s channel never sends returns `,_jsx(_components.code,{children:`400`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Place one test `,_jsx(_components.a,{href:`/api-reference/calling/individual-calls/initiate-individual-call`,children:`individual call`}),` after a change, before the agent runs a campaign.`]}),`\n`,_jsxs(_components.li,{children:[`Call settings such as the calling window and voicemail handling are changed with `,_jsx(_components.code,{children:`edit_call_config`}),`, or in the dashboard under `,_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/call-settings`,children:`Call settings`}),`.`]}),`\n`]}),`\n`,_jsx(_MdxComponentBoundary,{name:`RelatedTopics`,children:_jsx(RelatedTopics,{items:[[`Webhook payloads`,`/documentation/build-agents/customize-agent-behaviour/webhooks/call-events`]]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{RelatedTopics,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":{"openapi":"patch /agent/v1","description":"Change one setting on an existing agent per request, such as its prompt, voice, knowledge base, inbound number or webhook subscriptions, by operation name.","related":[{"Webhook payloads":"/documentation/build-agents/customize-agent-behaviour/webhooks/call-events"}],"title":"Edit Agent Settings","href":"/api-reference/agents/edit-assistant"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[149,855,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[{"title":"Operations and fields","slug":"operations-and-fields","depth":2,"children":[]},{"title":"Replace or merge","slug":"replace-or-merge","depth":2,"children":[]},{"title":"Webhook subscriptions","slug":"webhook-subscriptions","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/ringgai-0da73d20/45c33e65ef05fabf/hairline.js"],"dynamicCss":".mint-mb-3 {\n margin-bottom: 0.75rem\n}\n.mint-mt-12 {\n margin-top: 3rem\n}\n.mint-flex {\n display: flex\n}\n.mint-flex-col {\n flex-direction: column\n}\n.mint-items-center {\n align-items: center\n}\n.mint-gap-2\\.5 {\n gap: 0.625rem\n}\n.mint-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem\n}\n.mint-font-medium {\n font-weight: 500\n}\n.mint-text-gray-500 {\n --tw-text-opacity: 1;\n color: rgb(107 114 128 / var(--tw-text-opacity, 1))\n}\n.mint-text-gray-700 {\n --tw-text-opacity: 1;\n color: rgb(55 65 81 / var(--tw-text-opacity, 1))\n}\n.hover\\:mint-text-gray-950:hover {\n --tw-text-opacity: 1;\n color: rgb(3 7 18 / var(--tw-text-opacity, 1))\n}\n.dark\\:mint-text-zinc-300:is(.dark *) {\n --tw-text-opacity: 1;\n color: rgb(212 212 216 / var(--tw-text-opacity, 1))\n}\n.dark\\:mint-text-zinc-400:is(.dark *) {\n --tw-text-opacity: 1;\n color: rgb(161 161 170 / var(--tw-text-opacity, 1))\n}\n.dark\\:hover\\:mint-text-white:hover:is(.dark *) {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1))\n}","openApiReferenceData":{"operation":{"tags":["agent"],"summary":"Edit Agent Settings","x-mint":{"metadata":{"og:title":"Edit Assistant | Ringg AI"}},"description":"Change one setting on an existing agent per request, such as its prompt, voice, knowledge base, inbound number or webhook subscriptions, by operation name.","operationId":"editAssistant","requestBody":"749ad099-664c-4341-844d-73f68c775621","responses":{"200":"d70a29a4-cd47-418b-8d54-5a8decbbf157","400":"f9e7b08f-46e4-4dba-8188-063b29eb1db4","401":"837249d4-7f49-4b16-ab61-6b96b39e2542","403":"e1665226-d022-434e-805e-82e0cbc38bf4","404":"d199b7bd-1355-47bc-9b2a-83f7ad46f1d8","422":"c27625ea-9cdb-43d1-a03e-a2c55d89a12c","500":"e1a3d0aa-792f-4453-af55-d30faba1077b"},"method":"patch","type":"path","servers":["4e60091d-90fb-4aa4-8774-bd7b6fd296da"],"security":["8d4782e7-e89d-48a8-81fa-302bad6331cd"],"path":"/agent/v1","baseUrlOptions":["https://prod-api.ringg.ai/ca/api/v0"],"title":"Edit Agent Settings","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["operation","agent_id"],"properties":{"operation":{"type":"string","enum":["attach_inbound_number","remove_inbound_number","attach_kb","remove_kb","edit_custom_vars","edit_voice","edit_prompt","edit_call_config","edit_noise_settings","edit_agent_display_name","edit_intro_message","edit_query_phrases","edit_dtmf_settings","edit_vad_settings","edit_agent_whitelisted_domains","edit_voice_speed","edit_vocab","edit_chat_settings","edit_event_subscriptions"],"example":"edit_agent_display_name","description":"The setting to change. Each operation reads only its own fields; see the field descriptions.","isRequired":true,"uniqueKey":"operation","typeLabel":"enum\u003cstring>"},"agent_id":{"type":"string","example":"00000000-0000-4000-8000-0000000000a1","isRequired":true,"uniqueKey":"agent_id","typeLabel":"string"},"version_id":{"type":"string","description":"(Optional) Agent version to change. Without it, the active version is changed; when an A/B test is live, the most recently updated version. Must belong to the agent, or the request returns 404.","example":"00000000-0000-4000-8000-0000000000d1","uniqueKey":"version_id","typeLabel":"string"},"agent_display_name":{"type":"string","example":"Updated Sales Assistant","description":"Used with `edit_agent_display_name`.","uniqueKey":"agent_display_name","typeLabel":"string"},"language":{"type":"string","enum":["en-US","en-IN","hi-IN","ta-IN","te-IN","kn-IN","mr-IN","gu-IN","ar-AE"],"example":"en-US","description":"Used with `edit_voice`: the voice's language. The voice must support it.","uniqueKey":"language","typeLabel":"enum\u003cstring>"},"voice_id":{"type":"string","example":"3b5c7d2a-8e9f-4a1b-9c6d-2e5f8a7b3c4d","description":"Used with `edit_voice`.","uniqueKey":"voice_id","typeLabel":"string"},"secondary_voice_id":{"type":"string","example":"00000000-0000-4000-8000-000000000102","description":"Used with `edit_voice`: a second voice. Send an empty string to remove it.","uniqueKey":"secondary_voice_id","typeLabel":"string"},"agent_prompt":{"oneOf":[{"type":"string","description":"Used with `edit_prompt`. Replaces the whole prompt: send every section, because a section you leave out is deleted. Variables are written `@{{name}}` or `{{name}}`.","example":"You are a helpful sales assistant.","uniqueKey":"agent_prompt.oneOf.0","typeLabel":"string"},{"type":"object","description":"Used with `edit_prompt`. Replaces the whole prompt: send every section, because a section you leave out is deleted. Variables are written `@{{name}}` or `{{name}}`.","properties":{"prompt_sections":{"type":"array","items":{"type":"object","properties":{"section_title":{"type":"string","uniqueKey":"agent_prompt.oneOf.1.prompt_sections.items.[INDEX].section_title","typeLabel":"string"},"section_content":{"type":"string","uniqueKey":"agent_prompt.oneOf.1.prompt_sections.items.[INDEX].section_content","typeLabel":"string"}},"uniqueKey":"agent_prompt.oneOf.1.prompt_sections.items.[INDEX]","typeLabel":"object"},"uniqueKey":"agent_prompt.oneOf.1.prompt_sections","typeLabel":"object[]"}},"uniqueKey":"agent_prompt.oneOf.1","typeLabel":"object"}],"uniqueKey":"agent_prompt","typeLabel":"string | object"},"custom_variables":{"type":"array","items":{"type":"string","uniqueKey":"custom_variables.items.[INDEX]","typeLabel":"string"},"example":["callee_name","mobile_number","company","lead_source"],"description":"Used with `edit_custom_vars`. Replaces the whole list. An outbound agent must keep `callee_name` and `mobile_number`, or the request returns 403.","uniqueKey":"custom_variables","typeLabel":"string[]"},"number_id":{"type":"string","example":"00000000-0000-4000-8000-000000000109","description":"Used with `attach_inbound_number` and `remove_inbound_number`.","uniqueKey":"number_id","typeLabel":"string"},"kb_id":{"type":"string","example":"7a9c2d5e-4f6b-1a2b-3c4d-5e6f7a8b9c0d","description":"Used with `attach_kb` and `remove_kb`.","uniqueKey":"kb_id","typeLabel":"string"},"whitelisted_domains":{"type":"array","items":{"type":"string","uniqueKey":"whitelisted_domains.items.[INDEX]","typeLabel":"string"},"example":["https://www.ringg.ai","https://example.com"],"description":"Used with `edit_agent_whitelisted_domains`. Replaces the list; it must keep `https://www.ringg.ai`.","uniqueKey":"whitelisted_domains","typeLabel":"string[]"},"voice_speed":{"type":"number","example":1.2,"description":"Used with `edit_voice_speed`.","uniqueKey":"voice_speed","typeLabel":"number"},"chat_settings":{"type":"object","description":"Used with `operation: \"edit_chat_settings\"`. `whatsapp_session` sets how long a WhatsApp agent's chats stay open. Fields you leave out keep their current values.","properties":{"whatsapp_session":{"type":"object","description":"WhatsApp chat session timeouts. Send both fields: one you leave out is reset to its default. The maximum length must be at least the idle timeout. Applies to chats that open after the change.","properties":{"idle_timeout_minutes":{"type":"integer","minimum":5,"maximum":1440,"default":180,"description":"End the chat after this many minutes with no message from the customer.","example":1440,"uniqueKey":"chat_settings.whatsapp_session.idle_timeout_minutes","typeLabel":"integer"},"max_duration_minutes":{"type":"integer","minimum":60,"maximum":10080,"default":1440,"description":"Start a new chat once a chat is this many minutes old.","example":4320,"uniqueKey":"chat_settings.whatsapp_session.max_duration_minutes","typeLabel":"integer"}},"uniqueKey":"chat_settings.whatsapp_session","typeLabel":"object"}},"uniqueKey":"chat_settings","typeLabel":"object"},"event_subscriptions":{"type":"array","description":"Used with `operation: \"edit_event_subscriptions\"`. The agent's complete list of webhook subscriptions. The list you send replaces the existing one, so include every subscription you want to keep.","items":{"type":"object","properties":{"event_type":{"type":"array","description":"Events delivered to this callback URL. An event type can have up to 4 subscriptions on one agent. `call_started`, `call_ringing`, `call_ongoing`, `call_completed` and `recording_completed` apply to voice agents and `chat_completed` to WhatsApp agents; subscribing an agent to an event its channel never sends returns 400.","items":{"type":"string","enum":["call_started","call_ringing","call_ongoing","call_completed","chat_completed","recording_completed","platform_analysis_completed","client_analysis_completed","all_processing_completed"],"uniqueKey":"event_subscriptions.items.[INDEX].event_type.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["all_processing_completed"],"uniqueKey":"event_subscriptions.items.[INDEX].event_type","typeLabel":"enum\u003cstring>[]"},"callback_url":{"type":"string","description":"HTTPS endpoint that receives the events.","example":"https://api.example.com/webhooks/ringg","uniqueKey":"event_subscriptions.items.[INDEX].callback_url","typeLabel":"string"},"method_type":{"type":"string","enum":["GET","POST","PUT","PATCH"],"description":"HTTP method Ringg uses when calling your endpoint.","example":"POST","uniqueKey":"event_subscriptions.items.[INDEX].method_type","typeLabel":"enum\u003cstring>"},"headers":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"event_subscriptions.items.[INDEX].headers.additionalProperties","typeLabel":"string"},"description":"Headers Ringg sends to your endpoint with every event, for example a token your receiver checks.","example":{"Authorization":"Bearer your-webhook-receiver-token"},"uniqueKey":"event_subscriptions.items.[INDEX].headers","typeLabel":"object"}},"uniqueKey":"event_subscriptions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"event_subscriptions","typeLabel":"object[]"},"intro_message":{"type":"string","description":"Used with `edit_intro_message`: the first message. Replaces the current one.","example":"Hello, this is Asha from Acme Lending.","uniqueKey":"intro_message","typeLabel":"string"},"mute_during_intro":{"type":"boolean","description":"Used with `edit_noise_settings` (required there): `true` stops the caller interrupting the first message.","example":false,"uniqueKey":"mute_during_intro","typeLabel":"boolean"},"mute_while_bot_speaking":{"type":"boolean","description":"Used with `edit_noise_settings` (required there): `true` stops the caller interrupting the agent at any time.","example":false,"uniqueKey":"mute_while_bot_speaking","typeLabel":"boolean"},"vocab":{"type":"array","items":{"type":"string","uniqueKey":"vocab.items.[INDEX]","typeLabel":"string"},"description":"Used with `edit_vocab`: words the agent should recognise. Replaces the list; at most 100 words in total.","example":["Acme","EMI"],"uniqueKey":"vocab","typeLabel":"string[]"},"pre_query_response_phrases":{"type":"array","items":{"type":"string","uniqueKey":"pre_query_response_phrases.items.[INDEX]","typeLabel":"string"},"description":"Used with `edit_query_phrases`: phrases the agent may say while it looks something up. Replaces the list.","example":["One moment, let me check."],"uniqueKey":"pre_query_response_phrases","typeLabel":"string[]"},"pre_query_phrase_probability":{"type":"number","minimum":0,"maximum":1,"description":"Used with `edit_query_phrases` (optional): how often a phrase is said, from 0 to 1.","example":0.5,"uniqueKey":"pre_query_phrase_probability","typeLabel":"number"},"vad_settings":{"type":"object","description":"Used with `edit_vad_settings`. Replaces the current settings.","properties":{"interruption_sensitivity":{"type":"string","enum":["default","sensitive","strict"],"example":"default","uniqueKey":"vad_settings.interruption_sensitivity","typeLabel":"enum\u003cstring>"}},"uniqueKey":"vad_settings","typeLabel":"object"},"call_config":{"type":"object","description":"Used with `edit_call_config`. Merged into the agent's call settings: only the keys you send change, and nested objects such as `voicemail` merge key by key. Takes the same keys as `call_config` on Create Agent, such as `call_time`, `max_call_length`, `idle_timeout_warning`, `idle_timeout_end` and `voicemail`. `idle_timeout_warning` must stay below `idle_timeout_end`.","example":{"voicemail":{"detect":true,"action":"end"},"max_call_length":300},"uniqueKey":"call_config","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"operation":"edit_agent_display_name","agent_id":"00000000-0000-4000-8000-0000000000a1","version_id":"00000000-0000-4000-8000-0000000000d1","agent_display_name":"Updated Sales Assistant","language":"en-US","voice_id":"3b5c7d2a-8e9f-4a1b-9c6d-2e5f8a7b3c4d","secondary_voice_id":"00000000-0000-4000-8000-000000000102","agent_prompt":"You are a helpful sales assistant.","custom_variables":["callee_name","mobile_number","company","lead_source"],"number_id":"00000000-0000-4000-8000-000000000109","kb_id":"7a9c2d5e-4f6b-1a2b-3c4d-5e6f7a8b9c0d","whitelisted_domains":["https://www.ringg.ai","https://example.com"],"voice_speed":1.2,"chat_settings":{"whatsapp_session":{"idle_timeout_minutes":1440,"max_duration_minutes":4320}},"event_subscriptions":[{"event_type":["all_processing_completed"],"callback_url":"https://api.example.com/webhooks/ringg","method_type":"POST","headers":{"Authorization":"Bearer your-webhook-receiver-token"}}],"intro_message":"Hello, this is Asha from Acme Lending.","mute_during_intro":false,"mute_while_bot_speaking":false,"vocab":["Acme","EMI"],"pre_query_response_phrases":["One moment, let me check."],"pre_query_phrase_probability":0.5,"vad_settings":{"interruption_sensitivity":"default"},"call_config":{"voicemail":{"detect":true,"action":"end"},"max_call_length":300}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"d70a29a4-cd47-418b-8d54-5a8decbbf157":{"description":"Successful Response: Agent updated successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Agent updated successfully!","uniqueKey":"message","typeLabel":"string"},"agent_id":{"type":"string","example":"00000000-0000-4000-8000-0000000000a1","uniqueKey":"agent_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Agent updated successfully!","agent_id":"00000000-0000-4000-8000-0000000000a1"}}},"exampleType":"generated"}},"exampleType":"generated"},"f9e7b08f-46e4-4dba-8188-063b29eb1db4":{"description":"Bad Request - Invalid parameters or request format.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Selected voice does not support the specified language","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Selected voice does not support the specified language"}}},"exampleType":"generated"}},"exampleType":"generated"},"837249d4-7f49-4b16-ab61-6b96b39e2542":{"description":"Unauthorized - Invalid or missing API key.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Invalid credentials","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Invalid credentials"}}},"exampleType":"generated"}},"exampleType":"generated"},"e1665226-d022-434e-805e-82e0cbc38bf4":{"description":"Forbidden - For example, `edit_custom_vars` without `callee_name` or `mobile_number` on an outbound agent.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"These variables cannot be removed: callee_name, mobile_number","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"These variables cannot be removed: callee_name, mobile_number"}}},"exampleType":"generated"}},"exampleType":"generated"},"d199b7bd-1355-47bc-9b2a-83f7ad46f1d8":{"description":"Not Found - Agent or agent version not found.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Agent not found","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Agent not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"c27625ea-9cdb-43d1-a03e-a2c55d89a12c":{"description":"Validation Error - An unknown operation, or a field missing or of the wrong type for the operation.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"e1a3d0aa-792f-4453-af55-d30faba1077b":{"description":"Internal Server Error - Something went wrong on our end.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Failed to edit agent","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Failed to edit agent"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"8d4782e7-e89d-48a8-81fa-302bad6331cd":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"4e60091d-90fb-4aa4-8774-bd7b6fd296da":{"url":"https://prod-api.ringg.ai/ca/api/v0"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-KEY","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-KEY","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-KEY"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"ringgai-0da73d20","siteName":"Ringg AI","title":"Edit Agent Settings - Ringg AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-13T11:53:26.763Z","originalFileLocation":"api-reference/agents/edit-assistant.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}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=\"Change one setting on an existing agent per request, such as its prompt, voice, knowledge base, inbound number or webhook subscriptions, by operation name.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ringg AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_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/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_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/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_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/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_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/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_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/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_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/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_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/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Edit Agent Settings - Ringg AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Change one setting on an existing agent per request, such as its prompt, voice, knowledge base, inbound number or webhook subscriptions, by operation name.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ringg AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ringg.ai/api-reference/agents/edit-assistant\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ringgai-0da73d20.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Edit+Agent+Settings\u0026amp;description=Change+one+setting+on+an+existing+agent+per+request%2C+such+as+its+prompt%2C+voice%2C+knowledge+base%2C+inbound+number+or+webhook+subscriptions%2C+by+operation+name.\u0026amp;theme=737b8671029ef070100737b1\u0026amp;signature=a8e81678ef5f60bcab68f71fc951de7fd8a12b39ba4c51ffb12e0bae405b8dd8\">\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=\"Edit Agent Settings - Ringg AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Change one setting on an existing agent per request, such as its prompt, voice, knowledge base, inbound number or webhook subscriptions, by operation name.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ringgai-0da73d20.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Edit+Agent+Settings\u0026amp;description=Change+one+setting+on+an+existing+agent+per+request%2C+such+as+its+prompt%2C+voice%2C+knowledge+base%2C+inbound+number+or+webhook+subscriptions%2C+by+operation+name.\u0026amp;theme=737b8671029ef070100737b1\u0026amp;signature=a8e81678ef5f60bcab68f71fc951de7fd8a12b39ba4c51ffb12e0bae405b8dd8\">\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/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ringg AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0A0A0B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ringg.ai/api-reference/agents/edit-assistant\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/agents/edit-assistant.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.ringg.ai/#organization\",\"name\":\"Ringg AI\",\"legalName\":\"Stoic AI Private Limited\",\"url\":\"https://www.ringg.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://assets.ringg.ai/images/logo/logo.svg\"},\"sameAs\":[\"https://x.com/ringg_ai\",\"https://www.linkedin.com/company/ringg\",\"https://www.youtube.com/@RinggAI\",\"https://www.instagram.com/ringg_ai\",\"https://discord.gg/YuEnb8Vsca\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ringg.ai#website\",\"name\":\"Ringg AI\",\"url\":\"https://docs.ringg.ai\",\"publisher\":{\"@id\":\"https://www.ringg.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ringg.ai/api-reference/agents/edit-assistant#webpage\",\"url\":\"https://docs.ringg.ai/api-reference/agents/edit-assistant\",\"name\":\"Edit Agent Settings\",\"description\":\"Change one setting on an existing agent per request, such as its prompt, voice, knowledge base, inbound number or webhook subscriptions, by operation name.\",\"dateModified\":\"2026-10-13T11:53:26.763Z\",\"isPartOf\":{\"@id\":\"https://docs.ringg.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ringg.ai/api-reference/agents/edit-assistant#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ringg.ai/api-reference/agents/edit-assistant#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents\",\"item\":\"https://docs.ringg.ai/api-reference/agents/get-assistants\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Edit Agent Settings\",\"item\":\"https://docs.ringg.ai/api-reference/agents/edit-assistant\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ringg.ai/api-reference/agents/edit-assistant#apireference\",\"headline\":\"Edit Agent Settings\",\"name\":\"Edit Agent Settings\",\"description\":\"Change one setting on an existing agent per request, such as its prompt, voice, knowledge base, inbound number or webhook subscriptions, by operation name.\",\"url\":\"https://docs.ringg.ai/api-reference/agents/edit-assistant\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ringg.ai/api-reference/agents/edit-assistant#webpage\"},\"dateModified\":\"2026-10-13T11:53:26.763Z\",\"publisher\":{\"@id\":\"https://www.ringg.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ringg.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ringg AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Ringg AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/agents/edit-assistant.md","siteName":"Ringg AI","nav":{"global":null,"tabs":[{"tab":"Get started","pages":[{"title":"Get started","href":"/get-started/introduction"}]},{"tab":"Documentation","pages":[{"title":"Documentation","href":"/documentation/introduction"}]},{"tab":"Analytics platform","pages":[{"title":"Analytics platform","href":"/analytics-platform/introduction"}]},{"tab":"API reference","groups":[{"group":"Introduction","icon":"book-open","pages":[{"title":"API quickstart","sidebarTitle":"Quickstart","href":"/api-reference/introduction/quickstart"},{"title":"Authentication","href":"/api-reference/introduction/authentication"},{"title":"API Overview","href":"/api-reference/introduction/api-overview"}]},{"group":"Agents","icon":"bot","pages":[{"openapi":"get /agent/all","title":"List Agents","href":"/api-reference/agents/get-assistants"},{"openapi":"get /agent/{agent_id}","title":"Get Agent","href":"/api-reference/agents/get-assistant-by-id"},{"openapi":"post /public/agent","description":"Create a single-prompt voice agent from a prompt, language, voice and first message, with optional call settings such as calling window and voicemail.","title":"Create Agent","href":"/api-reference/agents/create-agent"},{"openapi":"patch /agent/v1","title":"Edit Agent Settings","href":"/api-reference/agents/edit-assistant"},{"openapi":"get /agent/voices","description":"List the voices you can give an agent, with their supported languages, preview audio and gender, optionally filtered by one or more language codes.","title":"List Voices","href":"/api-reference/agents/get-assistant-voices"}]},{"group":"Inventory","icon":"package","pages":[{"group":"Knowledge bases","expanded":true,"pages":[{"openapi":"post /external/kb","title":"Create Knowledge Base","href":"/api-reference/inventory/knowledge-bases/create-knowledge-base"},{"openapi":"get /external/kb/all","title":"Get All Knowledge Bases","href":"/api-reference/inventory/knowledge-bases/get-all-knowledge-bases"},{"openapi":"get /external/kb/{kb_id}","title":"Get Knowledge Base by ID","href":"/api-reference/inventory/knowledge-bases/get-knowledge-base-by-id"},{"openapi":"patch /external/kb","title":"Edit Knowledge Base","href":"/api-reference/inventory/knowledge-bases/edit-knowledge-base"},{"openapi":"delete /external/kb/{kb_id}","title":"Delete Knowledge Base","href":"/api-reference/inventory/knowledge-bases/delete-knowledge-base"}]},{"group":"Numbers","expanded":true,"pages":[{"openapi":"get /workspace/numbers","title":"Get Workspace Numbers","href":"/api-reference/inventory/numbers/get-workspace-numbers"}]}]},{"group":"Calling","icon":"phone","pages":[{"group":"Individual calls","expanded":true,"pages":[{"openapi":"post /calling/outbound/individual","title":"Initiate Individual Call","href":"/api-reference/calling/individual-calls/initiate-individual-call"},{"openapi":"post /calling/v2/outbound/individual","title":"Initiate Individual Call (Number Pool)","href":"/api-reference/calling/individual-calls/initiate-individual-call-v2"},{"title":"Terminate Calls by Call IDs","sidebarTitle":"Stop calls by ID","api":"PATCH /campaign/terminate","href":"/api-reference/calling/individual-calls/stop-calls-by-id"},{"title":"Terminate Calls by Numbers","sidebarTitle":"Stop calls to numbers","api":"PATCH /campaign/terminate","href":"/api-reference/calling/individual-calls/stop-calls-to-numbers"},{"title":"Terminate All Calls by Agent ID","sidebarTitle":"Stop an agent's calls","api":"PATCH /campaign/terminate","href":"/api-reference/calling/individual-calls/stop-agent-calls"}]},{"group":"Campaigns","expanded":true,"pages":[{"openapi":"post /campaign/save","title":"Upload Campaign Contact List","href":"/api-reference/calling/campaigns/upload-campaign-contact-list"},{"openapi":"post /campaign/start","title":"Start Campaign","href":"/api-reference/calling/campaigns/start-campaign"},{"openapi":"post /campaign/v2/start","title":"Start Campaign (Number Pool)","href":"/api-reference/calling/campaigns/start-campaign-v2"},{"openapi":"get /campaign/all","title":"Get All Campaigns","href":"/api-reference/calling/campaigns/get-all-campaigns"},{"title":"Terminate Calls by Campaign ID","sidebarTitle":"Stop a campaign","api":"PATCH /campaign/terminate","href":"/api-reference/calling/campaigns/stop-campaign"},{"title":"Terminate Calls by Campaign Numbers","sidebarTitle":"Stop numbers in a campaign","api":"PATCH /campaign/terminate","href":"/api-reference/calling/campaigns/stop-campaign-numbers"}]},{"group":"Large campaigns","tag":"BETA","expanded":true,"pages":[{"title":"Upload large campaign CSV (Beta)","openapi":"post /campaign/upload-csv","href":"/api-reference/calling/large-campaigns/upload-large-campaign-csv"},{"title":"Get large campaign upload status (Beta)","openapi":"get /campaign/upload-status/{bulk_list_id}","href":"/api-reference/calling/large-campaigns/get-large-campaign-upload-status"},{"title":"Check large campaign balance (Beta)","openapi":"post /campaign/check-balance/{bulk_list_id}","href":"/api-reference/calling/large-campaigns/check-large-campaign-balance"},{"title":"Make large campaign calls async (Beta)","openapi":"post /campaign/make-call-async","href":"/api-reference/calling/large-campaigns/make-large-campaign-calls-async"}]}]},{"group":"Monitoring","icon":"chart-column","pages":[{"group":"Call history","expanded":true,"pages":[{"openapi":"get /calling/history","title":"Get Call History","href":"/api-reference/monitoring/call-history/get-call-history"},{"openapi":"get /calling/call-details","title":"Get Call Details","href":"/api-reference/monitoring/call-history/get-call-details"},{"openapi":"post /calling/history/download","title":"Download Call History","href":"/api-reference/monitoring/call-history/download-call-history"}]},{"group":"Analytics","tag":"NEW","expanded":true,"pages":[{"openapi":"get /analytics/v4/volume-graph","title":"Get Volume Analytics","href":"/api-reference/monitoring/analytics/get-volume-analytics"},{"openapi":"get /analytics/v4/connectivity","title":"Get Connectivity Analytics","href":"/api-reference/monitoring/analytics/get-connectivity-analytics"},{"openapi":"get /analytics/v4/agent-performance","title":"Get Agent Performance","href":"/api-reference/monitoring/analytics/get-agent-performance"},{"openapi":"get /analytics/v4/latency-trend","title":"Get Latency Trend","href":"/api-reference/monitoring/analytics/get-latency-trend"},{"openapi":"get /analytics/v4/concurrency-trend","title":"Get Concurrency Trend","href":"/api-reference/monitoring/analytics/get-concurrency-trend"},{"openapi":"get /analytics/v4/cohort/dimensions","title":"Get Cohort Dimensions","href":"/api-reference/monitoring/analytics/get-cohort-dimensions"},{"openapi":"get /analytics/v4/cohort/values","title":"Get Cohort Values","href":"/api-reference/monitoring/analytics/get-cohort-values"},{"openapi":"get /analytics/v4/cohort/breakdown","title":"Get Cohort Breakdown","href":"/api-reference/monitoring/analytics/get-cohort-breakdown"},{"openapi":"get /analytics/v4/campaigns","title":"Get Active Campaigns","href":"/api-reference/monitoring/analytics/get-active-campaigns"},{"openapi":"get /analytics/v4/data-freshness","title":"Get Data Freshness","href":"/api-reference/monitoring/analytics/get-data-freshness"},{"openapi":"get /analytics/v4/chat-analytics","title":"Get Chat Analytics","href":"/api-reference/monitoring/analytics/get-chat-analytics"}]}]},{"group":"Account","icon":"settings","pages":[{"openapi":"get /workspace","title":"Get Workspace Info","href":"/api-reference/account/get-workspace-info"},{"openapi":"get /workspace/users","title":"List Workspace Users","href":"/api-reference/account/list-workspace-users"},{"openapi":"get /workspace/all","title":"Get All User Workspaces","href":"/api-reference/account/get-all-user-workspaces"},{"group":"Ringg Spaces","expanded":true,"pages":[{"openapi":"post /workspace/sub","title":"Create Ringg Space","href":"/api-reference/account/ringg-spaces/create-sub-workspace"},{"openapi":"get /workspace/sub","title":"Get Ringg Spaces","href":"/api-reference/account/ringg-spaces/get-sub-workspaces"},{"openapi":"get /workspace/sub/members","title":"List Family Members","href":"/api-reference/account/ringg-spaces/list-family-members"},{"openapi":"patch /workspace/sub/{sub_workspace_id}/concurrency","title":"Allocate Concurrency to a Ringg Space","href":"/api-reference/account/ringg-spaces/allocate-concurrency"},{"openapi":"patch /workspace/sub/credit-limits","title":"Reallocate Credit Limits","href":"/api-reference/account/ringg-spaces/reallocate-credit-limits"},{"openapi":"patch /workspace/sub/credit-balances","title":"Reallocate Credit Balances","href":"/api-reference/account/ringg-spaces/reallocate-credit-balances"}]}]}]},{"tab":"Resources","menu":[{"item":"MCP server","description":"Let Claude, ChatGPT or Cursor work in your workspace, or search these docs","pages":[{"title":"MCP server","href":"/resources/mcp-server/docs-mcp-server/mcp-for-ai-assistants"}]},{"item":"Learn","description":"Lessons that build a payment-reminder system end to end","pages":[{"title":"Learn","href":"/resources/learn/all-lessons"}]},{"item":"Security","description":"How Ringg protects your data, and what to do on your side","pages":[{"title":"Security","href":"/resources/security/security"}]},{"item":"Changelog","description":"New features, API changes and new guides","pages":[{"title":"Changelog","href":"/resources/changelog/changelog"}]}],"pages":[{"title":"Resources","href":"/resources/mcp-server/docs-mcp-server/mcp-for-ai-assistants"}]}]},"basePath":"","title":"Edit Agent Settings - Ringg AI","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"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","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}