Responses are generated using AI and may contain mistakes.
Bland is getting a major upgrade. We're working on updating our docs as users transition in the coming weeks. Reach out to support@bland.ai with questions.
data: {"type":"start","pathway":"Front desk booking","nodes":2,"edges":1}data: {"type":"read_reference","name":"inversion-rules"}data: {"type":"read_nodes","ids":["73a855b4-7257-4c6e-bd7d-f151a763c9fa","ddc0765a-8086-4826-bfaf-77b889fb3022"]}: pingdata: {"type":"iteration","iteration":1,"stopReason":"tool_use","outputTokens":1420,"toolCalls":["read_reference","read_nodes"]}: pingdata: {"type":"plan_submitted","scenarios":1,"endCalls":0,"openQuestions":0}data: {"type":"materializing"}data: {"type":"iteration","iteration":2,"stopReason":"end_turn","outputTokens":4700,"toolCalls":["submit_migration_plan"]}data: {"type":"done","status":200,"data":{"plan":{"displayName":"Front desk","hubPrompt":"Greet the caller and find out what they need.\n\n## Routing\n\n- \"Book appointment\": the caller wants to schedule a visit","scenarios":[{"kind":"simple","name":"Book appointment","entry":{"mode":"llm","label":"Wants to book"},"ruleParts":[{"legacyPromptOf":"73a855b4-7257-4c6e-bd7d-f151a763c9fa"}]}],"endCalls":[],"report":{"architectureSummary":"A two-node booking pathway collapsed into one hub and one booking scenario.","dispositions":[{"nodeIds":["73a855b4-7257-4c6e-bd7d-f151a763c9fa"],"disposition":"Became scenario \"Book appointment\"","rationale":"Single dialogue step."},{"nodeIds":["ddc0765a-8086-4826-bfaf-77b889fb3022"],"disposition":"Merged into the hub prompt","rationale":"Greeting-only node."}],"droppedOrApproximated":[],"openQuestions":[]}},"snapshot":{"behavior":{"nodes":[{"id":"inbound","type":"inbound","position":{"x":360,"y":-180},"data":{"number":""}},{"id":"agent","type":"agent","position":{"x":192,"y":0},"data":{"prompt":"Greet the caller and find out what they need.\n\n## Routing\n\n- \"Book appointment\": the caller wants to schedule a visit","loopWhile":"","variables":[]}},{"id":"545fe342-06be-4151-aae2-bd10bf128464","type":"scenario","position":{"x":0,"y":260},"data":{"name":"Book appointment","rule":"Ask which day and time works for the caller, then confirm the appointment back to them.","target":{"kind":"dialogue","label":"Book appointment"},"loopWhile":"","variables":[],"entry":{"mode":"llm","label":"Wants to book","description":"","alwaysPick":false,"conditions":[]}}}],"edges":[{"id":"e-inbound-agent","source":"inbound","target":"agent"},{"id":"e-agent-book","source":"agent","target":"545fe342-06be-4151-aae2-bd10bf128464","data":{"mode":"llm","label":"Wants to book","description":"","alwaysPick":false,"conditions":[]}}]},"settings":{"displayName":"Front desk","systemPrompt":"You are the front desk assistant for a dental office.","voice":"","languages":["english"],"enableMemory":false,"interruptionSensitivity":350,"backgroundNoise":"off"},"contact":{"inboundNumbers":[]}},"lint":{"errors":[],"warnings":[]},"usage":{"inputTokens":48211,"outputTokens":6120,"iterations":2},"created":false},"errors":null}
{ "data": null, "errors": [ { "error": "TOO_MANY_REQUESTS", "message": "Too many pathway migrations started for this organization — please wait before starting another." } ]}
Runs the same migration as Migrate Pathway with the same body and the same outcome, but delivers it as a Server-Sent Events stream so you can show progress during the multi-minute planner run. The final done event carries exactly the status, data, and errors the JSON endpoint would have returned. If you disconnect before the run finishes, the planner is aborted and nothing is created.Limited to 10 migration starts per hour per organization, counted together with Migrate Pathway and Start Pathway Translation. Requires an admin, owner, operator, or prompter role.
The legacy pathway graph, in the shape the pathway editor exports: nodes (required, non-empty array), edges (required array, may be empty), and optional name and globalPrompt. Returns 400 INVALID_PATHWAY if nodes or edges is missing or nodes is empty, and 400 PATHWAY_TOO_LARGE beyond 500 nodes, 2,000 edges, or 2 MB serialized. See Migrate Pathway for field details.
Body validation and the rate limit are checked before the stream opens, so those failures arrive as ordinary JSON responses (400 or 429). Once accepted, the response is 200 with Content-Type: text/event-stream, Cache-Control: no-cache, no-transform, and Connection: keep-alive. Each event is a single data: line holding a JSON object whose type field identifies it; no event: names are used. A comment line : ping is sent every 10 seconds as a heartbeat and should be ignored. The stream closes after the done or error event.
The planner submitted a plan. Carries scenarios, endCalls, and openQuestions (integers). A rejected plan is repaired and resubmitted within the same run, so this can fire more than once.
The same data object as Migrate Pathway: plan, snapshot, lint, usage, created, and in create mode agent and version. Unlike the JSON endpoint, a 422 here still includes the partial data (at minimum plan, lint, and usage) so you can inspect what failed.
null on success, or a list of error objects if the request failed.
data: {"type":"start","pathway":"Front desk booking","nodes":2,"edges":1}data: {"type":"read_reference","name":"inversion-rules"}data: {"type":"read_nodes","ids":["73a855b4-7257-4c6e-bd7d-f151a763c9fa","ddc0765a-8086-4826-bfaf-77b889fb3022"]}: pingdata: {"type":"iteration","iteration":1,"stopReason":"tool_use","outputTokens":1420,"toolCalls":["read_reference","read_nodes"]}: pingdata: {"type":"plan_submitted","scenarios":1,"endCalls":0,"openQuestions":0}data: {"type":"materializing"}data: {"type":"iteration","iteration":2,"stopReason":"end_turn","outputTokens":4700,"toolCalls":["submit_migration_plan"]}data: {"type":"done","status":200,"data":{"plan":{"displayName":"Front desk","hubPrompt":"Greet the caller and find out what they need.\n\n## Routing\n\n- \"Book appointment\": the caller wants to schedule a visit","scenarios":[{"kind":"simple","name":"Book appointment","entry":{"mode":"llm","label":"Wants to book"},"ruleParts":[{"legacyPromptOf":"73a855b4-7257-4c6e-bd7d-f151a763c9fa"}]}],"endCalls":[],"report":{"architectureSummary":"A two-node booking pathway collapsed into one hub and one booking scenario.","dispositions":[{"nodeIds":["73a855b4-7257-4c6e-bd7d-f151a763c9fa"],"disposition":"Became scenario \"Book appointment\"","rationale":"Single dialogue step."},{"nodeIds":["ddc0765a-8086-4826-bfaf-77b889fb3022"],"disposition":"Merged into the hub prompt","rationale":"Greeting-only node."}],"droppedOrApproximated":[],"openQuestions":[]}},"snapshot":{"behavior":{"nodes":[{"id":"inbound","type":"inbound","position":{"x":360,"y":-180},"data":{"number":""}},{"id":"agent","type":"agent","position":{"x":192,"y":0},"data":{"prompt":"Greet the caller and find out what they need.\n\n## Routing\n\n- \"Book appointment\": the caller wants to schedule a visit","loopWhile":"","variables":[]}},{"id":"545fe342-06be-4151-aae2-bd10bf128464","type":"scenario","position":{"x":0,"y":260},"data":{"name":"Book appointment","rule":"Ask which day and time works for the caller, then confirm the appointment back to them.","target":{"kind":"dialogue","label":"Book appointment"},"loopWhile":"","variables":[],"entry":{"mode":"llm","label":"Wants to book","description":"","alwaysPick":false,"conditions":[]}}}],"edges":[{"id":"e-inbound-agent","source":"inbound","target":"agent"},{"id":"e-agent-book","source":"agent","target":"545fe342-06be-4151-aae2-bd10bf128464","data":{"mode":"llm","label":"Wants to book","description":"","alwaysPick":false,"conditions":[]}}]},"settings":{"displayName":"Front desk","systemPrompt":"You are the front desk assistant for a dental office.","voice":"","languages":["english"],"enableMemory":false,"interruptionSensitivity":350,"backgroundNoise":"off"},"contact":{"inboundNumbers":[]}},"lint":{"errors":[],"warnings":[]},"usage":{"inputTokens":48211,"outputTokens":6120,"iterations":2},"created":false},"errors":null}
{ "data": null, "errors": [ { "error": "TOO_MANY_REQUESTS", "message": "Too many pathway migrations started for this organization — please wait before starting another." } ]}
data: {"type":"start","pathway":"Front desk booking","nodes":2,"edges":1}data: {"type":"read_reference","name":"inversion-rules"}data: {"type":"read_nodes","ids":["73a855b4-7257-4c6e-bd7d-f151a763c9fa","ddc0765a-8086-4826-bfaf-77b889fb3022"]}: pingdata: {"type":"iteration","iteration":1,"stopReason":"tool_use","outputTokens":1420,"toolCalls":["read_reference","read_nodes"]}: pingdata: {"type":"plan_submitted","scenarios":1,"endCalls":0,"openQuestions":0}data: {"type":"materializing"}data: {"type":"iteration","iteration":2,"stopReason":"end_turn","outputTokens":4700,"toolCalls":["submit_migration_plan"]}data: {"type":"done","status":200,"data":{"plan":{"displayName":"Front desk","hubPrompt":"Greet the caller and find out what they need.\n\n## Routing\n\n- \"Book appointment\": the caller wants to schedule a visit","scenarios":[{"kind":"simple","name":"Book appointment","entry":{"mode":"llm","label":"Wants to book"},"ruleParts":[{"legacyPromptOf":"73a855b4-7257-4c6e-bd7d-f151a763c9fa"}]}],"endCalls":[],"report":{"architectureSummary":"A two-node booking pathway collapsed into one hub and one booking scenario.","dispositions":[{"nodeIds":["73a855b4-7257-4c6e-bd7d-f151a763c9fa"],"disposition":"Became scenario \"Book appointment\"","rationale":"Single dialogue step."},{"nodeIds":["ddc0765a-8086-4826-bfaf-77b889fb3022"],"disposition":"Merged into the hub prompt","rationale":"Greeting-only node."}],"droppedOrApproximated":[],"openQuestions":[]}},"snapshot":{"behavior":{"nodes":[{"id":"inbound","type":"inbound","position":{"x":360,"y":-180},"data":{"number":""}},{"id":"agent","type":"agent","position":{"x":192,"y":0},"data":{"prompt":"Greet the caller and find out what they need.\n\n## Routing\n\n- \"Book appointment\": the caller wants to schedule a visit","loopWhile":"","variables":[]}},{"id":"545fe342-06be-4151-aae2-bd10bf128464","type":"scenario","position":{"x":0,"y":260},"data":{"name":"Book appointment","rule":"Ask which day and time works for the caller, then confirm the appointment back to them.","target":{"kind":"dialogue","label":"Book appointment"},"loopWhile":"","variables":[],"entry":{"mode":"llm","label":"Wants to book","description":"","alwaysPick":false,"conditions":[]}}}],"edges":[{"id":"e-inbound-agent","source":"inbound","target":"agent"},{"id":"e-agent-book","source":"agent","target":"545fe342-06be-4151-aae2-bd10bf128464","data":{"mode":"llm","label":"Wants to book","description":"","alwaysPick":false,"conditions":[]}}]},"settings":{"displayName":"Front desk","systemPrompt":"You are the front desk assistant for a dental office.","voice":"","languages":["english"],"enableMemory":false,"interruptionSensitivity":350,"backgroundNoise":"off"},"contact":{"inboundNumbers":[]}},"lint":{"errors":[],"warnings":[]},"usage":{"inputTokens":48211,"outputTokens":6120,"iterations":2},"created":false},"errors":null}
{ "data": null, "errors": [ { "error": "TOO_MANY_REQUESTS", "message": "Too many pathway migrations started for this organization — please wait before starting another." } ]}
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Bland","colors":{"primary":"#CA071A","light":"#FFFDF6","dark":"#151515"},"logo":{"light":"https://mintcdn.com/blandai/ccT390llWRoa5cok/logo/light.svg?fit=max\u0026auto=format\u0026n=ccT390llWRoa5cok\u0026q=85\u0026s=c9e5f30d1a8880ad00ef715c1ffa2215","dark":"https://mintcdn.com/blandai/ccT390llWRoa5cok/logo/dark.svg?fit=max\u0026auto=format\u0026n=ccT390llWRoa5cok\u0026q=85\u0026s=be3890a932c8cd55b89ac9df2d018955"},"favicon":"https://mintcdn.com/blandai/7XcPgtv7sOmwQOkQ/favicon.png?fit=max\u0026auto=format\u0026n=7XcPgtv7sOmwQOkQ\u0026q=85\u0026s=03a241cc1c1162995574df4a2166b331","background":{"color":{"light":"#FFFDF5","dark":"#151515"}},"navbar":{"links":[{"href":"https://app.bland.ai/dashboard/support","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.bland.ai"}},"footer":{"socials":{"twitter":"https://twitter.com/usebland","linkedin":"https://www.linkedin.com/company/bland-ai","discord":"https://discord.gg/QvxDz8zcKe"}},"seo":{"indexing":"all"},"banner":{"content":"Bland is getting a major upgrade. We're working on updating our docs as users transition in the coming weeks. Reach out to [support@bland.ai](mailto:support@bland.ai) with questions.","dismissible":true},"contextual":{"options":["copy","view","claude","chatgpt","perplexity"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/QvxDz8zcKe"},{"anchor":"Submit a support ticket","icon":"ticket","href":"https://app.bland.ai/dashboard/support"},{"anchor":"Blog","icon":"newspaper","href":"https://www.bland.ai/blog"},{"anchor":"Enterprise inquiries","icon":"building","href":"https://www.bland.ai/book-a-demo"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"blandai","hasAudioNarration":false,"actualSubdomain":"blandai","customDomains":["docs.bland.ai"],"gitSource":{"type":"github","owner":"cintellilabs","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae11a50f21292540542c81a","collectionId":"60dbcc4e-f6f7-470b-b029-f2dcda80fcba","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae11a50f21292540542c81a"},"feedback":{"thumbs":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae11a50f21292540542c81a","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Voice Agents","count":498},{"language":"default","tag":"API Reference","count":415},{"language":"default","tag":"Legacy","count":104},{"language":"default","tag":"Documentation","count":83},{"language":"default","tag":"Changelog","count":50},{"language":"default","tag":"Change Log","count":50},{"language":"default","tag":"TTS","count":42},{"language":"default","tag":"Evals","count":36},{"language":"default","tag":"Dispositions","count":31},{"language":"default","tag":"Triage","count":26}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx3cwhsk.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxTcwhsk.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxPcwhsk.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx_cwhsk.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx7cwhsk.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx3cwhsk.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxTcwhsk.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxPcwhsk.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx_cwhsk.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx7cwhsk.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx3cwhsk.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxTcwhsk.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxPcwhsk.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx_cwhsk.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx7cwhsk.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n@keyframes splash-settle{0%{opacity:0;transform:scale(.86)}to{opacity:1;transform:none}}@keyframes splash-breathe{0%,38%,88%,to{opacity:1}50%,76%{opacity:0}}.card h2+.prose{margin-top:.75rem}#content-area #header .mt-2 p{font-size:1rem}:root{--splash-font-display:ui-sans-serif, -apple-system, \"Segoe UI\", system-ui, sans-serif;--splash-font-mono:'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace}.splash-display{font-family:var(--splash-font-display)}.splash-mono{font-family:var(--splash-font-mono)}@media (prefers-reduced-motion:no-preference){.splash-settle{animation:splash-settle 380ms cubic-bezier(.22,.61,.36,1) both;transform-origin:center}.splash-breathe{animation:splash-breathe var(--splash-breathe-dur, 19s) ease-in-out infinite;animation-delay:var(--splash-breathe-delay, 0s)}.splash-cell{transition:transform 240ms cubic-bezier(.22,.61,.36,1)}.splash-cell:hover{transform:scale(1.09);z-index:1}}.splash-diffuse,.splash-frame-a{display:none}.splash-ballast-inset{padding-left:1.5rem;padding-right:1.5rem}.splash-ballast-herotext{padding-top:4rem;padding-bottom:3.5rem}@media (max-width:1023px){.splash-ballast-herotext{padding-top:calc(4rem + 96px)}}.splash-ballast-h1{font-size:40px;line-height:1.06}@media (min-width:1152px){.splash-display{--splash-module:clamp(48px, calc((100vw - 1472px) / 12 + 6px), 72px)}.splash-diffuse,.splash-frame-a{grid-template-columns:repeat(72,var(--splash-module))}.splash-frame-a{display:grid;grid-template-rows:repeat(8,var(--splash-module))}.splash-diffuse{display:none;grid-auto-rows:var(--splash-module)}.splash-ballast-inset{padding-left:max(calc(var(--splash-module)*6),calc((100% - 1472px)/2 + 48px));padding-right:max(1.5rem,calc((100% - 1472px)/2 + 48px))}.splash-ballast-hero{height:calc(var(--splash-module)*3.94 + 322px)}.splash-ballast-herotext{padding-top:calc(var(--splash-module)*3.94);padding-bottom:0}.splash-ballast-h1{font-size:58px;line-height:62px}}body:has(.splash-display) header .backdrop-blur{backdrop-filter:none;-webkit-backdrop-filter:none}#sidebar-content{background:#fffdf5;border-right:1px solid #1515150f;width:var(--sidebar-w)}:root{--sidebar-w:248px}@media (min-width:1024px){#body-content{padding-left:var(--sidebar-w)}}.dark #sidebar-content,:root[class~=dark] #sidebar-content{background:#0f0f0f;border-right-color:#ffffff12}#navigation-items{padding-right:1rem;padding-top:1.5rem;padding-left:.75rem;scrollbar-width:thin;scrollbar-color:transparent transparent}#sidebar-content a{font-size:13.5px;line-height:1.35;padding-top:5px;padding-bottom:5px}#navigation-items [class*=scroll-area-fade-size]{padding-left:0;padding-right:0}#sidebar-content [class*=font-semibold]:not(a),#sidebar-content h5{font-size:11px;letter-spacing:.06em;text-transform:uppercase;opacity:.55;margin-top:1.5rem;margin-bottom:.35rem}#navigation-items:hover{scrollbar-color:#15151526 transparent}@media (min-width:1024px){.splash-display{--splash-module:clamp(30px, calc((100vw - var(--sidebar-w) - 96px) / 26), 72px)}.splash-ballast-inset{padding-left:3rem;padding-right:3rem}.splash-ballast-inset.splash-ballast-herotext{padding-left:calc(var(--splash-module)*6)}.splash-ballast-inset [class*=grid-cols]{max-width:1180px}}@media (min-width:1600px){.splash-display{--splash-module:clamp(30px, min(\n calc((100vw - var(--sidebar-w) - 96px) / 26),\n calc((100vw - 1540px) / 10)\n ), 72px)}.splash-ballast-inset{max-width:1276px;margin-inline:auto}.splash-ballast-inset.splash-ballast-herotext{padding-left:48px}}@media (min-width:1024px){.splash-display{--splash-rule-gap:64px}.splash-ballast-hero{height:auto}.splash-ballast-inset.splash-ballast-herotext{padding-bottom:var(--splash-rule-gap)}.splash-ballast-inset[class*=py-12]{padding-top:var(--splash-rule-gap)}}"}],"page":{"pagePath":"api-v2/post/agents-migrate-stream","slug":"/api-v2/post/agents-migrate-stream","pageMetadata":{"title":"Stream Pathway Migration","api":"POST https://api.bland.ai/v2/agents/migrate/stream","description":"Run a pathway migration with live progress events.","href":"/api-v2/post/agents-migrate-stream"},"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: \"Run a pathway migration with live progress events.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,p:`p`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`Runs the same migration as `,_jsx(_components.a,{href:`/api-v2/post/agents-migrate`,children:`Migrate Pathway`}),` with the same body and the same outcome, but delivers it as a Server-Sent Events stream so you can show progress during the multi-minute planner run. The final `,_jsx(_components.code,{children:`done`}),` event carries exactly the status, `,_jsx(_components.code,{children:`data`}),`, and `,_jsx(_components.code,{children:`errors`}),` the JSON endpoint would have returned. If you disconnect before the run finishes, the planner is aborted and nothing is created.`]}),`\n`,_jsxs(_components.p,{children:[`Limited to 10 migration starts per hour per organization, counted together with `,_jsx(_components.a,{href:`/api-v2/post/agents-migrate`,children:`Migrate Pathway`}),` and `,_jsx(_components.a,{href:`/api-v2/post/agents-migrate-translations`,children:`Start Pathway Translation`}),`. Requires an admin, owner, operator, or prompter role.`]}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsx(_components.p,{children:`Your API key for authentication.`})}),`\n`,_jsx(Heading,{level:`3`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsx(ParamField,{body:`pathway`,type:`object`,required:true,id:`param-pathway`,children:_jsxs(_components.p,{children:[`The legacy pathway graph, in the shape the pathway editor exports: `,_jsx(_components.code,{children:`nodes`}),` (required, non-empty array), `,_jsx(_components.code,{children:`edges`}),` (required array, may be empty), and optional `,_jsx(_components.code,{children:`name`}),` and `,_jsx(_components.code,{children:`globalPrompt`}),`. Returns `,_jsx(_components.code,{children:`400 INVALID_PATHWAY`}),` if `,_jsx(_components.code,{children:`nodes`}),` or `,_jsx(_components.code,{children:`edges`}),` is missing or `,_jsx(_components.code,{children:`nodes`}),` is empty, and `,_jsx(_components.code,{children:`400 PATHWAY_TOO_LARGE`}),` beyond 500 nodes, 2,000 edges, or 2 MB serialized. See `,_jsx(_components.a,{href:`/api-v2/post/agents-migrate`,children:`Migrate Pathway`}),` for field details.`]})}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsxs(_components.p,{children:[`Display name for the new agent when `,_jsx(_components.code,{children:`create`}),` is `,_jsx(_components.code,{children:`true`}),`. Defaults to `,_jsx(_components.code,{children:`\u003cpathway.name> (migrated)`}),`, or `,_jsx(_components.code,{children:`unnamed pathway (migrated)`}),` when the pathway has no name.`]})}),`\n`,_jsx(ParamField,{body:`create`,type:`boolean`,default:`false`,id:`param-create`,children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`true`}),`, the migrated snapshot is saved as a new agent with its first version. Any other value is treated as `,_jsx(_components.code,{children:`false`}),` (dry run).`]})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Body validation and the rate limit are checked before the stream opens, so those failures arrive as ordinary JSON responses (`,_jsx(_components.code,{children:`400`}),` or `,_jsx(_components.code,{children:`429`}),`). Once accepted, the response is `,_jsx(_components.code,{children:`200`}),` with `,_jsx(_components.code,{children:`Content-Type: text/event-stream`}),`, `,_jsx(_components.code,{children:`Cache-Control: no-cache, no-transform`}),`, and `,_jsx(_components.code,{children:`Connection: keep-alive`}),`. Each event is a single `,_jsx(_components.code,{children:`data:`}),` line holding a JSON object whose `,_jsx(_components.code,{children:`type`}),` field identifies it; no `,_jsx(_components.code,{children:`event:`}),` names are used. A comment line `,_jsx(_components.code,{children:`: ping`}),` is sent every 10 seconds as a heartbeat and should be ignored. The stream closes after the `,_jsx(_components.code,{children:`done`}),` or `,_jsx(_components.code,{children:`error`}),` event.`]}),`\n`,_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:_jsxs(_components.p,{children:[`Present on every event. One of `,_jsx(_components.code,{children:`start`}),`, `,_jsx(_components.code,{children:`read_reference`}),`, `,_jsx(_components.code,{children:`read_nodes`}),`, `,_jsx(_components.code,{children:`iteration`}),`, `,_jsx(_components.code,{children:`plan_submitted`}),`, `,_jsx(_components.code,{children:`materializing`}),`, `,_jsx(_components.code,{children:`done`}),`, `,_jsx(_components.code,{children:`error`}),`.`]})}),`\n`,_jsxs(ResponseField,{name:`start`,type:`event`,id:`param-start`,children:[_jsx(_components.p,{children:`Emitted once when the planner begins.`}),_jsxs(Expandable,{title:`start payload`,children:[_jsx(ResponseField,{name:`pathway`,type:`string`,id:`param-pathway-1`,children:_jsxs(_components.p,{children:[`The pathway label (its `,_jsx(_components.code,{children:`name`}),`, or `,_jsx(_components.code,{children:`unnamed pathway`}),`).`]})}),_jsx(ResponseField,{name:`nodes`,type:`integer`,id:`param-nodes`,children:_jsx(_components.p,{children:`Number of nodes in the submitted graph.`})}),_jsx(ResponseField,{name:`edges`,type:`integer`,id:`param-edges`,children:_jsx(_components.p,{children:`Number of edges in the submitted graph.`})})]})]}),`\n`,_jsx(ResponseField,{name:`read_reference`,type:`event`,id:`param-read-reference`,children:_jsxs(_components.p,{children:[`The planner consulted one of its internal reference documents. `,_jsx(_components.code,{children:`name`}),` (string) identifies the document.`]})}),`\n`,_jsx(ResponseField,{name:`read_nodes`,type:`event`,id:`param-read-nodes`,children:_jsxs(_components.p,{children:[`The planner read the full content of specific legacy nodes. `,_jsx(_components.code,{children:`ids`}),` (array of strings) lists their IDs.`]})}),`\n`,_jsxs(ResponseField,{name:`iteration`,type:`event`,id:`param-iteration`,children:[_jsx(_components.p,{children:`One planner turn finished. Turns can be one to three minutes apart.`}),_jsxs(Expandable,{title:`iteration payload`,children:[_jsx(ResponseField,{name:`iteration`,type:`integer`,id:`param-iteration-1`,children:_jsx(_components.p,{children:`1-based turn counter.`})}),_jsx(ResponseField,{name:`stopReason`,type:`string | null`,id:`param-stop-reason`,children:_jsxs(_components.p,{children:[`Why the turn ended, for example `,_jsx(_components.code,{children:`tool_use`}),` or `,_jsx(_components.code,{children:`end_turn`}),`.`]})}),_jsx(ResponseField,{name:`outputTokens`,type:`integer`,id:`param-output-tokens`,children:_jsx(_components.p,{children:`Tokens the planner produced in this turn.`})}),_jsx(ResponseField,{name:`toolCalls`,type:`array`,id:`param-tool-calls`,children:_jsxs(_components.p,{children:[`Names of the planner actions taken this turn, such as `,_jsx(_components.code,{children:`read_nodes`}),` or `,_jsx(_components.code,{children:`submit_migration_plan`}),`.`]})})]})]}),`\n`,_jsx(ResponseField,{name:`plan_submitted`,type:`event`,id:`param-plan-submitted`,children:_jsxs(_components.p,{children:[`The planner submitted a plan. Carries `,_jsx(_components.code,{children:`scenarios`}),`, `,_jsx(_components.code,{children:`endCalls`}),`, and `,_jsx(_components.code,{children:`openQuestions`}),` (integers). A rejected plan is repaired and resubmitted within the same run, so this can fire more than once.`]})}),`\n`,_jsx(ResponseField,{name:`materializing`,type:`event`,id:`param-materializing`,children:_jsx(_components.p,{children:`The plan is being turned into an agent snapshot. No other fields.`})}),`\n`,_jsxs(ResponseField,{name:`done`,type:`event`,id:`param-done`,children:[_jsx(_components.p,{children:`The run finished. Emitted once, then the stream closes.`}),_jsxs(Expandable,{title:`done payload`,children:[_jsx(ResponseField,{name:`status`,type:`integer`,id:`param-status`,children:_jsxs(_components.p,{children:[`The HTTP status `,_jsx(_components.a,{href:`/api-v2/post/agents-migrate`,children:`Migrate Pathway`}),` would have returned: `,_jsx(_components.code,{children:`200`}),` (dry run), `,_jsx(_components.code,{children:`201`}),` (agent created), `,_jsx(_components.code,{children:`422`}),` (validation, lint, or create blocked), or `,_jsx(_components.code,{children:`500`}),`.`]})}),_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(_components.p,{children:[`The same `,_jsx(_components.code,{children:`data`}),` object as `,_jsx(_components.a,{href:`/api-v2/post/agents-migrate`,children:`Migrate Pathway`}),`: `,_jsx(_components.code,{children:`plan`}),`, `,_jsx(_components.code,{children:`snapshot`}),`, `,_jsx(_components.code,{children:`lint`}),`, `,_jsx(_components.code,{children:`usage`}),`, `,_jsx(_components.code,{children:`created`}),`, and in create mode `,_jsx(_components.code,{children:`agent`}),` and `,_jsx(_components.code,{children:`version`}),`. Unlike the JSON endpoint, a `,_jsx(_components.code,{children:`422`}),` here still includes the partial `,_jsx(_components.code,{children:`data`}),` (at minimum `,_jsx(_components.code,{children:`plan`}),`, `,_jsx(_components.code,{children:`lint`}),`, and `,_jsx(_components.code,{children:`usage`}),`) so you can inspect what failed.`]})}),_jsx(ResponseField,{name:`errors`,type:`null | array`,id:`param-errors`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`null`}),` when `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`200`}),` or `,_jsx(_components.code,{children:`201`}),`, otherwise the error list.`]})})]})]}),`\n`,_jsx(ResponseField,{name:`error`,type:`event`,id:`param-error`,children:_jsxs(_components.p,{children:[`The planner itself failed. `,_jsx(_components.code,{children:`message`}),` (string) is safe to show to users. The stream closes after it.`]})}),`\n`,_jsx(ResponseField,{name:`errors`,type:`null | array`,id:`param-errors-1`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`null`}),` on success, or a list of error objects if the request failed.`]})}),`\n`,`\n`,_jsx(_components.hr,{}),`\n`,_jsxs(_components.p,{children:[`Docs for agents: `,_jsx(_components.a,{href:`/llms.txt`,children:`llms.txt`})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Stream Pathway Migration","api":"POST https://api.bland.ai/v2/agents/migrate/stream","description":"Run a pathway migration with live progress events.","href":"/api-v2/post/agents-migrate-stream"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`Runs the same migration as `,_jsx(_components.a,{href:`/api-v2/post/agents-migrate`,children:`Migrate Pathway`}),` with the same body and the same outcome, but delivers it as a Server-Sent Events stream so you can show progress during the multi-minute planner run. The final `,_jsx(_components.code,{children:`done`}),` event carries exactly the status, `,_jsx(_components.code,{children:`data`}),`, and `,_jsx(_components.code,{children:`errors`}),` the JSON endpoint would have returned. If you disconnect before the run finishes, the planner is aborted and nothing is created.`]}),`\n`,_jsxs(_components.p,{children:[`Limited to 10 migration starts per hour per organization, counted together with `,_jsx(_components.a,{href:`/api-v2/post/agents-migrate`,children:`Migrate Pathway`}),` and `,_jsx(_components.a,{href:`/api-v2/post/agents-migrate-translations`,children:`Start Pathway Translation`}),`. Requires an admin, owner, operator, or prompter role.`]}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsx(_components.p,{children:`Your API key for authentication.`})}),`\n`,_jsx(Heading,{level:`3`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsx(ParamField,{body:`pathway`,type:`object`,required:true,id:`param-pathway`,children:_jsxs(_components.p,{children:[`The legacy pathway graph, in the shape the pathway editor exports: `,_jsx(_components.code,{children:`nodes`}),` (required, non-empty array), `,_jsx(_components.code,{children:`edges`}),` (required array, may be empty), and optional `,_jsx(_components.code,{children:`name`}),` and `,_jsx(_components.code,{children:`globalPrompt`}),`. Returns `,_jsx(_components.code,{children:`400 INVALID_PATHWAY`}),` if `,_jsx(_components.code,{children:`nodes`}),` or `,_jsx(_components.code,{children:`edges`}),` is missing or `,_jsx(_components.code,{children:`nodes`}),` is empty, and `,_jsx(_components.code,{children:`400 PATHWAY_TOO_LARGE`}),` beyond 500 nodes, 2,000 edges, or 2 MB serialized. See `,_jsx(_components.a,{href:`/api-v2/post/agents-migrate`,children:`Migrate Pathway`}),` for field details.`]})}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsxs(_components.p,{children:[`Display name for the new agent when `,_jsx(_components.code,{children:`create`}),` is `,_jsx(_components.code,{children:`true`}),`. Defaults to `,_jsx(_components.code,{children:`\u003cpathway.name> (migrated)`}),`, or `,_jsx(_components.code,{children:`unnamed pathway (migrated)`}),` when the pathway has no name.`]})}),`\n`,_jsx(ParamField,{body:`create`,type:`boolean`,default:`false`,id:`param-create`,children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`true`}),`, the migrated snapshot is saved as a new agent with its first version. Any other value is treated as `,_jsx(_components.code,{children:`false`}),` (dry run).`]})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Body validation and the rate limit are checked before the stream opens, so those failures arrive as ordinary JSON responses (`,_jsx(_components.code,{children:`400`}),` or `,_jsx(_components.code,{children:`429`}),`). Once accepted, the response is `,_jsx(_components.code,{children:`200`}),` with `,_jsx(_components.code,{children:`Content-Type: text/event-stream`}),`, `,_jsx(_components.code,{children:`Cache-Control: no-cache, no-transform`}),`, and `,_jsx(_components.code,{children:`Connection: keep-alive`}),`. Each event is a single `,_jsx(_components.code,{children:`data:`}),` line holding a JSON object whose `,_jsx(_components.code,{children:`type`}),` field identifies it; no `,_jsx(_components.code,{children:`event:`}),` names are used. A comment line `,_jsx(_components.code,{children:`: ping`}),` is sent every 10 seconds as a heartbeat and should be ignored. The stream closes after the `,_jsx(_components.code,{children:`done`}),` or `,_jsx(_components.code,{children:`error`}),` event.`]}),`\n`,_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:_jsxs(_components.p,{children:[`Present on every event. One of `,_jsx(_components.code,{children:`start`}),`, `,_jsx(_components.code,{children:`read_reference`}),`, `,_jsx(_components.code,{children:`read_nodes`}),`, `,_jsx(_components.code,{children:`iteration`}),`, `,_jsx(_components.code,{children:`plan_submitted`}),`, `,_jsx(_components.code,{children:`materializing`}),`, `,_jsx(_components.code,{children:`done`}),`, `,_jsx(_components.code,{children:`error`}),`.`]})}),`\n`,_jsxs(ResponseField,{name:`start`,type:`event`,id:`param-start`,children:[_jsx(_components.p,{children:`Emitted once when the planner begins.`}),_jsxs(Expandable,{title:`start payload`,children:[_jsx(ResponseField,{name:`pathway`,type:`string`,id:`param-pathway-1`,children:_jsxs(_components.p,{children:[`The pathway label (its `,_jsx(_components.code,{children:`name`}),`, or `,_jsx(_components.code,{children:`unnamed pathway`}),`).`]})}),_jsx(ResponseField,{name:`nodes`,type:`integer`,id:`param-nodes`,children:_jsx(_components.p,{children:`Number of nodes in the submitted graph.`})}),_jsx(ResponseField,{name:`edges`,type:`integer`,id:`param-edges`,children:_jsx(_components.p,{children:`Number of edges in the submitted graph.`})})]})]}),`\n`,_jsx(ResponseField,{name:`read_reference`,type:`event`,id:`param-read-reference`,children:_jsxs(_components.p,{children:[`The planner consulted one of its internal reference documents. `,_jsx(_components.code,{children:`name`}),` (string) identifies the document.`]})}),`\n`,_jsx(ResponseField,{name:`read_nodes`,type:`event`,id:`param-read-nodes`,children:_jsxs(_components.p,{children:[`The planner read the full content of specific legacy nodes. `,_jsx(_components.code,{children:`ids`}),` (array of strings) lists their IDs.`]})}),`\n`,_jsxs(ResponseField,{name:`iteration`,type:`event`,id:`param-iteration`,children:[_jsx(_components.p,{children:`One planner turn finished. Turns can be one to three minutes apart.`}),_jsxs(Expandable,{title:`iteration payload`,children:[_jsx(ResponseField,{name:`iteration`,type:`integer`,id:`param-iteration-1`,children:_jsx(_components.p,{children:`1-based turn counter.`})}),_jsx(ResponseField,{name:`stopReason`,type:`string | null`,id:`param-stop-reason`,children:_jsxs(_components.p,{children:[`Why the turn ended, for example `,_jsx(_components.code,{children:`tool_use`}),` or `,_jsx(_components.code,{children:`end_turn`}),`.`]})}),_jsx(ResponseField,{name:`outputTokens`,type:`integer`,id:`param-output-tokens`,children:_jsx(_components.p,{children:`Tokens the planner produced in this turn.`})}),_jsx(ResponseField,{name:`toolCalls`,type:`array`,id:`param-tool-calls`,children:_jsxs(_components.p,{children:[`Names of the planner actions taken this turn, such as `,_jsx(_components.code,{children:`read_nodes`}),` or `,_jsx(_components.code,{children:`submit_migration_plan`}),`.`]})})]})]}),`\n`,_jsx(ResponseField,{name:`plan_submitted`,type:`event`,id:`param-plan-submitted`,children:_jsxs(_components.p,{children:[`The planner submitted a plan. Carries `,_jsx(_components.code,{children:`scenarios`}),`, `,_jsx(_components.code,{children:`endCalls`}),`, and `,_jsx(_components.code,{children:`openQuestions`}),` (integers). A rejected plan is repaired and resubmitted within the same run, so this can fire more than once.`]})}),`\n`,_jsx(ResponseField,{name:`materializing`,type:`event`,id:`param-materializing`,children:_jsx(_components.p,{children:`The plan is being turned into an agent snapshot. No other fields.`})}),`\n`,_jsxs(ResponseField,{name:`done`,type:`event`,id:`param-done`,children:[_jsx(_components.p,{children:`The run finished. Emitted once, then the stream closes.`}),_jsxs(Expandable,{title:`done payload`,children:[_jsx(ResponseField,{name:`status`,type:`integer`,id:`param-status`,children:_jsxs(_components.p,{children:[`The HTTP status `,_jsx(_components.a,{href:`/api-v2/post/agents-migrate`,children:`Migrate Pathway`}),` would have returned: `,_jsx(_components.code,{children:`200`}),` (dry run), `,_jsx(_components.code,{children:`201`}),` (agent created), `,_jsx(_components.code,{children:`422`}),` (validation, lint, or create blocked), or `,_jsx(_components.code,{children:`500`}),`.`]})}),_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(_components.p,{children:[`The same `,_jsx(_components.code,{children:`data`}),` object as `,_jsx(_components.a,{href:`/api-v2/post/agents-migrate`,children:`Migrate Pathway`}),`: `,_jsx(_components.code,{children:`plan`}),`, `,_jsx(_components.code,{children:`snapshot`}),`, `,_jsx(_components.code,{children:`lint`}),`, `,_jsx(_components.code,{children:`usage`}),`, `,_jsx(_components.code,{children:`created`}),`, and in create mode `,_jsx(_components.code,{children:`agent`}),` and `,_jsx(_components.code,{children:`version`}),`. Unlike the JSON endpoint, a `,_jsx(_components.code,{children:`422`}),` here still includes the partial `,_jsx(_components.code,{children:`data`}),` (at minimum `,_jsx(_components.code,{children:`plan`}),`, `,_jsx(_components.code,{children:`lint`}),`, and `,_jsx(_components.code,{children:`usage`}),`) so you can inspect what failed.`]})}),_jsx(ResponseField,{name:`errors`,type:`null | array`,id:`param-errors`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`null`}),` when `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`200`}),` or `,_jsx(_components.code,{children:`201`}),`, otherwise the error list.`]})})]})]}),`\n`,_jsx(ResponseField,{name:`error`,type:`event`,id:`param-error`,children:_jsxs(_components.p,{children:[`The planner itself failed. `,_jsx(_components.code,{children:`message`}),` (string) is safe to show to users. The stream closes after it.`]})}),`\n`,_jsx(ResponseField,{name:`errors`,type:`null | array`,id:`param-errors-1`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`null`}),` on success, or a list of error objects if the request failed.`]})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`Event Stream`,numberOfLines:`20`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`data: {\"type\":\"start\",\"pathway\":\"Front desk booking\",\"nodes\":2,\"edges\":1}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`data: {\"type\":\"read_reference\",\"name\":\"inversion-rules\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`data: {\"type\":\"read_nodes\",\"ids\":[\"73a855b4-7257-4c6e-bd7d-f151a763c9fa\",\"ddc0765a-8086-4826-bfaf-77b889fb3022\"]}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`: ping`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`data: {\"type\":\"iteration\",\"iteration\":1,\"stopReason\":\"tool_use\",\"outputTokens\":1420,\"toolCalls\":[\"read_reference\",\"read_nodes\"]}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`: ping`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`data: {\"type\":\"plan_submitted\",\"scenarios\":1,\"endCalls\":0,\"openQuestions\":0}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`data: {\"type\":\"materializing\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`data: {\"type\":\"iteration\",\"iteration\":2,\"stopReason\":\"end_turn\",\"outputTokens\":4700,\"toolCalls\":[\"submit_migration_plan\"]}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`data: {\"type\":\"done\",\"status\":200,\"data\":{\"plan\":{\"displayName\":\"Front desk\",\"hubPrompt\":\"Greet the caller and find out what they need.\\\\n\\\\n## Routing\\\\n\\\\n- \\\\\"Book appointment\\\\\": the caller wants to schedule a visit\",\"scenarios\":[{\"kind\":\"simple\",\"name\":\"Book appointment\",\"entry\":{\"mode\":\"llm\",\"label\":\"Wants to book\"},\"ruleParts\":[{\"legacyPromptOf\":\"73a855b4-7257-4c6e-bd7d-f151a763c9fa\"}]}],\"endCalls\":[],\"report\":{\"architectureSummary\":\"A two-node booking pathway collapsed into one hub and one booking scenario.\",\"dispositions\":[{\"nodeIds\":[\"73a855b4-7257-4c6e-bd7d-f151a763c9fa\"],\"disposition\":\"Became scenario \\\\\"Book appointment\\\\\"\",\"rationale\":\"Single dialogue step.\"},{\"nodeIds\":[\"ddc0765a-8086-4826-bfaf-77b889fb3022\"],\"disposition\":\"Merged into the hub prompt\",\"rationale\":\"Greeting-only node.\"}],\"droppedOrApproximated\":[],\"openQuestions\":[]}},\"snapshot\":{\"behavior\":{\"nodes\":[{\"id\":\"inbound\",\"type\":\"inbound\",\"position\":{\"x\":360,\"y\":-180},\"data\":{\"number\":\"\"}},{\"id\":\"agent\",\"type\":\"agent\",\"position\":{\"x\":192,\"y\":0},\"data\":{\"prompt\":\"Greet the caller and find out what they need.\\\\n\\\\n## Routing\\\\n\\\\n- \\\\\"Book appointment\\\\\": the caller wants to schedule a visit\",\"loopWhile\":\"\",\"variables\":[]}},{\"id\":\"545fe342-06be-4151-aae2-bd10bf128464\",\"type\":\"scenario\",\"position\":{\"x\":0,\"y\":260},\"data\":{\"name\":\"Book appointment\",\"rule\":\"Ask which day and time works for the caller, then confirm the appointment back to them.\",\"target\":{\"kind\":\"dialogue\",\"label\":\"Book appointment\"},\"loopWhile\":\"\",\"variables\":[],\"entry\":{\"mode\":\"llm\",\"label\":\"Wants to book\",\"description\":\"\",\"alwaysPick\":false,\"conditions\":[]}}}],\"edges\":[{\"id\":\"e-inbound-agent\",\"source\":\"inbound\",\"target\":\"agent\"},{\"id\":\"e-agent-book\",\"source\":\"agent\",\"target\":\"545fe342-06be-4151-aae2-bd10bf128464\",\"data\":{\"mode\":\"llm\",\"label\":\"Wants to book\",\"description\":\"\",\"alwaysPick\":false,\"conditions\":[]}}]},\"settings\":{\"displayName\":\"Front desk\",\"systemPrompt\":\"You are the front desk assistant for a dental office.\",\"voice\":\"\",\"languages\":[\"english\"],\"enableMemory\":false,\"interruptionSensitivity\":350,\"backgroundNoise\":\"off\"},\"contact\":{\"inboundNumbers\":[]}},\"lint\":{\"errors\":[],\"warnings\":[]},\"usage\":{\"inputTokens\":48211,\"outputTokens\":6120,\"iterations\":2},\"created\":false},\"errors\":null}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(CodeBlock,{filename:`Invalid Pathway`,numberOfLines:`9`,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:`9`,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:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"errors\"`}),_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:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PATHWAY_TOO_LARGE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pathway exceeds 500 nodes / 2000 edges\"`})]}),`\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`]})})}),_jsx(CodeBlock,{filename:`Rate Limited`,numberOfLines:`9`,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:`9`,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:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"errors\"`}),_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:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TOO_MANY_REQUESTS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Too many pathway migrations started for this organization — please wait before starting another.\"`})]}),`\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`,_jsx(_components.hr,{}),`\n`,_jsxs(_components.p,{children:[`Docs for agents: `,_jsx(_components.a,{href:`/llms.txt`,children:`llms.txt`})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Stream Pathway Migration","api":"POST https://api.bland.ai/v2/agents/migrate/stream","description":"Run a pathway migration with live progress events.","href":"/api-v2/post/agents-migrate-stream"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":3,"children":[]},{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Body Parameters","slug":"body-parameters","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"Event Stream","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"text\">\u003ccode language=\"text\" numberOfLines=\"20\">\u003cspan class=\"line\">\u003cspan>data: {\"type\":\"start\",\"pathway\":\"Front desk booking\",\"nodes\":2,\"edges\":1}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>data: {\"type\":\"read_reference\",\"name\":\"inversion-rules\"}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>data: {\"type\":\"read_nodes\",\"ids\":[\"73a855b4-7257-4c6e-bd7d-f151a763c9fa\",\"ddc0765a-8086-4826-bfaf-77b889fb3022\"]}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>: ping\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>data: {\"type\":\"iteration\",\"iteration\":1,\"stopReason\":\"tool_use\",\"outputTokens\":1420,\"toolCalls\":[\"read_reference\",\"read_nodes\"]}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>: ping\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>data: {\"type\":\"plan_submitted\",\"scenarios\":1,\"endCalls\":0,\"openQuestions\":0}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>data: {\"type\":\"materializing\"}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>data: {\"type\":\"iteration\",\"iteration\":2,\"stopReason\":\"end_turn\",\"outputTokens\":4700,\"toolCalls\":[\"submit_migration_plan\"]}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>data: {\"type\":\"done\",\"status\":200,\"data\":{\"plan\":{\"displayName\":\"Front desk\",\"hubPrompt\":\"Greet the caller and find out what they need.\\n\\n## Routing\\n\\n- \\\"Book appointment\\\": the caller wants to schedule a visit\",\"scenarios\":[{\"kind\":\"simple\",\"name\":\"Book appointment\",\"entry\":{\"mode\":\"llm\",\"label\":\"Wants to book\"},\"ruleParts\":[{\"legacyPromptOf\":\"73a855b4-7257-4c6e-bd7d-f151a763c9fa\"}]}],\"endCalls\":[],\"report\":{\"architectureSummary\":\"A two-node booking pathway collapsed into one hub and one booking scenario.\",\"dispositions\":[{\"nodeIds\":[\"73a855b4-7257-4c6e-bd7d-f151a763c9fa\"],\"disposition\":\"Became scenario \\\"Book appointment\\\"\",\"rationale\":\"Single dialogue step.\"},{\"nodeIds\":[\"ddc0765a-8086-4826-bfaf-77b889fb3022\"],\"disposition\":\"Merged into the hub prompt\",\"rationale\":\"Greeting-only node.\"}],\"droppedOrApproximated\":[],\"openQuestions\":[]}},\"snapshot\":{\"behavior\":{\"nodes\":[{\"id\":\"inbound\",\"type\":\"inbound\",\"position\":{\"x\":360,\"y\":-180},\"data\":{\"number\":\"\"}},{\"id\":\"agent\",\"type\":\"agent\",\"position\":{\"x\":192,\"y\":0},\"data\":{\"prompt\":\"Greet the caller and find out what they need.\\n\\n## Routing\\n\\n- \\\"Book appointment\\\": the caller wants to schedule a visit\",\"loopWhile\":\"\",\"variables\":[]}},{\"id\":\"545fe342-06be-4151-aae2-bd10bf128464\",\"type\":\"scenario\",\"position\":{\"x\":0,\"y\":260},\"data\":{\"name\":\"Book appointment\",\"rule\":\"Ask which day and time works for the caller, then confirm the appointment back to them.\",\"target\":{\"kind\":\"dialogue\",\"label\":\"Book appointment\"},\"loopWhile\":\"\",\"variables\":[],\"entry\":{\"mode\":\"llm\",\"label\":\"Wants to book\",\"description\":\"\",\"alwaysPick\":false,\"conditions\":[]}}}],\"edges\":[{\"id\":\"e-inbound-agent\",\"source\":\"inbound\",\"target\":\"agent\"},{\"id\":\"e-agent-book\",\"source\":\"agent\",\"target\":\"545fe342-06be-4151-aae2-bd10bf128464\",\"data\":{\"mode\":\"llm\",\"label\":\"Wants to book\",\"description\":\"\",\"alwaysPick\":false,\"conditions\":[]}}]},\"settings\":{\"displayName\":\"Front desk\",\"systemPrompt\":\"You are the front desk assistant for a dental office.\",\"voice\":\"\",\"languages\":[\"english\"],\"enableMemory\":false,\"interruptionSensitivity\":350,\"backgroundNoise\":\"off\"},\"contact\":{\"inboundNumbers\":[]}},\"lint\":{\"errors\":[],\"warnings\":[]},\"usage\":{\"inputTokens\":48211,\"outputTokens\":6120,\"iterations\":2},\"created\":false},\"errors\":null}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>\u003c/span>\u003c/span>\u003c/code>\u003c/pre>"},{"filename":"Invalid Pathway","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"errors\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"PATHWAY_TOO_LARGE\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pathway exceeds 500 nodes / 2000 edges\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Rate Limited","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"errors\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"TOO_MANY_REQUESTS\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Too many pathway migrations started for this organization — please wait before starting another.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Stream Pathway Migration","path":"/v2/agents/migrate/stream","servers":[{"url":"https://api.bland.ai"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{"authorization":{"schema":[{"type":"string","description":"Your API key for authentication.","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"pathway":[{"type":"object","properties":{},"description":"The legacy pathway graph, in the shape the pathway editor exports: `nodes` (required, non-empty array), `edges` (required array, may be empty), and optional `name` and `globalPrompt` . Returns `400 INVALID_PATHWAY` if `nodes` or `edges` is missing or `nodes` is empty, and `400 PATHWAY_TOO_LARGE` beyond 500 nodes, 2,000 edges, or 2 MB serialized. See Migrate Pathway for field details.","required":true}],"name":[{"type":"string","description":"Display name for the new agent when `create` is `true` . Defaults to `\u003cpathway.name> (migrated)` , or `unnamed pathway (migrated)` when the pathway has no name."}],"create":[{"type":"boolean","description":"When `true` , the migrated snapshot is saved as a new agent with its first version. Any other value is treated as `false` (dry run)."}]}}],"examples":{"example":{"value":{"pathway":{},"name":"\u003cstring>","create":true}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"type":[{"type":"string","description":"Present on every event. One of `start` , `read_reference` , `read_nodes` , `iteration` , `plan_submitted` , `materializing` , `done` , `error` ."}],"start":[{"type":"object","properties":{"pathway":[{"type":"string","description":"The pathway label (its `name` , or `unnamed pathway` )."}],"nodes":[{"type":"integer","description":"Number of nodes in the submitted graph."}],"edges":[{"type":"integer","description":"Number of edges in the submitted graph."}]},"description":"Emitted once when the planner begins."}],"read_reference":[{"type":"object","properties":{},"description":"The planner consulted one of its internal reference documents. `name` (string) identifies the document."}],"read_nodes":[{"type":"object","properties":{},"description":"The planner read the full content of specific legacy nodes. `ids` (array of strings) lists their IDs."}],"iteration":[{"type":"object","properties":{"iteration":[{"type":"integer","description":"1-based turn counter."}],"stopReason":[{"type":"object","properties":{},"description":"Why the turn ended, for example `tool_use` or `end_turn` ."}],"outputTokens":[{"type":"integer","description":"Tokens the planner produced in this turn."}],"toolCalls":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Names of the planner actions taken this turn, such as `read_nodes` or `submit_migration_plan` ."}]},"description":"One planner turn finished. Turns can be one to three minutes apart."}],"plan_submitted":[{"type":"object","properties":{},"description":"The planner submitted a plan. Carries `scenarios` , `endCalls` , and `openQuestions` (integers). A rejected plan is repaired and resubmitted within the same run, so this can fire more than once."}],"materializing":[{"type":"object","properties":{},"description":"The plan is being turned into an agent snapshot. No other fields."}],"done":[{"type":"object","properties":{"status":[{"type":"integer","description":"The HTTP status Migrate Pathway would have returned: `200` (dry run), `201` (agent created), `422` (validation, lint, or create blocked), or `500` ."}],"data":[{"type":"object","properties":{},"description":"The same `data` object as Migrate Pathway : `plan` , `snapshot` , `lint` , `usage` , `created` , and in create mode `agent` and `version` . Unlike the JSON endpoint, a `422` here still includes the partial `data` (at minimum `plan` , `lint` , and `usage` ) so you can inspect what failed."}],"errors":[{"type":"object","properties":{},"description":"`null` when `status` is `200` or `201` , otherwise the error list."}]},"description":"The run finished. Emitted once, then the stream closes."}],"error":[{"type":"object","properties":{},"description":"The planner itself failed. `message` (string) is safe to show to users. The stream closes after it."}],"errors":[{"type":"object","properties":{},"description":"`null` on success, or a list of error objects if the request failed."}]}}],"examples":{"example":{"value":{"type":"\u003cstring>","start":{"pathway":"\u003cstring>","nodes":123,"edges":123},"read_reference":{},"read_nodes":{},"iteration":{"iteration":123,"stopReason":{},"outputTokens":123,"toolCalls":[{}]},"plan_submitted":{},"materializing":{},"done":{"status":123,"data":{},"errors":{}},"error":{},"errors":{}}}}}}},"deprecated":false}},"jsLinks":["/_mintlify/custom/blandai/02e9da7d1fa2fc47/script.js"],"subdomain":"blandai","siteName":"Bland","title":"Stream Pathway Migration - Bland","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-15T05:20:06.107Z","originalFileLocation":"api-v2/post/agents-migrate-stream.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Run a pathway migration with live progress events.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Bland\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/blandai/L0VNlKoB1A8-QMxb/_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/blandai/L0VNlKoB1A8-QMxb/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/blandai/L0VNlKoB1A8-QMxb/_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/blandai/L0VNlKoB1A8-QMxb/_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/blandai/L0VNlKoB1A8-QMxb/_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/blandai/L0VNlKoB1A8-QMxb/_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/blandai/L0VNlKoB1A8-QMxb/_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/blandai/L0VNlKoB1A8-QMxb/_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/blandai/L0VNlKoB1A8-QMxb/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Stream Pathway Migration - Bland\">\u003cmeta data-mint-head property=\"og:description\" content=\"Run a pathway migration with live progress events.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Bland\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.bland.ai/api-v2/post/agents-migrate-stream\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://blandai.mintlify.app/_mintlify/api/og/v2?division=Migration\u0026amp;title=Stream+Pathway+Migration\u0026amp;description=Run+a+pathway+migration+with+live+progress+events.\u0026amp;theme=60d552fdcd41dd262af0d45c\u0026amp;signature=163b60487e31a72ca7d65117da6bfeabd5ededf92a6f8cfd31ddfa1e9a204a6b\">\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=\"Stream Pathway Migration - Bland\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Run a pathway migration with live progress events.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://blandai.mintlify.app/_mintlify/api/og/v2?division=Migration\u0026amp;title=Stream+Pathway+Migration\u0026amp;description=Run+a+pathway+migration+with+live+progress+events.\u0026amp;theme=60d552fdcd41dd262af0d45c\u0026amp;signature=163b60487e31a72ca7d65117da6bfeabd5ededf92a6f8cfd31ddfa1e9a204a6b\">\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/blandai/L0VNlKoB1A8-QMxb/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Bland\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#CA071A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.bland.ai/api-v2/post/agents-migrate-stream\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-v2/post/agents-migrate-stream.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.bland.ai/#organization\",\"name\":\"Bland\",\"url\":\"https://docs.bland.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/blandai/ccT390llWRoa5cok/logo/light.svg?fit=max\u0026auto=format\u0026n=ccT390llWRoa5cok\u0026q=85\u0026s=c9e5f30d1a8880ad00ef715c1ffa2215\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.bland.ai#website\",\"name\":\"Bland\",\"url\":\"https://docs.bland.ai\",\"publisher\":{\"@id\":\"https://docs.bland.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.bland.ai/api-v2/post/agents-migrate-stream#webpage\",\"url\":\"https://docs.bland.ai/api-v2/post/agents-migrate-stream\",\"name\":\"Stream Pathway Migration\",\"description\":\"Run a pathway migration with live progress events.\",\"dateModified\":\"2026-09-15T05:20:06.107Z\",\"isPartOf\":{\"@id\":\"https://docs.bland.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.bland.ai/api-v2/post/agents-migrate-stream#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.bland.ai/api-v2/post/agents-migrate-stream#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Migration\",\"item\":\"https://docs.bland.ai/api-v2/post/agents-migrate\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Stream Pathway Migration\",\"item\":\"https://docs.bland.ai/api-v2/post/agents-migrate-stream\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.bland.ai/api-v2/post/agents-migrate-stream#apireference\",\"headline\":\"Stream Pathway Migration\",\"name\":\"Stream Pathway Migration\",\"description\":\"Run a pathway migration with live progress events.\",\"url\":\"https://docs.bland.ai/api-v2/post/agents-migrate-stream\",\"mainEntityOfPage\":{\"@id\":\"https://docs.bland.ai/api-v2/post/agents-migrate-stream#webpage\"},\"dateModified\":\"2026-09-15T05:20:06.107Z\",\"publisher\":{\"@id\":\"https://docs.bland.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.bland.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Bland\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Bland","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/QvxDz8zcKe"},{"anchor":"Submit a support ticket","icon":"ticket","href":"https://app.bland.ai/dashboard/support"},{"anchor":"Blog","icon":"newspaper","href":"https://www.bland.ai/blog"},{"anchor":"Enterprise inquiries","icon":"building","href":"https://www.bland.ai/book-a-demo"}]},"products":[{"product":"Voice Agents","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/build-your-first-agent"}]},{"tab":"API Reference","groups":[{"group":"Get Started","pages":[{"title":"Overview","href":"/api-v2/overview"}]},{"group":"Calls","pages":[{"title":"Send Call with an Agent","api":"POST https://api.bland.ai/v1/calls","href":"/api-v1/post/calls-agent"},{"title":"Send Call","api":"POST https://api.bland.ai/v1/calls","href":"/api-v1/post/calls"},{"title":"Analyze Call with AI","api":"POST https://api.bland.ai/v1/calls/{call_id}/analyze","href":"/api-v1/post/calls-id-analyze"},{"title":"Stop Active Call","api":"POST https://api.bland.ai/v1/calls/{call_id}/stop","href":"/api-v1/post/calls-id-stop"},{"title":"Listen to Active Call","api":"POST https://api.bland.ai/v1/calls/{call_id}/listen","href":"/api-v1/post/calls-id-listen"},{"title":"Get Transcript Stream URL","api":"POST https://api.bland.ai/v1/calls/{call_id}/transcript-stream/token","href":"/api-v1/post/calls-id-transcript-stream-token"},{"title":"Post-Transfer Transcript Stream (WebSocket)","href":"/api-v1/post/calls-id-transcript-stream"},{"title":"Stop All Active Calls","api":"POST https://us.api.bland.ai/v1/calls/active/stop","href":"/api-v1/post/calls-active-stop"},{"title":"Transfer Active Call","api":"POST https://api.bland.ai/v1/calls/active/transfer","href":"/api-v1/post/calls-active-transfer"},{"title":"List Calls","api":"GET https://api.bland.ai/v1/calls","href":"/api-v1/get/calls"},{"title":"List Active Calls","api":"GET https://api.bland.ai/v1/calls/active","href":"/api-v1/get/active"},{"title":"Call Details","api":"GET https://api.bland.ai/v1/calls/{call_id}","href":"/api-v1/get/calls-id"},{"title":"Event Stream","api":"GET https://api.bland.ai/v1/event_stream/{call_id}","href":"/api-v1/get/event-stream"},{"title":"Get Call Recording","api":"GET https://api.bland.ai/v1/recordings/{call_id}","href":"/api-v1/get/calls-id-recording"},{"title":"Get corrected transcripts","api":"GET https://api.bland.ai/v1/calls/{call_id}/correct","href":"/api-v1/get/calls-corrected-transcript"},{"group":"Post Call","pages":[{"title":"Get Post Call Webhook","api":"GET https://api.bland.ai/v1/postcall/webhooks/{call_id}","href":"/api-v1/get/postcall-webhooks-get"},{"title":"Create Post Call Webhook","api":"POST https://api.bland.ai/v1/postcall/webhooks/create","href":"/api-v1/post/postcall-webhooks-create"},{"title":"Resend Post Call Webhook","api":"POST https://api.bland.ai/v1/postcall/webhooks/resend","href":"/api-v1/post/postcall-webhooks-resend"}]}]},{"group":"Agents","pages":[{"title":"Create Agent","api":"POST https://api.bland.ai/v2/agents","href":"/api-v2/post/agents"},{"title":"List Agents","api":"GET https://api.bland.ai/v2/agents","href":"/api-v2/get/agents"},{"title":"Get Agent","api":"GET https://api.bland.ai/v2/agents/{agent_id}","href":"/api-v2/get/agents-id"},{"title":"Update Agent","api":"PATCH https://api.bland.ai/v2/agents/{agent_id}","href":"/api-v2/patch/agents-id"},{"title":"Delete Agent","api":"DELETE https://api.bland.ai/v2/agents/{agent_id}","href":"/api-v2/delete/agents-id"},{"group":"Phone Numbers","pages":[{"title":"Get Agent Number Binding","api":"GET https://api.bland.ai/v2/agents/{agent_id}/inbound","href":"/api-v2/get/agents-id-inbound"},{"title":"Attach Numbers to Agent","api":"POST https://api.bland.ai/v2/agents/{agent_id}/inbound/attach","href":"/api-v2/post/agents-id-inbound-attach"},{"title":"Detach Numbers from Agent","api":"POST https://api.bland.ai/v2/agents/{agent_id}/inbound/detach","href":"/api-v2/post/agents-id-inbound-detach"}]},{"group":"Agent Onboarding","pages":[{"title":"Start Agent Onboarding","api":"POST https://api.bland.ai/v1/agent/onboarding/start","href":"/api-v1/post/agent-onboarding-start"},{"title":"Poll Agent Onboarding","api":"POST https://api.bland.ai/v1/agent/onboarding/poll","href":"/api-v1/post/agent-onboarding-poll"},{"title":"Approve Agent Onboarding","api":"POST https://api.bland.ai/v1/agent/onboarding/approve","href":"/api-v1/post/agent-onboarding-approve"}]},{"group":"Agent Phone Plan","pages":[{"title":"Cancel Agent Phone Plan","api":"POST https://api.bland.ai/billing/cancel_agent_phone","href":"/api-v1/post/agent-phone-plan-cancel"},{"title":"Submit Cancellation Feedback","api":"POST https://api.bland.ai/billing/cancel_agent_phone/feedback","href":"/api-v1/post/agent-phone-plan-cancel-feedback"}]}]},{"group":"Versions","pages":[{"title":"Create Agent Version","api":"POST https://api.bland.ai/v2/agents/{agent_id}/versions","href":"/api-v2/post/agents-id-versions"},{"title":"List Agent Versions","api":"GET https://api.bland.ai/v2/agents/{agent_id}/versions","href":"/api-v2/get/agents-id-versions"},{"title":"Get Latest Agent Version","api":"GET https://api.bland.ai/v2/agents/{agent_id}/versions/latest","href":"/api-v2/get/agents-id-versions-latest"},{"title":"Get Agent Version","api":"GET https://api.bland.ai/v2/agents/{agent_id}/versions/{semver}","href":"/api-v2/get/agents-id-versions-semver"},{"title":"Get Scenario History","api":"GET https://api.bland.ai/v2/agents/{agent_id}/scenarios/{node_id}/history","href":"/api-v2/get/agents-id-scenarios-node-id-history"}]},{"group":"Identity","pages":[{"title":"Get Agent Identity","api":"GET https://api.bland.ai/v2/agents/{agent_id}/identity","href":"/api-v2/get/agents-id-identity"},{"title":"Update Agent Identity","api":"PUT https://api.bland.ai/v2/agents/{agent_id}/identity","href":"/api-v2/put/agents-id-identity"},{"title":"Upload Agent Logo","api":"POST https://api.bland.ai/v2/agents/{agent_id}/identity/logo","href":"/api-v2/post/agents-id-identity-logo"},{"title":"Download Agent Contact Card","api":"GET https://api.bland.ai/v2/agents/{agent_id}/identity/contact-card.vcf","href":"/api-v2/get/agents-id-identity-contact-card"},{"title":"Send Test Contact Card","api":"POST https://api.bland.ai/v2/agents/{agent_id}/identity/contact-card/test","href":"/api-v2/post/agents-id-identity-contact-card-test"}]},{"group":"Environments and Releases","pages":[{"title":"List Agent Environments","api":"GET https://api.bland.ai/v2/agents/{agent_id}/environments","href":"/api-v2/get/agents-id-environments"},{"title":"List Agent Deployments","api":"GET https://api.bland.ai/v2/agents/{agent_id}/deployments","href":"/api-v2/get/agents-id-deployments"},{"title":"Publish Agent to Staging","api":"POST https://api.bland.ai/v2/agents/{agent_id}/publish","href":"/api-v2/post/agents-id-publish"},{"title":"Promote Agent to Production","api":"POST https://api.bland.ai/v2/agents/{agent_id}/promote","href":"/api-v2/post/agents-id-promote"},{"title":"Roll Back Agent","api":"POST https://api.bland.ai/v2/agents/{agent_id}/rollback","href":"/api-v2/post/agents-id-rollback"}]},{"group":"Branches","pages":[{"title":"List Agent Branches","api":"GET https://api.bland.ai/v2/agents/{agent_id}/branches","href":"/api-v2/get/agents-id-branches"},{"title":"Create Agent Branch","api":"POST https://api.bland.ai/v2/agents/{agent_id}/branches","href":"/api-v2/post/agents-id-branches"},{"title":"Delete Agent Branch","api":"DELETE https://api.bland.ai/v2/agents/{agent_id}/branches/{branch_id}","href":"/api-v2/delete/agents-id-branches-branch-id"},{"title":"Preview Agent Branch Rebase","api":"POST https://api.bland.ai/v2/agents/{agent_id}/branches/{branch_id}/rebase-preview","href":"/api-v2/post/agents-id-branches-branch-id-rebase-preview"},{"title":"Rebase Agent Branch","api":"POST https://api.bland.ai/v2/agents/{agent_id}/branches/{branch_id}/rebase","href":"/api-v2/post/agents-id-branches-branch-id-rebase"},{"title":"Merge Agent Branch","api":"POST https://api.bland.ai/v2/agents/{agent_id}/branches/{branch_id}/merge","href":"/api-v2/post/agents-id-branches-branch-id-merge"}]},{"group":"Variables","pages":[{"title":"List Agent Variables","api":"GET https://api.bland.ai/v2/agents/{agent_id}/environments/{env}/variables","href":"/api-v2/get/agents-id-environments-env-variables"},{"title":"Set Agent Variable","api":"PUT https://api.bland.ai/v2/agents/{agent_id}/environments/{env}/variables/{key}","href":"/api-v2/put/agents-id-environments-env-variables-key"},{"title":"Delete Agent Variable","api":"DELETE https://api.bland.ai/v2/agents/{agent_id}/environments/{env}/variables/{key}","href":"/api-v2/delete/agents-id-environments-env-variables-key"}]},{"group":"Checks","pages":[{"title":"Get Checks","api":"GET https://api.bland.ai/v2/agents/{agent_id}/environments/{env}/checks","href":"/api-v2/get/agents-id-environments-env-checks"},{"title":"Set Checks","api":"PUT https://api.bland.ai/v2/agents/{agent_id}/environments/{env}/checks","href":"/api-v2/put/agents-id-environments-env-checks"},{"title":"Delete Checks","api":"DELETE https://api.bland.ai/v2/agents/{agent_id}/environments/{env}/checks","href":"/api-v2/delete/agents-id-environments-env-checks"},{"title":"Start Check Run","api":"POST https://api.bland.ai/v2/agents/{agent_id}/environments/{env}/check-runs","href":"/api-v2/post/agents-id-environments-env-check-runs"},{"title":"List Check Runs","api":"GET https://api.bland.ai/v2/agents/{agent_id}/check-runs","href":"/api-v2/get/agents-id-check-runs"},{"title":"Get Check Run","api":"GET https://api.bland.ai/v2/agents/{agent_id}/check-runs/{run_id}","href":"/api-v2/get/agents-id-check-runs-run-id"},{"title":"Cancel Check Run","api":"POST https://api.bland.ai/v2/agents/{agent_id}/check-runs/{run_id}/cancel","href":"/api-v2/post/agents-id-check-runs-run-id-cancel"},{"title":"Remove Check Eval","api":"DELETE https://api.bland.ai/v2/agents/{agent_id}/environments/{env}/checks/evals/{eval_agent_id}","href":"/api-v2/delete/agents-id-environments-env-checks-evals-eval-agent-id"}]},{"group":"Experiments","pages":[{"title":"Create Experiment","api":"POST https://api.bland.ai/v2/agents/{agent_id}/experiments","href":"/api-v2/post/agents-id-experiments"},{"title":"List Experiments","api":"GET https://api.bland.ai/v2/agents/{agent_id}/experiments","href":"/api-v2/get/agents-id-experiments"},{"title":"Get Experiment","api":"GET https://api.bland.ai/v2/agents/{agent_id}/experiments/{experiment_id}","href":"/api-v2/get/agents-id-experiments-experiment-id"},{"title":"Update Experiment","api":"PATCH https://api.bland.ai/v2/agents/{agent_id}/experiments/{experiment_id}","href":"/api-v2/patch/agents-id-experiments-experiment-id"},{"title":"Stop Experiment","api":"POST https://api.bland.ai/v2/agents/{agent_id}/experiments/{experiment_id}/stop","href":"/api-v2/post/agents-id-experiments-experiment-id-stop"}]},{"group":"Dispositions","pages":[{"title":"List Dispositions","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions","href":"/api-v2/get/agents-id-dispositions"},{"title":"Delete Disposition","api":"DELETE https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}","href":"/api-v2/delete/agents-id-dispositions-disposition-id"},{"title":"Create Disposition","api":"POST https://api.bland.ai/v2/agents/{agent_id}/dispositions","href":"/api-v2/post/agents-id-dispositions"},{"title":"Get Disposition","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}","href":"/api-v2/get/agents-id-dispositions-disposition-id"},{"title":"Get Disposition Draft","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/draft","href":"/api-v2/get/agents-id-dispositions-disposition-id-draft"},{"title":"Update Disposition Draft","api":"PATCH https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/draft","href":"/api-v2/patch/agents-id-dispositions-disposition-id-draft"},{"title":"List Disposition Versions","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/versions","href":"/api-v2/get/agents-id-dispositions-disposition-id-versions"},{"title":"Get Disposition Version","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/versions/{version_id}","href":"/api-v2/get/agents-id-dispositions-disposition-id-versions-version-id"},{"title":"Estimate Disposition Cost","api":"POST https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/estimates","href":"/api-v2/post/agents-id-dispositions-disposition-id-estimates"},{"title":"Publish Disposition","api":"POST https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/publish","href":"/api-v2/post/agents-id-dispositions-disposition-id-publish"},{"title":"Disable Disposition","api":"POST https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/disable","href":"/api-v2/post/agents-id-dispositions-disposition-id-disable"},{"title":"List Call Disposition Runs","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/call-runs","href":"/api-v2/get/agents-id-dispositions-call-runs"},{"group":"Test Runs","pages":[{"title":"List Disposition Test Runs","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/runs","href":"/api-v2/get/agents-id-dispositions-disposition-id-runs"},{"title":"Create Disposition Test Run","api":"POST https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/runs","href":"/api-v2/post/agents-id-dispositions-disposition-id-runs"},{"title":"Get Disposition Test Run","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/runs/{run_id}","href":"/api-v2/get/agents-id-dispositions-disposition-id-runs-run-id"},{"title":"Get Test Run Rows","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/runs/{run_id}/rows","href":"/api-v2/get/agents-id-dispositions-disposition-id-runs-run-id-rows"},{"title":"Export Test Run CSV","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/runs/{run_id}/export.csv","href":"/api-v2/get/agents-id-dispositions-disposition-id-runs-run-id-export-csv"},{"title":"Align Disposition Test Run","api":"POST https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/runs/{run_id}/align","href":"/api-v2/post/agents-id-dispositions-disposition-id-runs-run-id-align"},{"title":"Correct Test Run Value","api":"PUT https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/runs/{run_id}/cases/{call_id}/annotations/{value_id}","href":"/api-v2/put/agents-id-dispositions-disposition-id-runs-run-id-cases-call-id-annotations-value-id"},{"title":"List Test Run Correction Revisions","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/runs/{run_id}/cases/{call_id}/annotations/{value_id}","href":"/api-v2/get/agents-id-dispositions-disposition-id-runs-run-id-cases-call-id-annotations-value-id"}]},{"group":"Extractors","pages":[{"title":"List Disposition Extractors","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/extractors","href":"/api-v2/get/agents-id-dispositions-extractors"},{"title":"Create Disposition Extractor","api":"POST https://api.bland.ai/v2/agents/{agent_id}/dispositions/extractors","href":"/api-v2/post/agents-id-dispositions-extractors"},{"title":"Get Disposition Extractor","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/extractors/{extractor_id}","href":"/api-v2/get/agents-id-dispositions-extractors-extractor-id"},{"title":"Get Disposition Extractor Version","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/extractors/{extractor_id}/versions/{version_id}","href":"/api-v2/get/agents-id-dispositions-extractors-extractor-id-versions-version-id"},{"title":"Update Disposition Extractor Draft","api":"PATCH https://api.bland.ai/v2/agents/{agent_id}/dispositions/extractors/{extractor_id}/draft","href":"/api-v2/patch/agents-id-dispositions-extractors-extractor-id-draft"},{"title":"Publish Disposition Extractor","api":"POST https://api.bland.ai/v2/agents/{agent_id}/dispositions/extractors/{extractor_id}/publish","href":"/api-v2/post/agents-id-dispositions-extractors-extractor-id-publish"}]},{"group":"Catalogs","pages":[{"title":"Get Judge Catalog","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/judge-catalog","href":"/api-v2/get/agents-id-dispositions-judge-catalog"},{"title":"Get Judge Version","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/judges/{judge_id}/versions/{version_id}","href":"/api-v2/get/agents-id-dispositions-judges-judge-id-versions-version-id"},{"title":"Get Variable Catalog","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/variable-catalog","href":"/api-v2/get/agents-id-dispositions-variable-catalog"},{"title":"Get Model Profile Catalog","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/model-profile-catalog","href":"/api-v2/get/agents-id-dispositions-model-profile-catalog"},{"title":"Get Extractor Catalog","api":"GET https://api.bland.ai/v2/agents/{agent_id}/dispositions/extractor-catalog","href":"/api-v2/get/agents-id-dispositions-extractor-catalog"}]}]},{"group":"Library","pages":[{"title":"List Library Scenarios","api":"GET https://api.bland.ai/v2/agents/library/scenarios","href":"/api-v2/get/agents-library-scenarios"},{"title":"List Archived Nodes","api":"GET https://api.bland.ai/v2/agents/library/archived-nodes","href":"/api-v2/get/agents-library-archived-nodes"},{"title":"Delete Archived Node","api":"DELETE https://api.bland.ai/v2/agents/library/archived-nodes/{archived_node_id}","href":"/api-v2/delete/agents-library-archived-nodes-archived-node-id"},{"title":"Archive Agent Node","api":"POST https://api.bland.ai/v2/agents/{agent_id}/archived-nodes","href":"/api-v2/post/agents-id-archived-nodes"}]},{"group":"Migration","pages":[{"title":"Migrate Pathway","api":"POST https://api.bland.ai/v2/agents/migrate","description":"Plan and build an agent from a legacy pathway graph.","href":"/api-v2/post/agents-migrate"},{"title":"Stream Pathway Migration","api":"POST https://api.bland.ai/v2/agents/migrate/stream","href":"/api-v2/post/agents-migrate-stream"},{"title":"Migrate Persona","api":"POST https://api.bland.ai/v2/agents/migrate/persona","description":"Build an agent from a persona and its attached pathways.","href":"/api-v2/post/agents-migrate-persona"},{"title":"Migrate Pathways","api":"POST https://api.bland.ai/v2/agents/migrate/pathways","href":"/api-v2/post/agents-migrate-pathways"},{"title":"Start Pathway Translation","api":"POST https://api.bland.ai/v2/agents/migrate/translations","href":"/api-v2/post/agents-migrate-translations"},{"title":"Get Pathway Translation Run","api":"GET https://api.bland.ai/v2/agents/migrate/translations/{run_id}","href":"/api-v2/get/agents-migrate-translations-run-id"},{"title":"Cancel Pathway Translation Run","api":"POST https://api.bland.ai/v2/agents/migrate/translations/{run_id}/cancellations","href":"/api-v2/post/agents-migrate-translations-run-id-cancellations"}]},{"group":"Knowledge Bases","pages":[{"title":"Upload File","api":"POST https://api.bland.ai/v1/knowledge/learn","href":"/api-v1/post/knowledge-learn-file"},{"title":"Upload Text","api":"POST https://api.bland.ai/v1/knowledge/learn","href":"/api-v1/post/knowledge-learn-text"},{"title":"Scrape Websites","api":"POST https://api.bland.ai/v1/knowledge/learn","href":"/api-v1/post/knowledge-learn-web"},{"title":"List Knowledge Base Items","api":"GET https://api.bland.ai/v1/knowledge","href":"/api-v1/get/knowledge"},{"title":"Get Knowledge Base Item","api":"GET https://api.bland.ai/v1/knowledge/{knowledge_base_id}","href":"/api-v1/get/knowledge-id"},{"title":"Update Knowledge Base Item","api":"PUT https://api.bland.ai/v1/knowledge/{knowledge_base_id}","href":"/api-v1/put/knowledge-id"},{"title":"Delete Knowledge Base Item","api":"DELETE https://api.bland.ai/v1/knowledge/{knowledge_base_id}","href":"/api-v1/delete/knowledge-id"},{"title":"Discover Sitemap URLs","api":"POST https://api.bland.ai/v1/knowledge/crawl","href":"/api-v1/post/knowledge-crawl"},{"title":"Chat with Knowledge Base Item","api":"POST https://api.bland.ai/v1/knowledge/chat","href":"/api-v1/post/knowledge-chat"}]},{"group":"Numbers","pages":[{"title":"Purchase Phone Number","api":"POST https://api.bland.ai/numbers/purchase","href":"/api-v1/post/inbound-purchase"},{"title":"Update Inbound Number Details","api":"POST https://api.bland.ai/v1/inbound/{phone_number}","href":"/api-v1/post/inbound-number-update"},{"title":"Update Inbound Number Label","api":"POST https://api.bland.ai/inbound/update_label","href":"/api-v1/post/inbound-update-label"},{"title":"List Numbers","api":"GET https://api.bland.ai/v1/inbound","href":"/api-v1/get/inbound"},{"title":"Number Details","api":"GET https://api.bland.ai/v1/inbound/{phone_number}","href":"/api-v1/get/inbound-number"},{"title":"Create Inbound Session","api":"POST https://api.bland.ai/v1/inbound/session","href":"/api-v1/post/inbound-session"},{"title":"Get Voice Pool","api":"GET https://api.bland.ai/v1/inbound/{phone_number}/voice-pool","href":"/api-v1/get/inbound-number-voice-pool"},{"title":"Set Voice Pool","api":"POST https://api.bland.ai/v1/inbound/{phone_number}/voice-pool","href":"/api-v1/post/inbound-number-voice-pool"}]},{"group":"Blocked Numbers","pages":[{"title":"Create Block Rules","api":"POST https://api.bland.ai/v1/blocked_numbers","href":"/api-v1/post/blocked-numbers"},{"title":"List Block Rules","api":"GET https://api.bland.ai/v1/blocked_numbers","href":"/api-v1/get/blocked-numbers"},{"title":"Get Block Rule","api":"GET https://api.bland.ai/v1/blocked_numbers/{block_id}","href":"/api-v1/get/blocked-numbers-id"},{"title":"Delete Block Rule","api":"DELETE https://api.bland.ai/v1/blocked_numbers/{block_id}","href":"/api-v1/delete/blocked-numbers-id"},{"title":"Edit Block Rule","api":"POST https://api.bland.ai/v1/blocked_numbers/{block_id}/edit","href":"/api-v1/post/blocked-numbers-id-edit"}]},{"group":"Widgets","pages":[{"title":"Create Widget","api":"POST https://api.bland.ai/v1/widget","href":"/api-v1/post/widget"},{"title":"List Widgets","api":"GET https://api.bland.ai/v1/widgets","href":"/api-v1/get/widgets"},{"title":"Get Widget by ID","api":"GET https://api.bland.ai/v1/widget/{id}","href":"/api-v1/get/widget-id"},{"title":"Update Widget","api":"PATCH https://api.bland.ai/v1/widget/{id}","href":"/api-v1/patch/widget-id"},{"title":"Get Widget Threads","api":"GET https://api.bland.ai/v1/widget/{id}/threads","href":"/api-v1/get/widget-id-threads"},{"title":"Send Live Agent Message","api":"POST https://api.bland.ai/v1/widget/{id}/threads/{thread_id}/webhook","href":"/api-v1/post/widget-thread-webhook"},{"title":"List Custom Components","api":"GET https://api.bland.ai/v1/widget/custom_components","href":"/api-v1/get/widget-custom-components"},{"title":"Create Custom Component","api":"POST https://api.bland.ai/v1/widget/custom_components","href":"/api-v1/post/widget-custom-components"},{"title":"Update Custom Component","api":"PATCH https://api.bland.ai/v1/widget/custom_components/{id}","href":"/api-v1/patch/widget-custom-components-id"},{"title":"Delete Custom Component","api":"DELETE https://api.bland.ai/v1/widget/custom_components/{id}","href":"/api-v1/delete/widget-custom-components-id"}]},{"group":"Tools","pages":[{"title":"Create Tool","api":"POST https://api.bland.ai/v2/tools","href":"/api-v2/post/tools"},{"title":"Update Tool","api":"POST https://api.bland.ai/v2/tools/{tool_id}","href":"/api-v2/post/tools-tool-id"},{"title":"List Tools","api":"GET https://api.bland.ai/v2/tools","href":"/api-v2/get/tools"},{"group":"Logs \u0026 Analytics","pages":[{"title":"Tool Execution Logs","api":"GET https://api.bland.ai/v2/tools/logs","href":"/api-v2/get/tools-logs"},{"title":"Tool Execution Stats","api":"GET https://api.bland.ai/v2/tools/logs/stats","href":"/api-v2/get/tools-logs-stats"}]}]},{"group":"Contacts","pages":[{"title":"List Contacts","api":"GET https://api.bland.ai/v1/contacts","href":"/api-v1/get/contacts"},{"title":"Find Contact","api":"POST https://api.bland.ai/v1/contacts/find","href":"/api-v1/get/contacts-find"},{"title":"Get Contact","api":"GET https://api.bland.ai/v1/contacts/{contact_id}","href":"/api-v1/get/contacts-id"},{"title":"Resolve Contact","api":"POST https://api.bland.ai/v1/contacts/resolve","href":"/api-v1/post/contacts-resolve"},{"title":"Update Contact","api":"PATCH https://api.bland.ai/v1/contacts/{contact_id}","href":"/api-v1/patch/contacts-id"},{"title":"Merge Contacts","api":"POST https://api.bland.ai/v1/contacts/merge","href":"/api-v1/post/contacts-merge"}]},{"group":"Memory","pages":[{"title":"Create Contact Memory","api":"POST https://api.bland.ai/v1/memory/contact","href":"/api-v1/post/memory-contact"},{"title":"Get Contact Memory","api":"GET https://api.bland.ai/v1/memory/contact/{memory_id}","href":"/api-v1/get/memory-contact-id"},{"title":"List Recent Messages","api":"GET https://api.bland.ai/v1/memory/contact/{memory_id}/messages","href":"/api-v1/get/memory-contact-id-messages"},{"title":"Update Conversation Summary","api":"PATCH https://api.bland.ai/v1/memory/contact/{memory_id}/summary","href":"/api-v1/patch/memory-contact-id-summary"},{"title":"Update Contact Facts","api":"PATCH https://api.bland.ai/v1/memory/contact/{memory_id}/facts","href":"/api-v1/patch/memory-contact-id-facts"},{"title":"Get Memory Context","api":"GET https://api.bland.ai/v1/memory/context","href":"/api-v1/get/memory-context"},{"title":"Get Memory Changes","api":"GET https://api.bland.ai/v1/memory/changes","href":"/api-v1/get/memory-changes"},{"title":"Reset Contact Memory","api":"POST https://api.bland.ai/v1/memory/reset","href":"/api-v1/post/memory-reset"},{"title":"Enable or Disable Memory","api":"POST https://api.bland.ai/v1/memory/enable","href":"/api-v1/post/memory-enable"},{"group":"Agent Memory Schema","pages":[{"title":"Get Agent Memory Schema","api":"GET https://api.bland.ai/v2/agents/{agent_id}/memory/schema","href":"/api-v2/get/agents-id-memory-schema"},{"title":"Infer Agent Memory Schema","api":"POST https://api.bland.ai/v2/agents/{agent_id}/memory/schema/infer","href":"/api-v2/post/agents-id-memory-schema-infer"}]}]},{"group":"Agent Testing","pages":[{"title":"Create Test Scenario","api":"POST https://api.bland.ai/v1/agent-testing/scenarios","href":"/api-v1/post/agent-testing-scenarios"},{"title":"List Test Scenarios","api":"GET https://api.bland.ai/v1/agent-testing/scenarios","href":"/api-v1/get/agent-testing-scenarios"},{"title":"Get Test Scenario","api":"GET https://api.bland.ai/v1/agent-testing/scenarios/{id}","href":"/api-v1/get/agent-testing-scenarios-id"},{"title":"Update Test Scenario","api":"PUT https://api.bland.ai/v1/agent-testing/scenarios/{id}","href":"/api-v1/put/agent-testing-scenarios-id"},{"title":"Delete Test Scenario","api":"DELETE https://api.bland.ai/v1/agent-testing/scenarios/{id}","href":"/api-v1/delete/agent-testing-scenarios-id"},{"title":"List Test Templates","api":"GET https://api.bland.ai/v1/agent-testing/templates","href":"/api-v1/get/agent-testing-templates"},{"title":"Clone Test Template","api":"POST https://api.bland.ai/v1/agent-testing/templates/{id}/clone","href":"/api-v1/post/agent-testing-templates-clone"},{"title":"Generate Scenario from Call","api":"POST https://api.bland.ai/v1/agent-testing/scenarios/generate-from-call","href":"/api-v1/post/agent-testing-scenarios-generate"},{"title":"Run Test Scenario","api":"POST https://api.bland.ai/v1/agent-testing/scenarios/{id}/run","href":"/api-v1/post/agent-testing-scenarios-run"},{"title":"Batch Run Scenarios","api":"POST https://api.bland.ai/v1/agent-testing/batch-run","href":"/api-v1/post/agent-testing-batch-run"},{"title":"List Test Runs","api":"GET https://api.bland.ai/v1/agent-testing/runs","href":"/api-v1/get/agent-testing-runs"},{"title":"Get Test Run","api":"GET https://api.bland.ai/v1/agent-testing/runs/{id}","href":"/api-v1/get/agent-testing-runs-id"},{"title":"Get Test Batch","api":"GET https://api.bland.ai/v1/agent-testing/batches/{id}","href":"/api-v1/get/agent-testing-batches-id"},{"title":"Analyze Failed Run","api":"POST https://api.bland.ai/v1/agent-testing/runs/{id}/analyze","href":"/api-v1/post/agent-testing-runs-analyze"},{"title":"Get Test Analytics","api":"GET https://api.bland.ai/v1/agent-testing/analytics/{pathwayId}","href":"/api-v1/get/agent-testing-analytics"},{"title":"Get Enhanced Analytics","api":"GET https://api.bland.ai/v1/agent-testing/analytics/{pathwayId}/enhanced","href":"/api-v1/get/agent-testing-analytics-enhanced"},{"group":"Simulation Sets","pages":[{"title":"Create Simulation Set","api":"POST https://api.bland.ai/v1/agent-testing/simulation-sets","href":"/api-v1/post/agent-testing-simulation-sets"},{"title":"Get Simulation Set","api":"GET https://api.bland.ai/v1/agent-testing/simulation-sets/{id}","href":"/api-v1/get/agent-testing-simulation-sets-id"}]}]},{"group":"Evals","pages":[{"title":"Get Evals Status","api":"GET https://api.bland.ai/v1/evals/status","href":"/api-v1/get/evals-status"},{"group":"Eval Agents","pages":[{"title":"List Eval Agents","api":"GET https://api.bland.ai/v1/evals/agents","href":"/api-v1/get/evals-agents"},{"title":"Create Eval Agent","api":"POST https://api.bland.ai/v1/evals/agents","href":"/api-v1/post/evals-agents"},{"title":"Get Eval Agent","api":"GET https://api.bland.ai/v1/evals/agents/{eval_agent_id}","href":"/api-v1/get/evals-agents-id"},{"title":"Update Eval Agent","api":"PATCH https://api.bland.ai/v1/evals/agents/{eval_agent_id}","href":"/api-v1/patch/evals-agents-id"},{"title":"Delete Eval Agent","api":"DELETE https://api.bland.ai/v1/evals/agents/{eval_agent_id}","href":"/api-v1/delete/evals-agents-id"},{"title":"Publish Eval Agent","api":"POST https://api.bland.ai/v1/evals/agents/{eval_agent_id}/publications","href":"/api-v1/post/evals-agents-id-publish"},{"group":"Versions","pages":[{"title":"List Eval Agent Versions","api":"GET https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions","href":"/api-v1/get/evals-agents-id-versions"},{"title":"Create Eval Agent Version","api":"POST https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions","href":"/api-v1/post/evals-agents-id-versions"},{"title":"Get Eval Agent Version","api":"GET https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions/{version_id}","href":"/api-v1/get/evals-agents-id-versions-id"},{"title":"Update Eval Agent Version","api":"PATCH https://api.bland.ai/v1/evals/agents/{eval_agent_id}/versions/{version_id}","href":"/api-v1/patch/evals-agents-id-versions-id"}]}]},{"group":"Experiments","pages":[{"title":"List Eval Runs","api":"GET https://api.bland.ai/v1/evals/runs","href":"/api-v1/get/evals-runs"},{"title":"Create Eval Run","api":"POST https://api.bland.ai/v1/evals/runs","href":"/api-v1/post/evals-runs"},{"title":"Estimate Eval Run","api":"POST https://api.bland.ai/v1/evals/runs/estimates","href":"/api-v1/post/evals-runs-estimates"},{"title":"Get Eval Run","api":"GET https://api.bland.ai/v1/evals/runs/{run_id}","href":"/api-v1/get/evals-runs-id"},{"title":"Cancel Eval Run","api":"POST https://api.bland.ai/v1/evals/runs/{run_id}/cancellations","href":"/api-v1/post/evals-runs-id-cancel"},{"group":"Results","pages":[{"title":"List Call Results","api":"GET https://api.bland.ai/v1/evals/runs/{run_id}/call-results","href":"/api-v1/get/evals-runs-id-call-results"},{"title":"List Agent Results","api":"GET https://api.bland.ai/v1/evals/runs/{run_id}/agent-results","href":"/api-v1/get/evals-runs-id-agent-results"},{"title":"List Agent Snapshots","api":"GET https://api.bland.ai/v1/evals/runs/{run_id}/agent-snapshots","href":"/api-v1/get/evals-runs-id-agent-snapshots"}]}]},{"group":"Workbench Setups","pages":[{"title":"List Workbench Setups","api":"GET https://api.bland.ai/v1/evals/workbench-setups","href":"/api-v1/get/evals-workbench-setups"},{"title":"Create Workbench Setup","api":"POST https://api.bland.ai/v1/evals/workbench-setups","href":"/api-v1/post/evals-workbench-setups"},{"title":"Get Workbench Setup","api":"GET https://api.bland.ai/v1/evals/workbench-setups/{setup_id}","href":"/api-v1/get/evals-workbench-setups-id"},{"title":"Update Workbench Setup","api":"PATCH https://api.bland.ai/v1/evals/workbench-setups/{setup_id}","href":"/api-v1/patch/evals-workbench-setups-id"},{"title":"Delete Workbench Setup","api":"DELETE https://api.bland.ai/v1/evals/workbench-setups/{setup_id}","href":"/api-v1/delete/evals-workbench-setups-id"},{"title":"Publish Workbench Setup","api":"POST https://api.bland.ai/v1/evals/workbench-setups/{setup_id}/publications","href":"/api-v1/post/evals-workbench-setups-id-publish"},{"group":"Versions","pages":[{"title":"List Workbench Setup Versions","api":"GET https://api.bland.ai/v1/evals/workbench-setups/{setup_id}/versions","href":"/api-v1/get/evals-workbench-setups-id-versions"},{"title":"Create Workbench Setup Version","api":"POST https://api.bland.ai/v1/evals/workbench-setups/{setup_id}/versions","href":"/api-v1/post/evals-workbench-setups-id-versions"},{"title":"Get Workbench Setup Version","api":"GET https://api.bland.ai/v1/evals/workbench-setups/{setup_id}/versions/{version_id}","href":"/api-v1/get/evals-workbench-setups-id-versions-id"},{"title":"Update Workbench Setup Version","api":"PATCH https://api.bland.ai/v1/evals/workbench-setups/{setup_id}/versions/{version_id}","href":"/api-v1/patch/evals-workbench-setups-id-versions-id"}]}]},{"group":"Templates","pages":[{"title":"List Eval Agent Templates","api":"GET https://api.bland.ai/v1/evals/agent-templates","href":"/api-v1/get/evals-agent-templates"},{"title":"Get Eval Agent Template","api":"GET https://api.bland.ai/v1/evals/agent-templates/{template_key}","href":"/api-v1/get/evals-agent-templates-key"},{"title":"List User Templates","api":"GET https://api.bland.ai/v1/evals/user-templates","href":"/api-v1/get/evals-user-templates"},{"title":"Create User Template","api":"POST https://api.bland.ai/v1/evals/user-templates","href":"/api-v1/post/evals-user-templates"},{"title":"Get User Template","api":"GET https://api.bland.ai/v1/evals/user-templates/{id}","href":"/api-v1/get/evals-user-templates-id"},{"title":"Update User Template","api":"PATCH https://api.bland.ai/v1/evals/user-templates/{id}","href":"/api-v1/patch/evals-user-templates-id"},{"title":"Delete User Template","api":"DELETE https://api.bland.ai/v1/evals/user-templates/{id}","href":"/api-v1/delete/evals-user-templates-id"}]}]},{"group":"Guard Rails","pages":[{"title":"List Guard Rails","api":"GET https://api.bland.ai/v1/guard_rails","href":"/api-v1/get/guard-rails"},{"title":"Get Guard Rail","api":"GET https://api.bland.ai/v1/guard_rails/{guard_rail_id}","href":"/api-v1/get/guard-rails-id"},{"title":"Create Guard Rail","api":"POST https://api.bland.ai/v1/guard_rails","href":"/api-v1/post/guard-rails"},{"title":"Update Guard Rail","api":"PATCH https://api.bland.ai/v1/guard_rails/{guard_rail_id}","href":"/api-v1/patch/guard-rails-id"},{"title":"Delete Guard Rail","api":"DELETE https://api.bland.ai/v1/guard_rails/{guard_rail_id}","href":"/api-v1/delete/guard-rails-id"}]},{"group":"Live Translation","pages":[{"title":"Create Translation Session","api":"POST https://api.bland.ai/v1/translation/sessions","href":"/api-v1/post/translation-sessions"},{"title":"Get Translation Session","api":"GET https://api.bland.ai/v1/translation/sessions/{session_id}","href":"/api-v1/get/translation-sessions-id"},{"title":"End Translation Session","api":"DELETE https://api.bland.ai/v1/translation/sessions/{session_id}","href":"/api-v1/delete/translation-sessions-id"}]},{"group":"Custom Twilio Accounts","pages":[{"title":"Create Encrypted Key","api":"POST https://api.bland.ai/v1/accounts","href":"/api-v1/post/accounts"},{"title":"Delete Encrypted Key","api":"POST https://api.bland.ai/v1/accounts/delete","href":"/api-v1/post/accounts-delete"},{"title":"Upload Inbound Phone Numbers","api":"POST https://api.bland.ai/v1/inbound/insert","href":"/api-v1/post/inbound-insert"},{"title":"Delete Inbound Phone Number","api":"POST https://api.bland.ai/v1/inbound/{phone_number}/delete","href":"/api-v1/post/inbound-number-delete"}]},{"group":"Batches","pages":[{"title":"Create Batch","api":"POST https://api.bland.ai/v2/batches/create","href":"/api-v2/post/batches"},{"title":"List Batches","api":"GET https://api.bland.ai/v2/batches/list","href":"/api-v2/get/batches"},{"title":"Get Batch","api":"GET https://api.bland.ai/v2/batches/{batch_id}","href":"/api-v2/get/batches-id"},{"title":"Get Batch Logs","api":"GET https://api.bland.ai/v2/batches/{batch_id}/logs","href":"/api-v2/get/batches-id-logs"},{"title":"Stop Batch","api":"POST https://api.bland.ai/v2/batches/{batch_id}/stop","href":"/api-v2/post/batches-id-stop"}]},{"group":"Prompts","pages":[{"title":"List Prompts","api":"GET https://api.bland.ai/v1/prompts","href":"/api-v1/get/prompts"},{"title":"Prompt Details","api":"GET https://api.bland.ai/v1/prompts/{prompt_id}","href":"/api-v1/get/prompts-id"},{"title":"Create Prompt","api":"POST https://api.bland.ai/v1/prompts","href":"/api-v1/post/prompts"}]},{"group":"Account","pages":[{"title":"Account Details","api":"GET https://api.bland.ai/v1/me","href":"/api-v1/get/me"}]},{"group":"API Keys","pages":[{"title":"Create API Key","api":"POST https://api.bland.ai/keys/create","href":"/api-v1/post/keys-create"},{"title":"List API Keys","api":"POST https://api.bland.ai/keys/list","href":"/api-v1/post/keys-list"},{"title":"Rename API Key","api":"PATCH https://api.bland.ai/keys/rename","href":"/api-v1/patch/keys-rename"},{"title":"Delete API Key","api":"DELETE https://api.bland.ai/keys/delete","href":"/api-v1/delete/keys-delete"},{"title":"OAuth client credentials","href":"/api-v1/oauth-client-credentials"}]},{"group":"Organizations","pages":[{"title":"Create Organization","api":"POST https://api.bland.ai/v1/orgs/create","href":"/api-v1/post/orgs"},{"title":"Delete Organization","api":"DELETE https://api.bland.ai/v1/orgs/{org_id}","href":"/api-v1/delete/orgs"},{"title":"Get Organization","api":"GET https://api.bland.ai/v1/orgs/{org_id}","href":"/api-v1/get/orgs"},{"title":"Get Organization Members","api":"GET https://api.bland.ai/v1/orgs/{org_id}/members","href":"/api-v1/get/org_members"},{"title":"Get Organization's Current Service Version","api":"GET https://api.bland.ai/v1/orgs/{org_id}/versions/{service}/current","href":"/api-v1/get/org_current_version"},{"title":"List Organization's Service Versions","api":"GET https://api.bland.ai/v1/orgs/{org_id}/versions/{service}/list","href":"/api-v1/get/org_list_versions"},{"title":"Update Organization's Service Version","api":"PATCH https://api.bland.ai/v1/orgs/{org_id}/versions/{service}","href":"/api-v1/patch/org_version"},{"title":"Update Organization Members","api":"PATCH https://api.bland.ai/v1/orgs/{org_id}/members","href":"/api-v1/patch/org_members"},{"title":"Update Organization Member Permissions","api":"PATCH https://api.bland.ai/v1/orgs/{org_id}/members/permissions","href":"/api-v1/patch/org_member_permissions"},{"title":"Update Organization Properties","api":"PATCH https://api.bland.ai/v1/orgs/{org_id}/properties","href":"/api-v1/patch/org_properties"},{"title":"Get User Organization Memberships","api":"GET https://api.bland.ai/v1/orgs/self/memberships","href":"/api-v1/get/org_list_self_memberships"},{"title":"Leave Organization","api":"DELETE https://api.bland.ai/v1/orgs/self/leave","href":"/api-v1/delete/org_leave_self_memberships_id"},{"title":"Get Organization Billing Information","api":"GET https://api.bland.ai/v1/orgs/{org_id}/billing","href":"/api-v1/get/org_billing_information"},{"title":"Get Organization Billing Refill Information","api":"GET https://api.bland.ai/v1/orgs/{org_id}/billing/refill","href":"/api-v1/get/org_billing_refill_information"},{"title":"List Audit Logs","api":"GET https://api.bland.ai/v1/audit/logs","href":"/api-v1/get/audit-logs"}]},{"group":"Messaging","pages":[{"title":"List SMS Numbers","api":"GET https://api.bland.ai/v1/sms/numbers","href":"/api-v1/get/sms-numbers"},{"title":"Update SMS Configuration","api":"POST https://api.bland.ai/v1/sms/number/update","href":"/api-v1/post/sms-update"},{"title":"Send SMS Message","api":"POST https://api.bland.ai/v1/sms/send","href":"/api-v1/post/sms-send"},{"title":"Send SMS Batch","api":"POST https://api.bland.ai/v1/sms/batch","href":"/api-v1/post/sms-batch"},{"title":"Create SMS Conversation","api":"POST https://api.bland.ai/v1/sms/create","href":"/api-v1/post/sms-create"},{"title":"List Conversations","api":"GET https://api.bland.ai/v1/sms/conversations","href":"/api-v1/get/sms-conversations"},{"title":"Get Conversation by ID","api":"GET https://api.bland.ai/v1/sms/conversations/{id}","href":"/api-v1/get/sms-conversations-id"},{"title":"Update SMS Conversation","api":"PATCH https://api.bland.ai/v1/sms/conversations/{conversation_id}","href":"/api-v1/patch/sms-conversations-id"},{"title":"Hand Off Conversation to a Human","api":"POST https://api.bland.ai/v1/sms/conversations/{conversation_id}/handoff","href":"/api-v1/post/sms-conversations-handoff"},{"title":"Send Message on Conversation","api":"POST https://api.bland.ai/v1/sms/conversations/{conversation_id}/messages","href":"/api-v1/post/sms-conversations-messages"},{"title":"Resume Conversation","api":"POST https://api.bland.ai/v1/sms/conversations/{conversation_id}/resume","href":"/api-v1/post/sms-conversations-resume"},{"title":"End Conversation","api":"POST https://api.bland.ai/v1/sms/conversations/{conversation_id}/end","href":"/api-v1/post/sms-conversations-end"},{"title":"Delete Messages from Conversation","api":"DELETE https://api.bland.ai/v1/sms/conversations/{id}/messages","href":"/api-v1/delete/sms-conversations-message"},{"title":"Delete Conversation","api":"DELETE https://api.bland.ai/v1/sms/conversations/{id}","href":"/api-v1/delete/sms-conversations"},{"title":"Get Post Conversation Webhook","api":"GET https://api.bland.ai/v1/sms/conversations/{conversationId}/webhook","href":"/api-v1/get/sms-conversations-webhook"},{"title":"SMS Conversation Analysis","api":"POST https://api.bland.ai/v1/sms/analyze","href":"/api-v1/post/sms-analyze"}]},{"group":"SIP Trunks","pages":[{"title":"Get SIP Config","api":"GET https://api.bland.ai/v1/sip","href":"/api-v1/get/sip-config"},{"title":"List SIP Numbers","api":"GET https://api.bland.ai/v1/sip/numbers","href":"/api-v1/get/sip-numbers"},{"title":"Attach SIP Configuration","api":"POST https://api.bland.ai/v1/sip/attach","href":"/api-v1/post/sip-attach"},{"title":"Update SIP Direction","api":"POST https://api.bland.ai/v1/sip/update","href":"/api-v1/post/sip-update"},{"title":"Detach SIP Configuration","api":"POST https://api.bland.ai/v1/sip/detach","href":"/api-v1/post/sip-detach"},{"title":"Parse SIP Destination","api":"POST https://api.bland.ai/v1/sip/parse-destination","href":"/api-v1/post/sip-parse-destination"},{"title":"Discover SIP Endpoint","api":"POST https://api.bland.ai/v1/sip/discover","href":"/api-v1/post/sip-discover"},{"title":"Get Discovery Status","api":"GET https://api.bland.ai/v1/sip/discover/status","href":"/api-v1/get/sip-discover-status"},{"title":"Send SIP Test Call","api":"POST https://api.bland.ai/v1/sip/test-call","href":"/api-v1/post/sip-test-call"},{"title":"Get Test Call Status","api":"GET https://api.bland.ai/v1/sip/test-call/status","href":"/api-v1/get/sip-test-call-status"},{"title":"Get Firewall IPs","api":"GET https://api.bland.ai/v1/sip/firewall-ips","href":"/api-v1/get/sip-firewall-ips"},{"title":"Get Outbound Setup","api":"GET https://api.bland.ai/v1/sip/outbound-setup","href":"/api-v1/get/sip-outbound-setup"},{"title":"Generate SIP Password","api":"GET https://api.bland.ai/v1/sip/generate-password","href":"/api-v1/get/sip-generate-password"},{"title":"Get Trunk Health","api":"GET https://api.bland.ai/v1/sip/status","href":"/api-v1/get/sip-status"},{"title":"Get SIP Call Logs","api":"GET https://api.bland.ai/v1/sip/calls","href":"/api-v1/get/sip-calls"},{"title":"Update Advanced Config","api":"PATCH https://api.bland.ai/v1/sip/config","href":"/api-v1/patch/sip-config"},{"group":"Number Porting","pages":[{"title":"Check Number Portability","api":"GET https://api.bland.ai/v1/sip/port/check","href":"/api-v1/get/sip-port-check"},{"title":"Upload Port Document","api":"POST https://api.bland.ai/v1/sip/port/document","href":"/api-v1/post/sip-port-document"},{"title":"Initiate Port Request","api":"POST https://api.bland.ai/v1/sip/port/initiate","href":"/api-v1/post/sip-port-initiate"},{"title":"List Port Requests","api":"GET https://api.bland.ai/v1/sip/port","href":"/api-v1/get/sip-port-requests"},{"title":"Cancel Port Request","api":"DELETE https://api.bland.ai/v1/sip/port/{id}","href":"/api-v1/delete/sip-port-cancel"}]}]},{"group":"Custom Dialing Pools","pages":[{"title":"Get Custom Dialing Pool","api":"GET https://us.api.bland.ai/v1/custom-dialing-pools/{pool_id}","href":"/api-v1/get/custom-dialing-pool"},{"title":"List Custom Dialing Pools","api":"GET https://us.api.bland.ai/v1/custom-dialing-pools","href":"/api-v1/get/custom-dialing-pools"},{"title":"Create Custom Dialing Pool","api":"POST https://us.api.bland.ai/v1/custom-dialing-pools","href":"/api-v1/post/custom-dialing-pools"},{"title":"Update Custom Dialing Pool","api":"POST https://us.api.bland.ai/v1/custom-dialing-pools/{pool_id}/update","href":"/api-v1/post/custom-dialing-pool-update"}]},{"group":"Triage","pages":[{"group":"Issues","pages":[{"title":"Create Issue","api":"POST https://api.bland.ai/v1/triage/issues","href":"/api-v1/post/triage-issues"},{"title":"List Issues","api":"GET https://api.bland.ai/v1/triage/issues","href":"/api-v1/get/triage-issues"},{"title":"Get Issue","api":"GET https://api.bland.ai/v1/triage/issues/{id}","href":"/api-v1/get/triage-issues-id"},{"title":"Update Issue","api":"PATCH https://api.bland.ai/v1/triage/issues/{id}","href":"/api-v1/patch/triage-issues-id"},{"title":"Delete Issue","api":"DELETE https://api.bland.ai/v1/triage/issues/{id}","href":"/api-v1/delete/triage-issues-id"}]},{"group":"Resources","pages":[{"title":"Attach Resource","api":"POST https://api.bland.ai/v1/triage/issues/{id}/resources","href":"/api-v1/post/triage-issues-id-resources"},{"title":"List Resources","api":"GET https://api.bland.ai/v1/triage/issues/{id}/resources","href":"/api-v1/get/triage-issues-id-resources"},{"title":"Remove Resource","api":"DELETE https://api.bland.ai/v1/triage/issues/{id}/resources/{resource_link_id}","href":"/api-v1/delete/triage-issues-id-resources-resource-link-id"},{"title":"Attach Call","api":"PUT https://api.bland.ai/v1/triage/issues/{id}/calls/{call_id}","href":"/api-v1/put/triage-issues-id-calls-call-id"},{"title":"Detach Call","api":"DELETE https://api.bland.ai/v1/triage/issues/{id}/calls/{call_id}","href":"/api-v1/delete/triage-issues-id-calls-call-id"},{"title":"Get Affected Context","api":"GET https://api.bland.ai/v1/triage/issues/{id}/affected","href":"/api-v1/get/triage-issues-id-affected"}]},{"group":"Flags","pages":[{"title":"Add Flag","api":"POST https://api.bland.ai/v1/triage/issues/{id}/flags","href":"/api-v1/post/triage-issues-id-flags"},{"title":"List Flags","api":"GET https://api.bland.ai/v1/triage/issues/{id}/flags","href":"/api-v1/get/triage-issues-id-flags"},{"title":"Remove Flag","api":"DELETE https://api.bland.ai/v1/triage/issues/{id}/flags/{flag_id}","href":"/api-v1/delete/triage-issues-id-flags-flag-id"},{"title":"List Flag Types","api":"GET https://api.bland.ai/v1/triage/flag-types","href":"/api-v1/get/triage-flag-types"}]},{"group":"Activity \u0026 Comments","pages":[{"title":"List Activity","api":"GET https://api.bland.ai/v1/triage/issues/{id}/activity","href":"/api-v1/get/triage-issues-id-activity"},{"title":"Add Comment","api":"POST https://api.bland.ai/v1/triage/issues/{id}/comments","href":"/api-v1/post/triage-issues-id-comments"},{"title":"Mark Issue Viewed","api":"PUT https://api.bland.ai/v1/triage/issues/{id}/view","href":"/api-v1/put/triage-issues-id-view"}]},{"group":"Categories","pages":[{"title":"List Categories","api":"GET https://api.bland.ai/v1/triage/categories","href":"/api-v1/get/triage-categories"},{"title":"Create Category","api":"POST https://api.bland.ai/v1/triage/categories","href":"/api-v1/post/triage-categories"}]},{"group":"Relations","pages":[{"title":"Link Related Issue","api":"POST https://api.bland.ai/v1/triage/issues/{id}/relations","href":"/api-v1/post/triage-issues-id-relations"},{"title":"List Relations","api":"GET https://api.bland.ai/v1/triage/issues/{id}/relations","href":"/api-v1/get/triage-issues-id-relations"},{"title":"Remove Relation","api":"DELETE https://api.bland.ai/v1/triage/issues/{id}/relations/{relation_id}","href":"/api-v1/delete/triage-issues-id-relations-relation-id"}]},{"group":"Norm Sessions","pages":[{"title":"List Agents","api":"GET https://api.bland.ai/v1/triage/agents","href":"/api-v1/get/triage-agents"},{"title":"Create Agent Session","api":"POST https://api.bland.ai/v1/triage/issues/{id}/agent-sessions","href":"/api-v1/post/triage-issues-id-agent-sessions"},{"title":"Prompt Norm","api":"POST https://api.bland.ai/v1/triage/issues/{id}/agent-sessions/{session_id}/prompts","href":"/api-v1/post/triage-issues-id-agent-sessions-session-id-prompts"}]}]},{"group":"Legacy","pages":[{"group":"Conversational Pathways","pages":[{"title":"Get All Pathways Information","api":"GET https://api.bland.ai/v1/pathway","href":"/api-v1/get/all_pathway"},{"title":"Get Single Pathway Information","api":"GET https://api.bland.ai/v1/pathway/{pathway_id}","href":"/api-v1/get/pathway"},{"title":"Get Pathway Session Token","api":"GET https://api.bland.ai/v1/pathway/session","href":"/api-v1/get/pathway-session"},{"title":"Get Pathway Call Events","api":"GET https://api.bland.ai/v1/pathway_calls/{call_id}","href":"/api-v1/get/pathway_calls"},{"title":"Create Pathway","api":"POST https://api.bland.ai/v1/pathway/create","href":"/api-v1/post/pathways"},{"title":"Update Pathway","api":"POST https://api.bland.ai/v1/pathway/{pathway_id}","href":"/api-v1/post/update_pathways"},{"title":"Delete Pathway","api":"DELETE https://api.bland.ai/v1/pathway/{pathway_id}","href":"/api-v1/post/delete_pathway"},{"title":"Generate Pathway","api":"POST https://api.bland.ai/v1/pathway/generate","href":"/api-v1/post/pathway-generate"},{"title":"Get Pathway Generation Status","api":"GET https://api.bland.ai/v1/pathway/generate/status/{job_id}","href":"/api-v1/get/pathway-generate-status-job-id"},{"group":"Pathway Chat","pages":[{"title":"Create Pathway Chat","api":"POST https://us.api.bland.ai/v1/pathway/chat/create","href":"/api-v1/post/pathway-chat-create"},{"title":"Pathway Chat","api":"POST https://us.api.bland.ai/v1/pathway/chat/{id}","href":"/api-v1/post/pathway-chat"},{"title":"Pathway Chat","api":"GET https://us.api.bland.ai/v1/pathway/chat/{id}","href":"/api-v1/get/pathway-chat"}]},{"group":"Pathway Versions","pages":[{"title":"Get Pathway Versions","api":"GET https://api.bland.ai/v1/pathway/{pathway_id}/versions","href":"/api-v1/get/pathway_versions"},{"title":"Get Specific Pathway Version","api":"GET https://api.bland.ai/v1/pathway/{pathway_id}/version/{version_id}","href":"/api-v1/get/pathway_version"},{"title":"Promote Pathway Version","api":"POST https://api.bland.ai/v1/pathway/{pathway_id}/publish","href":"/api-v1/post/pathway-promote"},{"title":"Create Pathway Version","api":"POST https://api.bland.ai/v1/pathway/{pathway_id}/version","href":"/api-v1/post/create_pathway_version"},{"title":"Update Pathway Version","api":"POST https://api.bland.ai/v1/pathway/{pathway_id}/version/{version_number}","href":"/api-v1/post/update-pathway-version"},{"title":"Delete Pathway Version","api":"DELETE https://api.bland.ai/v1/pathway/{pathway_id}/version/{version_id}","href":"/api-v1/delete/pathway_version"}]},{"group":"Pathway Folders","pages":[{"title":"Get All Folders","api":"GET https://us.api.bland.ai/v1/pathway/folders","href":"/api-v1/get/pathway_folders"},{"title":"Get Pathways in Folder","api":"GET https://us.api.bland.ai/v1/pathway/folders/{folder_id}/pathways","href":"/api-v1/get/folder_pathways"},{"title":"Create Folder","api":"POST https://us.api.bland.ai/v1/pathway/folders","href":"/api-v1/post/create_pathway_folder"},{"title":"Delete Folder","api":"DELETE https://us.api.bland.ai/v1/pathway/folders/{folder_id}","href":"/api-v1/delete/pathway_folder"},{"title":"Update Folder","api":"PATCH https://us.api.bland.ai/v1/pathway/folders/{folder_id}","href":"/api-v1/post/update_pathway_folder"},{"title":"Move Pathway","api":"POST https://us.api.bland.ai/v1/pathway/folders/move","href":"/api-v1/post/move-pathway-folder"}]}]},{"group":"Node Tests","pages":[{"title":"Get Node Test Run","api":"GET https://api.bland.ai/v1/node_tests/run/:id","href":"/api-v1/get/node_test_run"},{"title":"Invoke Node Test Run","api":"POST https://api.bland.ai/v1/node_tests/invoke","href":"/api-v1/post/node_test_invoke"}]},{"group":"Web Agents","pages":[{"title":"Create a Web Agent","api":"POST https://api.bland.ai/v1/agents","href":"/api-v1/post/agents"},{"title":"Update Web Agent Settings","api":"POST https://api.bland.ai/v1/agents/{agent_id}","href":"/api-v1/post/agents-id"},{"title":"Authorize a Web Agent Call","api":"POST https://api.bland.ai/v1/agents/{agent_id}/authorize","href":"/api-v1/post/agents-id-authorize"},{"title":"Delete Web Agent","api":"POST https://api.bland.ai/v1/agents/{agent_id}/delete","href":"/api-v1/post/agents-id-delete"},{"title":"List Web Agents","api":"GET https://api.bland.ai/v1/agents","href":"/api-v1/get/agents"}]},{"group":"Personas","pages":[{"title":"List Personas","api":"GET https://api.bland.ai/v1/personas","href":"/api-v1/get/personas"},{"title":"Get Persona","api":"GET https://api.bland.ai/v1/personas/{persona_id}","href":"/api-v1/get/personas-id"},{"title":"Create Persona","api":"POST https://api.bland.ai/v1/personas","href":"/api-v1/post/personas"},{"title":"Update Persona","api":"PATCH https://api.bland.ai/v1/personas/{persona_id}","href":"/api-v1/patch/personas-id"},{"title":"Delete Persona","api":"DELETE https://api.bland.ai/v1/personas/{persona_id}","href":"/api-v1/delete/personas-id"},{"group":"Phone Numbers","pages":[{"title":"Attach Phone Numbers to Persona","api":"POST https://api.bland.ai/v1/personas/{persona_id}/inbound/attach","href":"/api-v1/post/personas-id-inbound-attach"},{"title":"Detach Phone Numbers from Persona","api":"POST https://api.bland.ai/v1/personas/{persona_id}/inbound/detach","href":"/api-v1/post/personas-id-inbound-detach"},{"title":"Update Persona Number Settings","api":"PATCH https://api.bland.ai/v1/personas/{persona_id}/inbound/{phone_number}/settings","href":"/api-v1/patch/personas-id-inbound-phone-settings"}]},{"group":"Versions","pages":[{"title":"List Persona Versions","api":"GET https://api.bland.ai/v1/personas/{persona_id}/versions","href":"/api-v1/get/personas-id-versions"},{"title":"Promote Persona Version","api":"POST https://api.bland.ai/v1/personas/{persona_id}/versions/promote","href":"/api-v1/post/personas-id-versions-promote"},{"title":"Get Specific Persona Version","api":"GET https://api.bland.ai/v1/personas/{persona_id}/versions/{version_id}","href":"/api-v1/get/personas-id-versions-version-id"}]}]},{"group":"Citation Schemas","pages":[{"title":"List Citation Schemas","api":"GET https://api.bland.ai/v1/citation_schemas/list","href":"/api-v1/get/citation-schemas-list"},{"title":"Get Citation Schema","api":"GET https://api.bland.ai/v1/citation_schemas/","href":"/api-v1/get/citation-schemas-id"},{"title":"Create Citation Schema","api":"POST https://api.bland.ai/v1/citation_schemas/","href":"/api-v1/post/citation-schemas"},{"title":"Update Citation Schema","api":"PATCH https://api.bland.ai/v1/citation_schemas/","href":"/api-v1/patch/citation-schemas"},{"title":"Backfill Citation Schema","api":"POST https://api.bland.ai/v1/citation_schemas/backfill","href":"/api-v1/post/citation-schemas-backfill"}]},{"group":"Outcomes","pages":[{"title":"List Outcomes","api":"GET https://api.bland.ai/v1/dispositions","href":"/api-v1/get/dispositions"},{"title":"Create Outcome","api":"POST https://api.bland.ai/v1/dispositions","href":"/api-v1/post/dispositions"},{"title":"Get Outcome","api":"GET https://api.bland.ai/v1/dispositions/{id}","href":"/api-v1/get/dispositions-id"},{"title":"Update Outcome","api":"PATCH https://api.bland.ai/v1/dispositions/{id}","href":"/api-v1/patch/dispositions-id"},{"title":"Delete Outcome","api":"DELETE https://api.bland.ai/v1/dispositions/{id}","href":"/api-v1/delete/dispositions-id"},{"group":"Runs","pages":[{"title":"Run Outcome","api":"POST https://api.bland.ai/v1/dispositions/{id}/run","href":"/api-v1/post/dispositions-id-run"},{"title":"List Outcome Runs","api":"GET https://api.bland.ai/v1/dispositions/{id}/run","href":"/api-v1/get/dispositions-id-run"},{"title":"Get Outcome Run","api":"GET https://api.bland.ai/v1/dispositions/{id}/run/{run_id}","href":"/api-v1/get/dispositions-id-run-run-id"}]}]},{"group":"Alarms","pages":[{"title":"List Alarms","api":"GET https://api.bland.ai/v1/alarms","href":"/api-v1/get/alarms"},{"title":"Create Alarm","api":"POST https://api.bland.ai/v1/alarms","href":"/api-v1/post/alarms"},{"title":"List Alarm Events","api":"GET https://api.bland.ai/v1/alarms/history","href":"/api-v1/get/alarms-history"},{"title":"Get Alarm","api":"GET https://api.bland.ai/v1/alarms/{id}","href":"/api-v1/get/alarms-id"},{"title":"Update Alarm","api":"PATCH https://api.bland.ai/v1/alarms/{id}","href":"/api-v1/patch/alarms-id"},{"title":"Delete Alarm","api":"DELETE https://api.bland.ai/v1/alarms/{id}","href":"/api-v1/delete/alarms-id"},{"title":"Toggle Alarm","api":"POST https://api.bland.ai/v1/alarms/{id}/toggle","href":"/api-v1/post/alarms-id-toggle"},{"title":"Trigger Alarm Evaluation","api":"POST https://api.bland.ai/v1/alarms/{id}/trigger","href":"/api-v1/post/alarms-id-trigger"},{"title":"Test Alarm Notifications","api":"POST https://api.bland.ai/v1/alarms/{id}/notify","href":"/api-v1/post/alarms-id-notify"}]},{"group":"Custom Tools","pages":[{"title":"Create a Custom Tool","api":"POST https://api.bland.ai/v1/tools","href":"/api-v1/post/tools"},{"title":"Update Custom Tool","api":"POST https://api.bland.ai/v1/tools/{tool_id}","href":"/api-v1/post/tools-tool-id"},{"title":"Delete Custom Tool","api":"DELETE https://api.bland.ai/v1/tools/{tool_id}","href":"/api-v1/delete/tools-tool-id"},{"title":"List Custom Tools","api":"GET https://api.bland.ai/v1/tools","href":"/api-v1/get/tools"},{"title":"Custom Tool Details","api":"GET https://api.bland.ai/v1/tools/{tool_id}","href":"/api-v1/get/tools-tool-id"}]},{"group":"Memory Store","pages":[{"title":"List All Memories","api":"GET https://api.bland.ai/v1/memory","href":"/api-v1/get/memory"},{"title":"Get Memory Details","api":"GET https://api.bland.ai/v1/memory/{memory_id}","href":"/api-v1/get/memory-memory-id"},{"title":"Create Memory","api":"POST https://api.bland.ai/v1/memory/create","href":"/api-v1/post/memory-create"},{"title":"Update Memory","api":"POST https://api.bland.ai/v1/memory/{memory_id}/update","href":"/api-v1/post/memory-memory-id-update"},{"title":"Delete Memory","api":"POST https://api.bland.ai/v1/memory/{memory_id}/delete","href":"/api-v1/post/memory-memory-id-delete"},{"group":"User Management","pages":[{"title":"Get User Memory Details","api":"POST https://api.bland.ai/v1/memory/{memory_id}/user","href":"/api-v1/post/memory-memory-id-user"},{"title":"Search User Calls in Memory","api":"POST https://api.bland.ai/v1/memory/{memory_id}/user/search","href":"/api-v1/post/memory-memory-id-user-search"},{"title":"Add User to Memory","api":"POST https://api.bland.ai/v1/memory/{memory_id}/add-user","href":"/api-v1/post/memory-memory-id-add-user"},{"title":"Update User Memory Data","api":"POST https://api.bland.ai/v1/memory/{memory_id}/user/update","href":"/api-v1/post/memory-memory-id-user-update"},{"title":"Remove User from Memory","api":"POST https://api.bland.ai/v1/memory/{memory_id}/user/delete","href":"/api-v1/post/memory-memory-id-user-delete"}]},{"group":"Call Management","pages":[{"title":"Add Call to Memory","api":"POST https://api.bland.ai/v1/memory/{memory_id}/add-call","href":"/api-v1/post/memory-memory-id-add-call"},{"title":"Remove Call from Memory","api":"POST https://api.bland.ai/v1/memory/{memory_id}/call/{call_id}/delete","href":"/api-v1/post/memory-memory-id-call-call-id-delete"}]}]},{"group":"Vector Knowledge Bases","pages":[{"title":"Create a Knowledge Base Item","api":"POST https://api.bland.ai/v1/knowledgebases","href":"/api-v1/post/vectors"},{"title":"Upload Media","api":"POST https://api.bland.ai/v1/knowledgebases/upload-media","href":"/api-v1/post/upload-media"},{"title":"Upload Text","api":"POST https://api.bland.ai/v1/knowledgebases/upload","href":"/api-v1/post/upload-text"},{"title":"Update Knowledge Base Item","api":"PATCH https://api.bland.ai/v1/knowledgebases/{vector_id}","href":"/api-v1/patch/vectors-id"},{"title":"List Knowledge Base Items","api":"GET https://api.bland.ai/v1/knowledgebases","href":"/api-v1/get/vectors"},{"title":"List Knowledge Base Item Details","api":"GET https://api.bland.ai/v1/knowledgebases/{vector_id}","href":"/api-v1/get/vectors-id"},{"title":"Delete Knowledge Base Item","api":"DELETE https://api.bland.ai/v1/knowledgebases/{vector_id}","href":"/api-v1/delete/vectors-id"}]}]}]}]},{"product":"TTS","pages":[{"title":"TTS","href":"/tts/welcome"}]},{"product":"Changelog","pages":[{"title":"Changelog","href":"/changelog/08_03_2026"}]}]},"basePath":"","title":"Stream Pathway Migration - Bland","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["10e4515597","c2aa737661","b0f84f53ff","2b790eda92"],"chunks":["BannerMarkdown-CX_qQQOL.js","dist-BTZUMDnx.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-xpJZXxdP.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-m07pfKpT.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js"]}