The alias of the environment to operate on (e.g. main).
Query Parameters
projectID
string
required
The ID of the project to operate on.
Body
application/json
name
string
Response
200 - application/json
Confirms the environment was updated. The body carries a message, not the environment, so fetch it again to see the change alongside its releases and traffic percentage.
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Voiceflow Documentation","description":"Build, launch, and scale AI agents for every customer channel — all in one platform.","colors":{"primary":"#2F68DB","light":"#2F68DB","dark":"#397DFF"},"logo":{"light":"https://mintcdn.com/voiceflow-009a8802/1vhxJ0GVX_3qkVnB/logo/Wordmark_dark.svg?fit=max\u0026auto=format\u0026n=1vhxJ0GVX_3qkVnB\u0026q=85\u0026s=8e412b15780e514697534faf70db3b75","dark":"https://mintcdn.com/voiceflow-009a8802/1vhxJ0GVX_3qkVnB/logo/Wordmark_white.svg?fit=max\u0026auto=format\u0026n=1vhxJ0GVX_3qkVnB\u0026q=85\u0026s=64dc7a2e2414fe24e295e621410522b6"},"favicon":"https://mintcdn.com/voiceflow-009a8802/sQXqOXyzFR_wI2F3/images/Favicon_docs.png?fit=max\u0026auto=format\u0026n=sQXqOXyzFR_wI2F3\u0026q=85\u0026s=298e6fedd127e2473e6e15760152d714","api":{"playground":{"display":"simple"},"examples":{"languages":["bash"]}},"appearance":{"default":"light","strict":false},"background":{"color":{"light":"#fff","dark":"#1a1a1a"}},"navbar":{"links":[{"href":"mailto:support@voiceflow.com","label":"Contact support"}],"primary":{"type":"button","label":"Contact Sales","href":"http://voiceflow.com/demo"}},"seo":{"metatags":{"google-site-verification":"pO8mAeCAchjNMVkVWA5Phbe28KLPtVr58r6_kS67hKw"},"indexing":"navigable"},"fonts":{"family":"Inter","weight":400,"format":"woff"},"icons":{"library":"tabler"},"styling":{"eyebrows":"breadcrumbs","latex":false},"integrations":{"ga4":{"measurementId":"G-F0KHK5CXY4"}},"errors":{"404":{"redirect":false,"title":"Page not found","description":"Our agents searched high and low but couldn't find the page you are looking for. They're upset, but they let our team know so we can fix this. Maybe one of these pages might help?"}},"contextual":{"options":["copy","view","mcp","cursor","vscode"],"display":"header"},"thumbnails":{"appearance":"light","background":"https://mintcdn.com/voiceflow-009a8802/s3P1FU2SwfLb9qjL/images/thumbnailbackground.png?fit=max\u0026auto=format\u0026n=s3P1FU2SwfLb9qjL\u0026q=85\u0026s=003e0527a5f16c776493da4d4fe1ca2c"},"interaction":{"drilldown":true},"metadata":{"timestamp":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"voiceflow-009a8802","hasAudioNarration":false,"actualSubdomain":"voiceflow-009a8802","customDomains":["www.voiceflow.com"],"gitSource":{"type":"github","owner":"voiceflow","repo":"docs-v2","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"DISABLED"},"CONTEXTUAL_FEEDBACK":{"status":"DISABLED","enabled":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"DISABLED","enabled":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aa88745521a1150ec8831d0","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"APIs","count":177},{"language":"default","tag":"CLI","count":156},{"language":"default","tag":"Command reference","count":153},{"language":"default","tag":"Build","count":119},{"language":"default","tag":"Documentation","count":75},{"language":"default","tag":"Agent","count":29},{"language":"default","tag":"Analytics","count":27},{"language":"default","tag":"analytics","count":27},{"language":"default","tag":"Analytics query","count":25},{"language":"default","tag":"QA","count":24}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":true,"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":"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":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".root{--tw-prose-body: #37413F;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151}:root{--font-weight-body-custom: inherit}.prose strong,#content-container strong{font-weight:600!important}.sidebar-group-header{font-weight:600!important}.prose thead th{font-weight:600!important}.font-semibold{font-weight:600!important}.nav-tabs-item{font-weight:500!important}.max-w-xl{max-width:48rem!important}.sidebar-title{font-weight:600!important}.prose code{font-weight:500!important}.prose pre code{font-weight:400!important}video.mint-w-full{border-radius:8px}.param-head .text-primary{font-weight:700}.primitive-param-field>div{padding-top:1em;padding-bottom:1em}.primitive-param-field>div div{margin-top:0}.primitive-param-field [data-component-part=\"field-name\"]{font-size:1.1em}#api-playground-2-operation-page>div>div>div>div{border:none}@media (min-width: 1600px){body:has(#api-playground-2-operation-page) #content-side-layout{width:36rem!important;max-width:36rem!important}body:has(#api-playground-2-operation-page) #content-side-layout>div.grid{width:36rem!important;max-width:36rem!important}}#header div:has(>h1){flex-direction:column;align-items:flex-start}#header div:has(>h1)>div{margin-left:0}#header>div:first-child #page-context-menu{display:none!important}#header{display:flex;flex-direction:column;padding-bottom:1.25rem;border-bottom:1px solid #e5e7eb}#header>#page-context-menu{display:flex!important;order:-1;margin-bottom:1.75rem}html.dark #header{border-bottom-color:#374151}@media (max-width: 480px){#header>#page-context-menu>*{white-space:nowrap}.vf-ask-ai-label{display:none}.vf-ask-ai-main{padding-left:0.625rem;padding-right:0.625rem}}#sidebar-content ul.sidebar-group:has(+div),#sidebar-content .nav-anchors+div:has(>.sidebar-group-header){padding-bottom:1.25rem;border-bottom:1px solid #e5e7eb}html.dark #sidebar-content ul.sidebar-group:has(+div),html.dark #sidebar-content .nav-anchors+div:has(>.sidebar-group-header){border-bottom-color:#374151}#vf-ask-ai{position:relative;margin-right:0.5rem}.vf-ask-ai-main,.vf-ask-ai-toggle{background:#d97757;border-color:#d97757;color:#fff}.vf-ask-ai-main:hover,.vf-ask-ai-toggle:hover{background:#c8663f;border-color:#c8663f}.vf-ask-ai-toggle{border-left:1px solid rgb(255 255 255 / 25%)}.vf-mark-chatgpt{color:#000}.vf-mark-claude{color:#d97757}.vf-mark-perplexity{color:#20808d}html.dark .vf-mark-chatgpt{color:#fff}html.dark .vf-mark-perplexity{color:#20b8c8}.vf-ask-ai-mark svg{width:16px;height:16px;display:block}.vf-ask-ai-panel{position:absolute;top:calc(100% + 6px);left:0;z-index:40;min-width:190px;padding:4px;border-radius:12px;border:1px solid #e5e7eb;background:#fff;box-shadow:0 8px 24px rgb(17 24 39 / 8%)}.vf-ask-ai-panel a{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:8px;font-size:0.875rem;color:#374151;text-decoration:none}.vf-ask-ai-panel a:hover{background:rgb(47 104 219 / 8%);color:#2f68db}html.dark .vf-ask-ai-panel{border-color:rgb(255 255 255 / 7%);background:#0f1117;box-shadow:0 8px 24px rgb(0 0 0 / 40%)}html.dark .vf-ask-ai-panel a{color:#d1d5db}html.dark .vf-ask-ai-panel a:hover{background:rgb(57 125 255 / 12%);color:#397dff}"}]}
{"page":{"pagePath":"api-reference/environment/update-environment","slug":"/api-reference/environment/update-environment","pageMetadata":{"title":"Update environment","description":"Changes an existing environment in place. The response carries only a confirmation message, so refetch the environment to read its new values.","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/environment/{environmentAlias}","href":"/api-reference/environment/update-environment","autogeneratedByOpenApi":true},"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: \"Changes an existing environment in place. The response carries only a confirmation message, so refetch the environment to read its new values.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update environment","description":"Changes an existing environment in place. The response carries only a confirmation message, so refetch the environment to read its new values.","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/environment/{environmentAlias}","href":"/api-reference/environment/update-environment","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/voiceflow-009a8802/a422365db5c10246/Voiceflow.js","/docs/_mintlify/custom/voiceflow-009a8802/e041c7a6060d1797/ask-ai.js"],"openApiReferenceData":{"operation":{"operationId":"StableEnvironmentController_update","x-vf":{"mcp":{"tool":"voiceflow_environment","toolDescription":"Manage the versioned copies of a Project — every Project starts with one Main environment and can have up to nine more, each with its own draft + live version. Environments are how Voiceflow ships changes: publish promotes a draft to live within one environment, merge promotes one environment into Main, and traffic-split routes live traffic across them.\nPredecessor: select the project first.\nSuccessor: run a test conversation after a clone, or publish to ship the draft.","operation":"update","operationDescription":"WHAT — Rename an environment.\nUSE WHEN — Cleaning up environment names after cloning, or rebranding an environment (e.g. \"experimental\" → \"staging\")."},"cli":{"command":"environment update"}},"x-speakeasy-group":"environment","x-speakeasy-name-override":"update","summary":"Update environment","description":"Changes an existing environment in place. The response carries only a confirmation message, so refetch the environment to read its new values.","parameters":["11395319-9717-43f7-b678-7ed4b09763fb","01aaecd3-a837-441a-ba4b-9e893332da5f"],"requestBody":"17342ec0-85b4-4fbb-9d61-5416ef6d0c7b","responses":{"200":"8bd808e2-6205-423d-95b7-5bfb34a10ca8"},"tags":["Environment"],"security":["d2157d47-e6b2-4871-a67a-86b632214390"],"x-vf-doc":{"description":"Changes an existing environment in place. The response carries only a confirmation message, so refetch the environment to read its new values."},"method":"patch","type":"path","servers":["bef91f36-6330-4813-ace2-8f59c2e8845a"],"path":"/v1/stable/environment/{environmentAlias}","baseUrlOptions":["https://realtime-api.voiceflow.com"],"title":"Update environment","codeSamples":[],"requestExampleLanguages":["bash"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"11395319-9717-43f7-b678-7ed4b09763fb":{"name":"environmentAlias","required":true,"in":"path","schema":{"type":"string","isRequired":true,"description":"The alias of the environment to operate on (e.g. `main`).","uniqueKey":"","typeLabel":"string"},"x-vf-doc":{"description":"The alias of the environment to operate on (e.g. `main`)."},"description":"The alias of the environment to operate on (e.g. `main`)."},"01aaecd3-a837-441a-ba4b-9e893332da5f":{"name":"projectID","required":true,"in":"query","schema":{"type":"string","description":"The ID of the project to operate on.","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"name","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"8bd808e2-6205-423d-95b7-5bfb34a10ca8":{"description":"Confirms the environment was updated. The body carries a message, not the environment, so fetch it again to see the change alongside its releases and traffic percentage.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A human-readable message confirming the update.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"x-vf-doc":{"description":"Confirms the environment was updated. The body carries a message, not the environment, so fetch it again to see the change alongside its releases and traffic percentage."},"exampleType":"generated"}},"security":{"d2157d47-e6b2-4871-a67a-86b632214390":{"token":{"scheme":"bearer","bearerFormat":"JWT","type":"http","description":"Voiceflow bearer token","scopes":[]}}},"servers":{"bef91f36-6330-4813-ace2-8f59c2e8845a":{"url":"https://realtime-api.voiceflow.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","bearerFormat":"JWT","type":"http","description":"Voiceflow bearer token","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Voiceflow bearer token","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"token","name":"Authorization"}],"title":"token"}]},"originalFileLocation":"specs-prettified/realtime/openapi.stable.json"},"subdomain":"voiceflow-009a8802","siteName":"Voiceflow Documentation","title":"Update environment - Voiceflow Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-11T15:38:59.619Z","originalFileLocation":"api-reference/environment/update-environment.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=\"light\"}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=\"Changes an existing environment in place. The response carries only a confirmation message, so refetch the environment to read its new values.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Voiceflow Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_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=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update environment - Voiceflow Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Changes an existing environment in place. The response carries only a confirmation message, so refetch the environment to read its new values.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Voiceflow Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.voiceflow.com/docs/api-reference/environment/update-environment\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://voiceflow-009a8802.mintlify.site/docs/_mintlify/api/og/v2?division=Environment\u0026amp;title=Update+environment\u0026amp;description=Changes+an+existing+environment+in+place.+The+response+carries+only+a+confirmation+message%2C+so+refetch+the+environment+to+read+its+new+values.\u0026amp;theme=cf68d707af81f256335be7f3\u0026amp;signature=53bd3e0243dafb76bea05245d94a49ee9447cce1c1e35be6dfa51dee27f6b1c6\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update environment - Voiceflow Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Changes an existing environment in place. The response carries only a confirmation message, so refetch the environment to read its new values.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://voiceflow-009a8802.mintlify.site/docs/_mintlify/api/og/v2?division=Environment\u0026amp;title=Update+environment\u0026amp;description=Changes+an+existing+environment+in+place.+The+response+carries+only+a+confirmation+message%2C+so+refetch+the+environment+to+read+its+new+values.\u0026amp;theme=cf68d707af81f256335be7f3\u0026amp;signature=53bd3e0243dafb76bea05245d94a49ee9447cce1c1e35be6dfa51dee27f6b1c6\">\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=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Voiceflow Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2F68DB\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"pO8mAeCAchjNMVkVWA5Phbe28KLPtVr58r6_kS67hKw\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.voiceflow.com/docs/api-reference/environment/update-environment\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/environment/update-environment.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.voiceflow.com/#organization\",\"name\":\"Voiceflow Documentation\",\"url\":\"https://www.voiceflow.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/voiceflow-009a8802/1vhxJ0GVX_3qkVnB/logo/Wordmark_dark.svg?fit=max\u0026auto=format\u0026n=1vhxJ0GVX_3qkVnB\u0026q=85\u0026s=8e412b15780e514697534faf70db3b75\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.voiceflow.com/docs#website\",\"name\":\"Voiceflow Documentation\",\"url\":\"https://www.voiceflow.com/docs\",\"publisher\":{\"@id\":\"https://www.voiceflow.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.voiceflow.com/docs/api-reference/environment/update-environment#webpage\",\"url\":\"https://www.voiceflow.com/docs/api-reference/environment/update-environment\",\"name\":\"Update environment\",\"description\":\"Changes an existing environment in place. The response carries only a confirmation message, so refetch the environment to read its new values.\",\"dateModified\":\"2026-09-11T15:38:59.619Z\",\"isPartOf\":{\"@id\":\"https://www.voiceflow.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.voiceflow.com/docs/api-reference/environment/update-environment#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.voiceflow.com/docs/api-reference/environment/update-environment#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Publishing\",\"item\":\"https://www.voiceflow.com/docs/api-reference/sections/publishing\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Environment\",\"item\":\"https://www.voiceflow.com/docs/api-reference/environment/list-environments\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update environment\",\"item\":\"https://www.voiceflow.com/docs/api-reference/environment/update-environment\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.voiceflow.com/docs/api-reference/environment/update-environment#apireference\",\"headline\":\"Update environment\",\"name\":\"Update environment\",\"description\":\"Changes an existing environment in place. The response carries only a confirmation message, so refetch the environment to read its new values.\",\"url\":\"https://www.voiceflow.com/docs/api-reference/environment/update-environment\",\"mainEntityOfPage\":{\"@id\":\"https://www.voiceflow.com/docs/api-reference/environment/update-environment#webpage\"},\"dateModified\":\"2026-09-11T15:38:59.619Z\",\"publisher\":{\"@id\":\"https://www.voiceflow.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.voiceflow.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Voiceflow Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Voiceflow Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/environment/update-environment.md","siteName":"Voiceflow Documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/documentation/introduction"}]},{"tab":"Tutorials","pages":[{"title":"Tutorials","href":"/courses/home"}]},{"tab":"APIs","pages":[{"group":"Getting started","pages":[{"title":"What the REST API covers","sidebarTitle":"Overview","href":"/api-reference/api-overview"},{"title":"Your first API request","sidebarTitle":"Quickstart","href":"/api-reference/quickstart"},{"title":"Personal access tokens","sidebarTitle":"Authentication","href":"/api-reference/authentication"},{"title":"Runnable API recipes","sidebarTitle":"Cookbook","href":"/cookbook/overview"}]},{"group":"Running agents","pages":[{"title":"Running agents overview","sidebarTitle":"Overview","href":"/api-reference/sections/running-agents"},{"title":"Traces","href":"/api-reference/trace-types"},{"title":"Run your first conversation turn","sidebarTitle":"Run a conversation turn","href":"/cookbook/first-conversation-turn"},{"title":"Stream a response token by token","sidebarTitle":"Stream a response","href":"/cookbook/stream-a-response"},{"title":"WebSocket","sidebarTitle":"WebSocket","href":"/api-reference/conversations-api/interact-socket"},{"group":"Conversation","pages":[{"title":"Send","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json put /v1/stable/conversation/{userID}","href":"/api-reference/conversation/send"}]},{"group":"Conversation state","pages":[{"title":"Get state","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/conversation-state/{userID}","href":"/api-reference/conversation-state/get-state"},{"title":"Update state","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/conversation-state/{userID}","href":"/api-reference/conversation-state/update-state"},{"title":"Delete state","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/conversation-state/{userID}","href":"/api-reference/conversation-state/delete-state"},{"title":"Update variables","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/conversation-state/{userID}/variables","href":"/api-reference/conversation-state/update-variables"}]},{"group":"Knowledge base query","pages":[{"title":"Query knowledge base","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/knowledge-base/query","href":"/api-reference/knowledge-base/query-knowledge-base"}]}]},{"group":"Build","pages":[{"title":"Build overview","sidebarTitle":"Overview","href":"/api-reference/sections/build"},{"title":"Create and edit a playbook","sidebarTitle":"Create a playbook","href":"/cookbook/create-a-playbook"},{"group":"Agent","pages":[{"title":"Get agent","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/agent","href":"/api-reference/agent/get-agent"},{"title":"Update agent","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/agent","href":"/api-reference/agent/update-agent"}]},{"group":"Playbook","pages":[{"title":"List playbooks","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/playbook","href":"/api-reference/playbook/list-playbooks"},{"title":"Create playbook","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/playbook","href":"/api-reference/playbook/create-playbook"},{"title":"Create many playbooks","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/playbook/batch","href":"/api-reference/playbook/create-many-playbooks"},{"title":"Get playbook","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/playbook/{playbookID}","href":"/api-reference/playbook/get-playbook"},{"title":"Update playbook","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/playbook/{playbookID}","href":"/api-reference/playbook/update-playbook"},{"title":"Delete playbook","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/playbook/{playbookID}","href":"/api-reference/playbook/delete-playbook"}]},{"group":"Function","pages":[{"title":"List functions","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/function","href":"/api-reference/function/list-functions"},{"title":"Create function","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/function","href":"/api-reference/function/create-function"},{"title":"Create many functions","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/function/batch","href":"/api-reference/function/create-many-functions"},{"title":"Get function","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/function/{functionID}","href":"/api-reference/function/get-function"},{"title":"Update function","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/function/{functionID}","href":"/api-reference/function/update-function"},{"title":"Delete function","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/function/{functionID}","href":"/api-reference/function/delete-function"}]},{"group":"Function path","pages":[{"title":"List paths","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/function-path","href":"/api-reference/function-path/list-paths"},{"title":"Create path","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/function-path","href":"/api-reference/function-path/create-path"},{"title":"Create many paths","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/function-path/batch","href":"/api-reference/function-path/create-many-paths"},{"title":"Get path","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/function-path/{pathID}","href":"/api-reference/function-path/get-path"},{"title":"Update path","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/function-path/{pathID}","href":"/api-reference/function-path/update-path"},{"title":"Delete path","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/function-path/{pathID}","href":"/api-reference/function-path/delete-path"}]},{"group":"Function variable","pages":[{"title":"List variables","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/function-variable","href":"/api-reference/function-variable/list-variables"},{"title":"Create variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/function-variable","href":"/api-reference/function-variable/create-variable"},{"title":"Create many variables","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/function-variable/batch","href":"/api-reference/function-variable/create-many-variables"},{"title":"Get variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/function-variable/{variableID}","href":"/api-reference/function-variable/get-variable"},{"title":"Update variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/function-variable/{variableID}","href":"/api-reference/function-variable/update-variable"},{"title":"Delete variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/function-variable/{variableID}","href":"/api-reference/function-variable/delete-variable"}]},{"group":"Tool","pages":[{"title":"List tools","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/tool","href":"/api-reference/tool/list-tools"},{"title":"Create tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/tool","href":"/api-reference/tool/create-tool"},{"title":"Create many tools","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/tool/batch","href":"/api-reference/tool/create-many-tools"},{"title":"Get tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/tool/{toolID}","href":"/api-reference/tool/get-tool"},{"title":"Update tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/tool/{toolID}","href":"/api-reference/tool/update-tool"},{"title":"Delete tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/tool/{toolID}","href":"/api-reference/tool/delete-tool"}]},{"group":"API tool","pages":[{"title":"List API tools","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/api-tool","href":"/api-reference/api-tool/list-api-tools"},{"title":"Create API tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/api-tool","href":"/api-reference/api-tool/create-api-tool"},{"title":"Create many API tools","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/api-tool/batch","href":"/api-reference/api-tool/create-many-api-tools"},{"title":"Get API tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/api-tool/{toolID}","href":"/api-reference/api-tool/get-api-tool"},{"title":"Update API tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/api-tool/{toolID}","href":"/api-reference/api-tool/update-api-tool"},{"title":"Delete API tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/api-tool/{toolID}","href":"/api-reference/api-tool/delete-api-tool"}]},{"group":"API tool variable","pages":[{"title":"List variables","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/api-tool-variable","href":"/api-reference/api-tool-variable/list-variables"},{"title":"Create variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/api-tool-variable","href":"/api-reference/api-tool-variable/create-variable"},{"title":"Create many variables","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/api-tool-variable/batch","href":"/api-reference/api-tool-variable/create-many-variables"},{"title":"Get variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/api-tool-variable/{variableID}","href":"/api-reference/api-tool-variable/get-variable"},{"title":"Update variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/api-tool-variable/{variableID}","href":"/api-reference/api-tool-variable/update-variable"},{"title":"Delete variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/api-tool-variable/{variableID}","href":"/api-reference/api-tool-variable/delete-variable"}]},{"group":"Variable","pages":[{"title":"List variables","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/variable","href":"/api-reference/variable/list-variables"},{"title":"Create variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/variable","href":"/api-reference/variable/create-variable"},{"title":"Create many variables","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/variable/batch","href":"/api-reference/variable/create-many-variables"},{"title":"Get variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/variable/{variableID}","href":"/api-reference/variable/get-variable"},{"title":"Update variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/variable/{variableID}","href":"/api-reference/variable/update-variable"},{"title":"Delete variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/variable/{variableID}","href":"/api-reference/variable/delete-variable"}]},{"group":"MCP server","pages":[{"title":"List MCP servers","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/mcp-server","href":"/api-reference/mcp-server/list-mcp-servers"},{"title":"Create MCP server","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/mcp-server","href":"/api-reference/mcp-server/create-mcp-server"},{"title":"Get MCP server","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/mcp-server/{serverID}","href":"/api-reference/mcp-server/get-mcp-server"},{"title":"Update MCP server","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/mcp-server/{serverID}","href":"/api-reference/mcp-server/update-mcp-server"},{"title":"Delete MCP server","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/mcp-server/{serverID}","href":"/api-reference/mcp-server/delete-mcp-server"},{"title":"Sync MCP server","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json put /v1/stable/mcp-server/{serverID}/sync","href":"/api-reference/mcp-server/sync-mcp-server"}]},{"group":"MCP tool","pages":[{"title":"List MCP tools","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/mcp-tool","href":"/api-reference/mcp-tool/list-mcp-tools"},{"title":"Get MCP tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/mcp-tool/{toolID}","href":"/api-reference/mcp-tool/get-mcp-tool"}]},{"group":"Knowledge base document","pages":[{"title":"List documents","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/document","href":"/api-reference/document/list-documents"},{"title":"Create URL document","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/document/url","href":"/api-reference/document/create-url-document"},{"title":"Create text document","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/document/text","href":"/api-reference/document/create-text-document"},{"title":"Create table document","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/document/table","href":"/api-reference/document/create-table-document"},{"title":"Get document","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/document/{documentID}","href":"/api-reference/document/get-document"},{"title":"Update document","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/document/{documentID}","href":"/api-reference/document/update-document"},{"title":"Delete document","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/document/{documentID}","href":"/api-reference/document/delete-document"}]}]},{"group":"Manage","pages":[{"title":"Manage overview","sidebarTitle":"Overview","href":"/api-reference/sections/manage"},{"title":"Find your project and environment","sidebarTitle":"Find your project","href":"/cookbook/find-your-project"},{"group":"Project","pages":[{"title":"List projects","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/project","href":"/api-reference/project/list-projects"},{"title":"Create project","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/project","href":"/api-reference/project/create-project"},{"title":"Get project","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/project/{projectID}","href":"/api-reference/project/get-project"},{"title":"Update project","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/project/{projectID}","href":"/api-reference/project/update-project"},{"title":"Delete project","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/project/{projectID}","href":"/api-reference/project/delete-project"}]},{"group":"Workspace","pages":[{"title":"List workspaces","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/workspace","href":"/api-reference/workspace/list-workspaces"},{"title":"Create workspace","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/workspace","href":"/api-reference/workspace/create-workspace"},{"title":"Get workspace","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/workspace/{workspaceID}","href":"/api-reference/workspace/get-workspace"},{"title":"Update workspace","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/workspace/{workspaceID}","href":"/api-reference/workspace/update-workspace"},{"title":"Delete workspace","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/workspace/{workspaceID}","href":"/api-reference/workspace/delete-workspace"}]}]},{"group":"Publishing","pages":[{"title":"Publishing overview","sidebarTitle":"Overview","href":"/api-reference/sections/publishing"},{"title":"Clone an environment and publish","sidebarTitle":"Clone and publish","href":"/cookbook/clone-and-publish"},{"group":"Environment","pages":[{"title":"List environments","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/environment","href":"/api-reference/environment/list-environments"},{"title":"Merge environments","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json put /v1/stable/environment/merge","href":"/api-reference/environment/merge-environments"},{"title":"Update traffic split","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json put /v1/stable/environment/update-traffic-split","href":"/api-reference/environment/update-traffic-split"},{"title":"Get environment","description":"Returns a single environment by ID, with the fields that define it. An environment is one draft-and-published copy of the agent.","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/environment/{environmentAlias}","href":"/api-reference/environment/get-environment"},{"title":"Update environment","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/environment/{environmentAlias}","href":"/api-reference/environment/update-environment"},{"title":"Delete environment","description":"Deletes a single environment by ID. An environment is one draft-and-published copy of the agent. The response carries only a confirmation message, so refetch the environments to see what is left.","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/environment/{environmentAlias}","href":"/api-reference/environment/delete-environment"},{"title":"Export environment","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/environment/{environmentAlias}/export","href":"/api-reference/environment/export-environment"},{"title":"Compile environment","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json put /v1/stable/environment/{environmentAlias}/compile","href":"/api-reference/environment/compile-environment"},{"title":"Clone environment","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/environment/{environmentAlias}/clone","href":"/api-reference/environment/clone-environment"},{"title":"Publish environment","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/environment/{environmentAlias}/publish","href":"/api-reference/environment/publish-environment"}]}]},{"group":"Observe","pages":[{"title":"Observe overview","sidebarTitle":"Overview","href":"/api-reference/sections/observe"},{"title":"Find and label a transcript","sidebarTitle":"Find a conversation","href":"/cookbook/find-a-conversation"},{"group":"Transcript","pages":[{"title":"Search transcripts","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/transcript/search","href":"/api-reference/transcript/search-transcripts"},{"title":"Get transcript","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/transcript/{transcriptID}","href":"/api-reference/transcript/get-transcript"}]},{"group":"Transcript property","pages":[{"title":"List properties","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/transcript-property","href":"/api-reference/transcript-property/list-properties"},{"title":"Create property","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/transcript-property","href":"/api-reference/transcript-property/create-property"},{"title":"Get property","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/transcript-property/{propertyID}","href":"/api-reference/transcript-property/get-property"},{"title":"Update property","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/transcript-property/{propertyID}","href":"/api-reference/transcript-property/update-property"},{"title":"Delete property","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/transcript-property/{propertyID}","href":"/api-reference/transcript-property/delete-property"},{"title":"Set property value","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json put /v1/stable/transcript-property/{propertyID}/value","href":"/api-reference/transcript-property/set-property-value"}]}]},{"group":"Insights","pages":[{"title":"Insights overview","sidebarTitle":"Overview","href":"/api-reference/sections/insights"},{"title":"Score a conversation","sidebarTitle":"Score a conversation","href":"/cookbook/score-a-conversation"},{"group":"Evaluation","pages":[{"title":"List evaluations","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/evaluation","href":"/api-reference/evaluation/list-evaluations"},{"title":"Create evaluation","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/evaluation","href":"/api-reference/evaluation/create-evaluation"},{"title":"Get evaluation","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/evaluation/{evaluationID}","href":"/api-reference/evaluation/get-evaluation"},{"title":"Update evaluation","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/evaluation/{evaluationID}","href":"/api-reference/evaluation/update-evaluation"},{"title":"Delete evaluation","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/evaluation/{evaluationID}","href":"/api-reference/evaluation/delete-evaluation"},{"title":"Run evaluation","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/evaluation/{evaluationID}/run","href":"/api-reference/evaluation/run-evaluation"}]}]},{"group":"QA","pages":[{"title":"QA overview","sidebarTitle":"Overview","href":"/api-reference/sections/qa"},{"title":"Build a regression test","sidebarTitle":"Build a regression test","href":"/cookbook/test-a-conversation-flow"},{"group":"Test","pages":[{"title":"List tests","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/test","href":"/api-reference/test/list-tests"},{"title":"Create test","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test","href":"/api-reference/test/create-test"},{"title":"Create many tests","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test/batch","href":"/api-reference/test/create-many-tests"},{"title":"Get test","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/test/{testID}","href":"/api-reference/test/get-test"},{"title":"Update test","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/test/{testID}","href":"/api-reference/test/update-test"},{"title":"Delete test","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/test/{testID}","href":"/api-reference/test/delete-test"}]},{"group":"Test turn","pages":[{"title":"List turns","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/test-turn","href":"/api-reference/test-turn/list-turns"},{"title":"Create turn","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-turn","href":"/api-reference/test-turn/create-turn"},{"title":"Create many turns","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-turn/batch","href":"/api-reference/test-turn/create-many-turns"},{"title":"Get turn","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/test-turn/{turnID}","href":"/api-reference/test-turn/get-turn"},{"title":"Update turn","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/test-turn/{turnID}","href":"/api-reference/test-turn/update-turn"},{"title":"Delete turn","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/test-turn/{turnID}","href":"/api-reference/test-turn/delete-turn"}]},{"group":"Test check","pages":[{"title":"List checks","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/test-check","href":"/api-reference/test-check/list-checks"},{"title":"Create check","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-check","href":"/api-reference/test-check/create-check"},{"title":"Create many checks","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-check/batch","href":"/api-reference/test-check/create-many-checks"},{"title":"Get check","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/test-check/{checkID}","href":"/api-reference/test-check/get-check"},{"title":"Update check","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/test-check/{checkID}","href":"/api-reference/test-check/update-check"},{"title":"Delete check","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/test-check/{checkID}","href":"/api-reference/test-check/delete-check"}]},{"group":"Test run","pages":[{"title":"Search runs","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-run/search","href":"/api-reference/test-run/search-runs"},{"title":"Create run","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-run","href":"/api-reference/test-run/create-run"},{"title":"Create many runs","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-run/batch","href":"/api-reference/test-run/create-many-runs"},{"title":"Get run","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/test-run/{runID}","href":"/api-reference/test-run/get-run"}]}]},{"group":"Analytics","pages":[{"title":"Analytics overview","sidebarTitle":"Overview","href":"/api-reference/sections/analytics"},{"title":"Query token usage and calls","sidebarTitle":"Query token usage","href":"/cookbook/query-token-usage"},{"group":"Analytics query","pages":[{"title":"Query call count","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/call-count/project/{projectID}","href":"/api-reference/analytics/query-call-count"},{"title":"Query call duration","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/call-duration/project/{projectID}","href":"/api-reference/analytics/query-call-duration"},{"title":"Query workspace transcript count","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/transcript-count/workspace/{workspaceID}","href":"/api-reference/analytics/query-workspace-transcript-count"},{"title":"Query project transcript count","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/transcript-count/project/{projectID}","href":"/api-reference/analytics/query-project-transcript-count"},{"title":"Query transcript cost","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/transcript-cost/project/{projectID}","href":"/api-reference/analytics/query-transcript-cost"},{"title":"Query workspace interaction count","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/interaction-count/workspace/{workspaceID}","href":"/api-reference/analytics/query-workspace-interaction-count"},{"title":"Query project interaction count","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/interaction-count/project/{projectID}","href":"/api-reference/analytics/query-project-interaction-count"},{"title":"Query organization token usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/token-usage/organization/{organizationID}","href":"/api-reference/analytics/query-organization-token-usage"},{"title":"Query workspace token usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/token-usage/workspace/{workspaceID}","href":"/api-reference/analytics/query-workspace-token-usage"},{"title":"Query project token usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/token-usage/project/{projectID}","href":"/api-reference/analytics/query-project-token-usage"},{"title":"Query hourly organization token usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/hourly-token-usage/organization/{organizationID}","href":"/api-reference/analytics/query-hourly-organization-token-usage"},{"title":"Query hourly project token usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/hourly-token-usage/project/{projectID}","href":"/api-reference/analytics/query-hourly-project-token-usage"},{"title":"Query daily token usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/daily-token-usage/organization/{organizationID}","href":"/api-reference/analytics/query-daily-token-usage"},{"title":"Query entity token usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/entity-token-usage/organization/{organizationID}","href":"/api-reference/analytics/query-entity-token-usage"},{"title":"Query category token usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/category-token-usage/project/{projectID}","href":"/api-reference/analytics/query-category-token-usage"},{"title":"Query playbook usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/playbook-usage/project/{projectID}","href":"/api-reference/analytics/query-playbook-usage"},{"title":"Query workflow usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/workflow-usage/project/{projectID}","href":"/api-reference/analytics/query-workflow-usage"},{"title":"Query prompt usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/prompt-usage/project/{projectID}","href":"/api-reference/analytics/query-prompt-usage"},{"title":"Query intent usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/intent-usage/project/{projectID}","href":"/api-reference/analytics/query-intent-usage"},{"title":"Query function usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/function-usage/project/{projectID}","href":"/api-reference/analytics/query-function-usage"},{"title":"Query API tool usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/api-tool-usage/project/{projectID}","href":"/api-reference/analytics/query-api-tool-usage"},{"title":"Query MCP tool usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/mcp-tool-usage/project/{projectID}","href":"/api-reference/analytics/query-mcp-tool-usage"},{"title":"Query knowledge base document usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/knowledge-base-document-usage/project/{projectID}","href":"/api-reference/analytics/query-knowledge-base-document-usage"},{"title":"Query integration usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/integration-usage/project/{projectID}","href":"/api-reference/analytics/query-integration-usage"},{"title":"Query unique user count","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/unique-user-count/project/{projectID}","href":"/api-reference/analytics/query-unique-user-count"}]}]},{"group":"Webhooks","pages":[{"title":"Session lifecycle webhook","href":"/api-reference/webhooks/session-lifecycle"},{"title":"Organization events webhooks","href":"/api-reference/webhooks/org-events"}]}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/overview"}]},{"tab":"Resources","menu":[{"item":"Changelog","icon":"https://mintlify.s3.us-west-1.amazonaws.com/voiceflow-009a8802/images/icons/list.svg","description":"Every shipped change, newest first","pages":[{"title":"Changelog","href":"/changelog/changelog"}]},{"item":"Glossary","icon":"https://mintlify.s3.us-west-1.amazonaws.com/voiceflow-009a8802/images/icons/documentation.svg","description":"What each term means, and where it is explained","pages":[{"title":"Glossary","href":"/resources/glossary"}]},{"item":"Status","icon":"https://mintlify.s3.us-west-1.amazonaws.com/voiceflow-009a8802/images/icons/analytics.svg","description":"Live platform availability","href":"https://status.voiceflow.com"}],"pages":[{"title":"Resources","href":"/changelog/changelog"}]},{"tab":"Tico","hidden":true,"pages":[{"title":"Tico","href":"/v4-migration-guide"}]}]},"basePath":"","title":"Update environment - Voiceflow Documentation","deploymentId":"dpl_3DZuqjnfdjREuPshghHhyiLeMG3U","buildId":"dpl_3DZuqjnfdjREuPshghHhyiLeMG3U","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-1OxfpBIE.js","snippetPresets-z4KUQRYf.js","utils-Cw7_7ofN.js","style-to-object-BY3JEAdk.js","utils-B6e3ZTcE.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-BjYqZ_Sx.js","conditional-requirements-CFM0id0Q.js","cloneDeep-NwHJqvNG.js","_Uint8Array-DQvCfChM.js","isObject-FP1Yky1u.js","Page-UgONhIcS.js","CodeSnippet-CKfp22tI.js","DynamicMarkdown-DYGX_69W.js","SectionHeading-BohVFepQ.js","icon-kxB1kMxf.js","ApiExamples-CMZS0IKC.js","usePlaygroundInputsStore-DOq4CN7a.js","shallow-20RUKd1y.js","isEqual-C3PA3NAf.js","CodeSnippets-B_jcR0B0.js","getApiPlaygroundDisplay-CNG71d0M.js","MethodPill-CcUxUXUe.js","getPastedJson-Beh26NhW.js","Check2Icon-BuCJBlgS.js","axios-CsQoIw0U.js","Markdown-CuH8Eulu.js","AssistantPageLink-CvdrpKtq.js","dist-5uEodgD_.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}