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.
Dispositions are enabled per organization. If your organization does not have access, these endpoints return 404.
Replaces the whole draft definition. The write is guarded by the draft revision: pass the revision you read from Get Disposition Draft as expectedDraftRevision, and the call returns 409 if someone else saved first. Editing the draft never affects the published version or calls already running; publish with Publish Disposition to make changes live.Requires an admin, owner, operator, or prompter role.
The agent’s unique identifier. Must be a UUID; otherwise returns 400 with the message agentId must be a valid UUID. Returns 404 Agent not found if the agent is not in your organization.
The disposition’s unique identifier. Must be a UUID; otherwise returns 400 with the message dispositionId must be a valid UUID. Returns 404 Disposition not found if it does not belong to this agent.
The draft revision you last read, at least 1. If the live revision differs, nothing is written and the call returns 409 CONFLICT. On success the revision becomes expectedDraftRevision + 1.
The complete replacement definition. Schema violations return 400 BAD_REQUEST with message Invalid request body and an ext string listing each failing path. Rule violations return 400 BAD_REQUEST with message Definition failed validation and an ext string carrying problems, each with valueId and message. Drafts are validated less strictly than publishing: a structured_extraction value may omit its version pin, and judge or extractor pins may still be editable.
Up to 50 value objects. Each value produces one field of the result. Value ids and keys must be unique within the definition. A definition with no values can be saved but not published or tested.
A UUID you generate. It is the value’s permanent identity: results, corrections, and the transformation all refer to it. Keep existing ids stable when editing so history stays attached.
The value’s output shape. kind is one of boolean, string, number, enum, array, or object; every kind accepts an optional description up to 2000 characters. string accepts format: "date-time". enum requires options: 1 to 24 entries of { "key", "label" } with key 1 to 64 characters, label 1 to 120, and keys unique. array requires items (a nested schema) and accepts minItems (at least 0) and maxItems (at least 1); neither may exceed 1000 and minItems may not exceed maxItems. object requires properties (a map of names up to 64 characters to nested schemas, at most 64 of them) and required (unique names that all appear in properties). A schema may not exceed 200 nodes, 8 levels of nesting, or 64 KB.
How the value is produced. kind selects one of four shapes; the fields for each kind are listed below. A judge value’s schema must be boolean or an enum whose keys exactly match the judge’s level keys (a pass/fail judge maps to boolean or a two-option pass and fail enum). A structured_extraction value’s schema must exactly match the pinned extractor’s output schema. A variable_extraction value’s schema must exactly match the outputSchema of the matching entry in Get Variable Catalog.
variable_extraction only, required. Key of an existing variable on the agent, 1 to 128 characters matching ^[A-Za-z_][A-Za-z0-9_.-]{0,127}$. The variable must exist in the agent’s current configuration.
For variable_extraction, optional { "reasoningEffort" } defaulting to auto. For structured_extraction and judge, required { "reasoningEffort", "inputSourceIds" }. reasoningEffort is auto, low, medium, or high. inputSourceIds is 1 to 8 of transcript, audio_recording, call_metadata, pathway_logs, tool_logs, variables, agent_config, call_config. An audio judge must include audio_recording. A structured extraction cannot combine low effort with audio_recording.
structured_extraction only. UUID of a version of that extractor. Optional while drafting; required to publish or run a test, and publish requires a published (archived) version.
structured_extraction only. Written by the server at publish time with a copy of the pinned extractor’s prompt, output schema, and inference configuration. You may echo back the copy you read from the draft or omit it; publish rewrites it either way.
judge only, required. UUID of a version of that judge. Publish and test runs require a published (archived) version; a draft may temporarily reference an editable one.
custom_code only, required (may be {}). Up to 20 entries keyed by an alias matching ^[A-Za-z_][A-Za-z0-9_]{0,63}$, each { "resourceId": "uuid", "integration": "optional string" }. Resources must belong to your organization.
custom_code only, required (may be []). Up to 20 unique value ids whose results are passed to the code. Only variable_extraction, structured_extraction, and judge values may be referenced; a code value cannot depend on itself or on another code value.
{ "version": 1, "root": node }. A node is one of { "kind": "value", "valueId" }, { "kind": "literal", "value" }, { "kind": "object", "fields": { name: node } } with names up to 64 characters, or { "kind": "array", "items": [node] } with up to 50 items. Every referenced valueId must exist in values. At most 2000 nodes.
{"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/patch/agents-id-dispositions-disposition-id-draft","slug":"/api-v2/patch/agents-id-dispositions-disposition-id-draft","pageMetadata":{"title":"Update Disposition Draft","api":"PATCH https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/draft","description":"Replace a disposition's draft definition.","href":"/api-v2/patch/agents-id-dispositions-disposition-id-draft"},"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: \"Replace a disposition’s draft definition.\"\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,Note,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`overview`,children:`Overview`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Dispositions are enabled per organization. If your organization does not have access, these endpoints return `,_jsx(_components.code,{children:`404`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`Replaces the whole draft definition. The write is guarded by the draft revision: pass the `,_jsx(_components.code,{children:`revision`}),` you read from `,_jsx(_components.a,{href:`/api-v2/get/agents-id-dispositions-disposition-id-draft`,children:`Get Disposition Draft`}),` as `,_jsx(_components.code,{children:`expectedDraftRevision`}),`, and the call returns `,_jsx(_components.code,{children:`409`}),` if someone else saved first. Editing the draft never affects the published version or calls already running; publish with `,_jsx(_components.a,{href:`/api-v2/post/agents-id-dispositions-disposition-id-publish`,children:`Publish Disposition`}),` to make changes live.`]}),`\n`,_jsx(_components.p,{children:`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:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`agent_id`,type:`string`,required:true,id:`param-agent-id`,children:_jsxs(_components.p,{children:[`The agent’s unique identifier. Must be a UUID; otherwise returns `,_jsx(_components.code,{children:`400`}),` with the message `,_jsx(_components.code,{children:`agentId must be a valid UUID`}),`. Returns `,_jsx(_components.code,{children:`404 Agent not found`}),` if the agent is not in your organization.`]})}),`\n`,_jsx(ParamField,{path:`disposition_id`,type:`string`,required:true,id:`param-disposition-id`,children:_jsxs(_components.p,{children:[`The disposition’s unique identifier. Must be a UUID; otherwise returns `,_jsx(_components.code,{children:`400`}),` with the message `,_jsx(_components.code,{children:`dispositionId must be a valid UUID`}),`. Returns `,_jsx(_components.code,{children:`404 Disposition not found`}),` if it does not belong to this agent.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsxs(_components.p,{children:[`Unknown fields anywhere in the body are rejected. This is a full replacement, not a merge: every field of `,_jsx(_components.code,{children:`definition`}),` must be present.`]}),`\n`,_jsx(ParamField,{body:`expectedDraftRevision`,type:`integer`,required:true,id:`param-expected-draft-revision`,children:_jsxs(_components.p,{children:[`The draft revision you last read, at least `,_jsx(_components.code,{children:`1`}),`. If the live revision differs, nothing is written and the call returns `,_jsx(_components.code,{children:`409 CONFLICT`}),`. On success the revision becomes `,_jsx(_components.code,{children:`expectedDraftRevision + 1`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`definition`,type:`object`,required:true,id:`param-definition`,children:[_jsxs(_components.p,{children:[`The complete replacement definition. Schema violations return `,_jsx(_components.code,{children:`400 BAD_REQUEST`}),` with message `,_jsx(_components.code,{children:`Invalid request body`}),` and an `,_jsx(_components.code,{children:`ext`}),` string listing each failing path. Rule violations return `,_jsx(_components.code,{children:`400 BAD_REQUEST`}),` with message `,_jsx(_components.code,{children:`Definition failed validation`}),` and an `,_jsx(_components.code,{children:`ext`}),` string carrying `,_jsx(_components.code,{children:`problems`}),`, each with `,_jsx(_components.code,{children:`valueId`}),` and `,_jsx(_components.code,{children:`message`}),`. Drafts are validated less strictly than publishing: a `,_jsx(_components.code,{children:`structured_extraction`}),` value may omit its version pin, and judge or extractor pins may still be editable.`]}),_jsxs(Expandable,{title:`definition object`,children:[_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Display name, 1 to 120 characters.`})}),_jsx(ParamField,{body:`description`,type:`string`,required:true,id:`param-description`,children:_jsx(_components.p,{children:`Free-text description, up to 2000 characters. May be empty.`})}),_jsx(ParamField,{body:`timing`,type:`string`,required:true,id:`param-timing`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`immediate`}),` runs within 30 minutes of call completion. `,_jsx(_components.code,{children:`within_24h`}),` queues the run with a 24-hour deadline.`]})}),_jsx(ParamField,{body:`values`,type:`array`,required:true,id:`param-values`,children:_jsxs(_components.p,{children:[`Up to 50 value objects. Each value produces one field of the result. Value `,_jsx(_components.code,{children:`id`}),`s and `,_jsx(_components.code,{children:`key`}),`s must be unique within the definition. A definition with no values can be saved but not published or tested.`]})}),_jsx(ParamField,{body:`values[].id`,type:`string`,required:true,id:`param-values-id`,children:_jsx(_components.p,{children:`A UUID you generate. It is the value’s permanent identity: results, corrections, and the transformation all refer to it. Keep existing ids stable when editing so history stays attached.`})}),_jsx(ParamField,{body:`values[].key`,type:`string`,required:true,id:`param-values-key`,children:_jsxs(_components.p,{children:[`Payload field name, 1 to 64 characters matching `,_jsx(_components.code,{children:`^[a-z][a-z0-9_]*$`}),`. May change between drafts.`]})}),_jsx(ParamField,{body:`values[].label`,type:`string`,required:true,id:`param-values-label`,children:_jsx(_components.p,{children:`Human-readable label, 1 to 120 characters.`})}),_jsx(ParamField,{body:`values[].schema`,type:`object`,required:true,id:`param-values-schema`,children:_jsxs(_components.p,{children:[`The value’s output shape. `,_jsx(_components.code,{children:`kind`}),` is one of `,_jsx(_components.code,{children:`boolean`}),`, `,_jsx(_components.code,{children:`string`}),`, `,_jsx(_components.code,{children:`number`}),`, `,_jsx(_components.code,{children:`enum`}),`, `,_jsx(_components.code,{children:`array`}),`, or `,_jsx(_components.code,{children:`object`}),`; every kind accepts an optional `,_jsx(_components.code,{children:`description`}),` up to 2000 characters. `,_jsx(_components.code,{children:`string`}),` accepts `,_jsx(_components.code,{children:`format: \"date-time\"`}),`. `,_jsx(_components.code,{children:`enum`}),` requires `,_jsx(_components.code,{children:`options`}),`: 1 to 24 entries of `,_jsx(_components.code,{children:`{ \"key\", \"label\" }`}),` with `,_jsx(_components.code,{children:`key`}),` 1 to 64 characters, `,_jsx(_components.code,{children:`label`}),` 1 to 120, and keys unique. `,_jsx(_components.code,{children:`array`}),` requires `,_jsx(_components.code,{children:`items`}),` (a nested schema) and accepts `,_jsx(_components.code,{children:`minItems`}),` (at least 0) and `,_jsx(_components.code,{children:`maxItems`}),` (at least 1); neither may exceed 1000 and `,_jsx(_components.code,{children:`minItems`}),` may not exceed `,_jsx(_components.code,{children:`maxItems`}),`. `,_jsx(_components.code,{children:`object`}),` requires `,_jsx(_components.code,{children:`properties`}),` (a map of names up to 64 characters to nested schemas, at most 64 of them) and `,_jsx(_components.code,{children:`required`}),` (unique names that all appear in `,_jsx(_components.code,{children:`properties`}),`). A schema may not exceed 200 nodes, 8 levels of nesting, or 64 KB.`]})}),_jsx(ParamField,{body:`values[].source`,type:`object`,required:true,id:`param-values-source`,children:_jsxs(_components.p,{children:[`How the value is produced. `,_jsx(_components.code,{children:`kind`}),` selects one of four shapes; the fields for each kind are listed below. A `,_jsx(_components.code,{children:`judge`}),` value’s schema must be `,_jsx(_components.code,{children:`boolean`}),` or an `,_jsx(_components.code,{children:`enum`}),` whose keys exactly match the judge’s level keys (a pass/fail judge maps to `,_jsx(_components.code,{children:`boolean`}),` or a two-option `,_jsx(_components.code,{children:`pass`}),` and `,_jsx(_components.code,{children:`fail`}),` enum). A `,_jsx(_components.code,{children:`structured_extraction`}),` value’s schema must exactly match the pinned extractor’s output schema. A `,_jsx(_components.code,{children:`variable_extraction`}),` value’s schema must exactly match the `,_jsx(_components.code,{children:`outputSchema`}),` of the matching entry in `,_jsx(_components.a,{href:`/api-v2/get/agents-id-dispositions-variable-catalog`,children:`Get Variable Catalog`}),`.`]})}),_jsx(ParamField,{body:`values[].source.kind`,type:`string`,required:true,id:`param-values-source-kind`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`variable_extraction`}),`, `,_jsx(_components.code,{children:`structured_extraction`}),`, `,_jsx(_components.code,{children:`judge`}),`, or `,_jsx(_components.code,{children:`custom_code`}),`.`]})}),_jsx(ParamField,{body:`values[].source.variableKey`,type:`string`,id:`param-values-source-variable-key`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`variable_extraction`}),` only, required. Key of an existing variable on the agent, 1 to 128 characters matching `,_jsx(_components.code,{children:`^[A-Za-z_][A-Za-z0-9_.-]{0,127}$`}),`. The variable must exist in the agent’s current configuration.`]})}),_jsx(ParamField,{body:`values[].source.execution`,type:`object`,id:`param-values-source-execution`,children:_jsxs(_components.p,{children:[`For `,_jsx(_components.code,{children:`variable_extraction`}),`, optional `,_jsx(_components.code,{children:`{ \"reasoningEffort\" }`}),` defaulting to `,_jsx(_components.code,{children:`auto`}),`. For `,_jsx(_components.code,{children:`structured_extraction`}),` and `,_jsx(_components.code,{children:`judge`}),`, required `,_jsx(_components.code,{children:`{ \"reasoningEffort\", \"inputSourceIds\" }`}),`. `,_jsx(_components.code,{children:`reasoningEffort`}),` is `,_jsx(_components.code,{children:`auto`}),`, `,_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`medium`}),`, or `,_jsx(_components.code,{children:`high`}),`. `,_jsx(_components.code,{children:`inputSourceIds`}),` is 1 to 8 of `,_jsx(_components.code,{children:`transcript`}),`, `,_jsx(_components.code,{children:`audio_recording`}),`, `,_jsx(_components.code,{children:`call_metadata`}),`, `,_jsx(_components.code,{children:`pathway_logs`}),`, `,_jsx(_components.code,{children:`tool_logs`}),`, `,_jsx(_components.code,{children:`variables`}),`, `,_jsx(_components.code,{children:`agent_config`}),`, `,_jsx(_components.code,{children:`call_config`}),`. An audio judge must include `,_jsx(_components.code,{children:`audio_recording`}),`. A structured extraction cannot combine `,_jsx(_components.code,{children:`low`}),` effort with `,_jsx(_components.code,{children:`audio_recording`}),`.`]})}),_jsx(ParamField,{body:`values[].source.extractorId`,type:`string`,id:`param-values-source-extractor-id`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`structured_extraction`}),` only, required. UUID of an extractor from `,_jsx(_components.a,{href:`/api-v2/get/agents-id-dispositions-extractors`,children:`List Extractors`}),` that is org-wide or scoped to this agent.`]})}),_jsx(ParamField,{body:`values[].source.extractorVersionId`,type:`string`,id:`param-values-source-extractor-version-id`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`structured_extraction`}),` only. UUID of a version of that extractor. Optional while drafting; required to publish or run a test, and publish requires a published (archived) version.`]})}),_jsx(ParamField,{body:`values[].source.frozen`,type:`object`,id:`param-values-source-frozen`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`structured_extraction`}),` only. Written by the server at publish time with a copy of the pinned extractor’s prompt, output schema, and inference configuration. You may echo back the copy you read from the draft or omit it; publish rewrites it either way.`]})}),_jsx(ParamField,{body:`values[].source.judgeId`,type:`string`,id:`param-values-source-judge-id`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`judge`}),` only, required. UUID of a judge from `,_jsx(_components.a,{href:`/api-v2/get/agents-id-dispositions-judge-catalog`,children:`Get Judge Catalog`}),` that is org-wide or scoped to this agent.`]})}),_jsx(ParamField,{body:`values[].source.judgeVersionId`,type:`string`,id:`param-values-source-judge-version-id`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`judge`}),` only, required. UUID of a version of that judge. Publish and test runs require a published (archived) version; a draft may temporarily reference an editable one.`]})}),_jsx(ParamField,{body:`values[].source.snippetId`,type:`string`,id:`param-values-source-snippet-id`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`custom_code`}),` only, required. UUID of a code snippet owned by your organization. The snippet must be JavaScript.`]})}),_jsx(ParamField,{body:`values[].source.snippetVersion`,type:`integer`,id:`param-values-source-snippet-version`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`custom_code`}),` only, required. Snippet version number, at least `,_jsx(_components.code,{children:`1`}),`.`]})}),_jsx(ParamField,{body:`values[].source.timeoutSeconds`,type:`integer`,id:`param-values-source-timeout-seconds`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`custom_code`}),` only, required. 1 to 60.`]})}),_jsx(ParamField,{body:`values[].source.connections`,type:`object`,id:`param-values-source-connections`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`custom_code`}),` only, required (may be `,_jsx(_components.code,{children:`{}`}),`). Up to 20 entries keyed by an alias matching `,_jsx(_components.code,{children:`^[A-Za-z_][A-Za-z0-9_]{0,63}$`}),`, each `,_jsx(_components.code,{children:`{ \"resourceId\": \"uuid\", \"integration\": \"optional string\" }`}),`. Resources must belong to your organization.`]})}),_jsx(ParamField,{body:`values[].source.secrets`,type:`object`,id:`param-values-source-secrets`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`custom_code`}),` only, required (may be `,_jsx(_components.code,{children:`{}`}),`). Up to 20 entries keyed by an alias with the same pattern, each `,_jsx(_components.code,{children:`{ \"secretId\": \"uuid\" }`}),`.`]})}),_jsx(ParamField,{body:`values[].source.dependencyValueIds`,type:`array`,id:`param-values-source-dependency-value-ids`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`custom_code`}),` only, required (may be `,_jsx(_components.code,{children:`[]`}),`). Up to 20 unique value ids whose results are passed to the code. Only `,_jsx(_components.code,{children:`variable_extraction`}),`, `,_jsx(_components.code,{children:`structured_extraction`}),`, and `,_jsx(_components.code,{children:`judge`}),` values may be referenced; a code value cannot depend on itself or on another code value.`]})}),_jsx(ParamField,{body:`transformation`,type:`object`,required:true,id:`param-transformation`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`{ \"version\": 1, \"root\": node }`}),`. A node is one of `,_jsx(_components.code,{children:`{ \"kind\": \"value\", \"valueId\" }`}),`, `,_jsx(_components.code,{children:`{ \"kind\": \"literal\", \"value\" }`}),`, `,_jsx(_components.code,{children:`{ \"kind\": \"object\", \"fields\": { name: node } }`}),` with names up to 64 characters, or `,_jsx(_components.code,{children:`{ \"kind\": \"array\", \"items\": [node] }`}),` with up to 50 items. Every referenced `,_jsx(_components.code,{children:`valueId`}),` must exist in `,_jsx(_components.code,{children:`values`}),`. At most 2000 nodes.`]})}),_jsx(ParamField,{body:`postCallWebhook`,type:`object`,required:true,id:`param-post-call-webhook`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`{ \"mode\": \"hold\" }`}),` or `,_jsx(_components.code,{children:`{ \"mode\": \"emit_followup\" }`}),`. `,_jsx(_components.code,{children:`hold`}),` is only valid with `,_jsx(_components.code,{children:`timing: \"immediate\"`}),`.`]})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`data.dispositionId`,type:`string`,id:`param-data-disposition-id`,children:_jsx(_components.p,{children:`The disposition this draft belongs to.`})}),`\n`,_jsx(ResponseField,{name:`data.revision`,type:`number`,id:`param-data-revision`,children:_jsxs(_components.p,{children:[`The new draft revision, `,_jsx(_components.code,{children:`expectedDraftRevision + 1`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`data.baseVersionId`,type:`string | null`,id:`param-data-base-version-id`,children:_jsxs(_components.p,{children:[`The most recently published version, or `,_jsx(_components.code,{children:`null`}),` if never published.`]})}),`\n`,_jsx(ResponseField,{name:`data.definition`,type:`object`,id:`param-data-definition`,children:_jsx(_components.p,{children:`The saved definition, as stored.`})}),`\n`,_jsx(ResponseField,{name:`errors`,type:`null | array`,id:`param-errors`,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":"Update Disposition Draft","api":"PATCH https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/draft","description":"Replace a disposition's draft definition.","href":"/api-v2/patch/agents-id-dispositions-disposition-id-draft"}}},"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,Note,ParamField,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`overview`,children:`Overview`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Dispositions are enabled per organization. If your organization does not have access, these endpoints return `,_jsx(_components.code,{children:`404`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`Replaces the whole draft definition. The write is guarded by the draft revision: pass the `,_jsx(_components.code,{children:`revision`}),` you read from `,_jsx(_components.a,{href:`/api-v2/get/agents-id-dispositions-disposition-id-draft`,children:`Get Disposition Draft`}),` as `,_jsx(_components.code,{children:`expectedDraftRevision`}),`, and the call returns `,_jsx(_components.code,{children:`409`}),` if someone else saved first. Editing the draft never affects the published version or calls already running; publish with `,_jsx(_components.a,{href:`/api-v2/post/agents-id-dispositions-disposition-id-publish`,children:`Publish Disposition`}),` to make changes live.`]}),`\n`,_jsx(_components.p,{children:`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:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`agent_id`,type:`string`,required:true,id:`param-agent-id`,children:_jsxs(_components.p,{children:[`The agent’s unique identifier. Must be a UUID; otherwise returns `,_jsx(_components.code,{children:`400`}),` with the message `,_jsx(_components.code,{children:`agentId must be a valid UUID`}),`. Returns `,_jsx(_components.code,{children:`404 Agent not found`}),` if the agent is not in your organization.`]})}),`\n`,_jsx(ParamField,{path:`disposition_id`,type:`string`,required:true,id:`param-disposition-id`,children:_jsxs(_components.p,{children:[`The disposition’s unique identifier. Must be a UUID; otherwise returns `,_jsx(_components.code,{children:`400`}),` with the message `,_jsx(_components.code,{children:`dispositionId must be a valid UUID`}),`. Returns `,_jsx(_components.code,{children:`404 Disposition not found`}),` if it does not belong to this agent.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsxs(_components.p,{children:[`Unknown fields anywhere in the body are rejected. This is a full replacement, not a merge: every field of `,_jsx(_components.code,{children:`definition`}),` must be present.`]}),`\n`,_jsx(ParamField,{body:`expectedDraftRevision`,type:`integer`,required:true,id:`param-expected-draft-revision`,children:_jsxs(_components.p,{children:[`The draft revision you last read, at least `,_jsx(_components.code,{children:`1`}),`. If the live revision differs, nothing is written and the call returns `,_jsx(_components.code,{children:`409 CONFLICT`}),`. On success the revision becomes `,_jsx(_components.code,{children:`expectedDraftRevision + 1`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`definition`,type:`object`,required:true,id:`param-definition`,children:[_jsxs(_components.p,{children:[`The complete replacement definition. Schema violations return `,_jsx(_components.code,{children:`400 BAD_REQUEST`}),` with message `,_jsx(_components.code,{children:`Invalid request body`}),` and an `,_jsx(_components.code,{children:`ext`}),` string listing each failing path. Rule violations return `,_jsx(_components.code,{children:`400 BAD_REQUEST`}),` with message `,_jsx(_components.code,{children:`Definition failed validation`}),` and an `,_jsx(_components.code,{children:`ext`}),` string carrying `,_jsx(_components.code,{children:`problems`}),`, each with `,_jsx(_components.code,{children:`valueId`}),` and `,_jsx(_components.code,{children:`message`}),`. Drafts are validated less strictly than publishing: a `,_jsx(_components.code,{children:`structured_extraction`}),` value may omit its version pin, and judge or extractor pins may still be editable.`]}),_jsxs(Expandable,{title:`definition object`,children:[_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Display name, 1 to 120 characters.`})}),_jsx(ParamField,{body:`description`,type:`string`,required:true,id:`param-description`,children:_jsx(_components.p,{children:`Free-text description, up to 2000 characters. May be empty.`})}),_jsx(ParamField,{body:`timing`,type:`string`,required:true,id:`param-timing`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`immediate`}),` runs within 30 minutes of call completion. `,_jsx(_components.code,{children:`within_24h`}),` queues the run with a 24-hour deadline.`]})}),_jsx(ParamField,{body:`values`,type:`array`,required:true,id:`param-values`,children:_jsxs(_components.p,{children:[`Up to 50 value objects. Each value produces one field of the result. Value `,_jsx(_components.code,{children:`id`}),`s and `,_jsx(_components.code,{children:`key`}),`s must be unique within the definition. A definition with no values can be saved but not published or tested.`]})}),_jsx(ParamField,{body:`values[].id`,type:`string`,required:true,id:`param-values-id`,children:_jsx(_components.p,{children:`A UUID you generate. It is the value’s permanent identity: results, corrections, and the transformation all refer to it. Keep existing ids stable when editing so history stays attached.`})}),_jsx(ParamField,{body:`values[].key`,type:`string`,required:true,id:`param-values-key`,children:_jsxs(_components.p,{children:[`Payload field name, 1 to 64 characters matching `,_jsx(_components.code,{children:`^[a-z][a-z0-9_]*$`}),`. May change between drafts.`]})}),_jsx(ParamField,{body:`values[].label`,type:`string`,required:true,id:`param-values-label`,children:_jsx(_components.p,{children:`Human-readable label, 1 to 120 characters.`})}),_jsx(ParamField,{body:`values[].schema`,type:`object`,required:true,id:`param-values-schema`,children:_jsxs(_components.p,{children:[`The value’s output shape. `,_jsx(_components.code,{children:`kind`}),` is one of `,_jsx(_components.code,{children:`boolean`}),`, `,_jsx(_components.code,{children:`string`}),`, `,_jsx(_components.code,{children:`number`}),`, `,_jsx(_components.code,{children:`enum`}),`, `,_jsx(_components.code,{children:`array`}),`, or `,_jsx(_components.code,{children:`object`}),`; every kind accepts an optional `,_jsx(_components.code,{children:`description`}),` up to 2000 characters. `,_jsx(_components.code,{children:`string`}),` accepts `,_jsx(_components.code,{children:`format: \"date-time\"`}),`. `,_jsx(_components.code,{children:`enum`}),` requires `,_jsx(_components.code,{children:`options`}),`: 1 to 24 entries of `,_jsx(_components.code,{children:`{ \"key\", \"label\" }`}),` with `,_jsx(_components.code,{children:`key`}),` 1 to 64 characters, `,_jsx(_components.code,{children:`label`}),` 1 to 120, and keys unique. `,_jsx(_components.code,{children:`array`}),` requires `,_jsx(_components.code,{children:`items`}),` (a nested schema) and accepts `,_jsx(_components.code,{children:`minItems`}),` (at least 0) and `,_jsx(_components.code,{children:`maxItems`}),` (at least 1); neither may exceed 1000 and `,_jsx(_components.code,{children:`minItems`}),` may not exceed `,_jsx(_components.code,{children:`maxItems`}),`. `,_jsx(_components.code,{children:`object`}),` requires `,_jsx(_components.code,{children:`properties`}),` (a map of names up to 64 characters to nested schemas, at most 64 of them) and `,_jsx(_components.code,{children:`required`}),` (unique names that all appear in `,_jsx(_components.code,{children:`properties`}),`). A schema may not exceed 200 nodes, 8 levels of nesting, or 64 KB.`]})}),_jsx(ParamField,{body:`values[].source`,type:`object`,required:true,id:`param-values-source`,children:_jsxs(_components.p,{children:[`How the value is produced. `,_jsx(_components.code,{children:`kind`}),` selects one of four shapes; the fields for each kind are listed below. A `,_jsx(_components.code,{children:`judge`}),` value’s schema must be `,_jsx(_components.code,{children:`boolean`}),` or an `,_jsx(_components.code,{children:`enum`}),` whose keys exactly match the judge’s level keys (a pass/fail judge maps to `,_jsx(_components.code,{children:`boolean`}),` or a two-option `,_jsx(_components.code,{children:`pass`}),` and `,_jsx(_components.code,{children:`fail`}),` enum). A `,_jsx(_components.code,{children:`structured_extraction`}),` value’s schema must exactly match the pinned extractor’s output schema. A `,_jsx(_components.code,{children:`variable_extraction`}),` value’s schema must exactly match the `,_jsx(_components.code,{children:`outputSchema`}),` of the matching entry in `,_jsx(_components.a,{href:`/api-v2/get/agents-id-dispositions-variable-catalog`,children:`Get Variable Catalog`}),`.`]})}),_jsx(ParamField,{body:`values[].source.kind`,type:`string`,required:true,id:`param-values-source-kind`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`variable_extraction`}),`, `,_jsx(_components.code,{children:`structured_extraction`}),`, `,_jsx(_components.code,{children:`judge`}),`, or `,_jsx(_components.code,{children:`custom_code`}),`.`]})}),_jsx(ParamField,{body:`values[].source.variableKey`,type:`string`,id:`param-values-source-variable-key`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`variable_extraction`}),` only, required. Key of an existing variable on the agent, 1 to 128 characters matching `,_jsx(_components.code,{children:`^[A-Za-z_][A-Za-z0-9_.-]{0,127}$`}),`. The variable must exist in the agent’s current configuration.`]})}),_jsx(ParamField,{body:`values[].source.execution`,type:`object`,id:`param-values-source-execution`,children:_jsxs(_components.p,{children:[`For `,_jsx(_components.code,{children:`variable_extraction`}),`, optional `,_jsx(_components.code,{children:`{ \"reasoningEffort\" }`}),` defaulting to `,_jsx(_components.code,{children:`auto`}),`. For `,_jsx(_components.code,{children:`structured_extraction`}),` and `,_jsx(_components.code,{children:`judge`}),`, required `,_jsx(_components.code,{children:`{ \"reasoningEffort\", \"inputSourceIds\" }`}),`. `,_jsx(_components.code,{children:`reasoningEffort`}),` is `,_jsx(_components.code,{children:`auto`}),`, `,_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`medium`}),`, or `,_jsx(_components.code,{children:`high`}),`. `,_jsx(_components.code,{children:`inputSourceIds`}),` is 1 to 8 of `,_jsx(_components.code,{children:`transcript`}),`, `,_jsx(_components.code,{children:`audio_recording`}),`, `,_jsx(_components.code,{children:`call_metadata`}),`, `,_jsx(_components.code,{children:`pathway_logs`}),`, `,_jsx(_components.code,{children:`tool_logs`}),`, `,_jsx(_components.code,{children:`variables`}),`, `,_jsx(_components.code,{children:`agent_config`}),`, `,_jsx(_components.code,{children:`call_config`}),`. An audio judge must include `,_jsx(_components.code,{children:`audio_recording`}),`. A structured extraction cannot combine `,_jsx(_components.code,{children:`low`}),` effort with `,_jsx(_components.code,{children:`audio_recording`}),`.`]})}),_jsx(ParamField,{body:`values[].source.extractorId`,type:`string`,id:`param-values-source-extractor-id`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`structured_extraction`}),` only, required. UUID of an extractor from `,_jsx(_components.a,{href:`/api-v2/get/agents-id-dispositions-extractors`,children:`List Extractors`}),` that is org-wide or scoped to this agent.`]})}),_jsx(ParamField,{body:`values[].source.extractorVersionId`,type:`string`,id:`param-values-source-extractor-version-id`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`structured_extraction`}),` only. UUID of a version of that extractor. Optional while drafting; required to publish or run a test, and publish requires a published (archived) version.`]})}),_jsx(ParamField,{body:`values[].source.frozen`,type:`object`,id:`param-values-source-frozen`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`structured_extraction`}),` only. Written by the server at publish time with a copy of the pinned extractor’s prompt, output schema, and inference configuration. You may echo back the copy you read from the draft or omit it; publish rewrites it either way.`]})}),_jsx(ParamField,{body:`values[].source.judgeId`,type:`string`,id:`param-values-source-judge-id`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`judge`}),` only, required. UUID of a judge from `,_jsx(_components.a,{href:`/api-v2/get/agents-id-dispositions-judge-catalog`,children:`Get Judge Catalog`}),` that is org-wide or scoped to this agent.`]})}),_jsx(ParamField,{body:`values[].source.judgeVersionId`,type:`string`,id:`param-values-source-judge-version-id`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`judge`}),` only, required. UUID of a version of that judge. Publish and test runs require a published (archived) version; a draft may temporarily reference an editable one.`]})}),_jsx(ParamField,{body:`values[].source.snippetId`,type:`string`,id:`param-values-source-snippet-id`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`custom_code`}),` only, required. UUID of a code snippet owned by your organization. The snippet must be JavaScript.`]})}),_jsx(ParamField,{body:`values[].source.snippetVersion`,type:`integer`,id:`param-values-source-snippet-version`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`custom_code`}),` only, required. Snippet version number, at least `,_jsx(_components.code,{children:`1`}),`.`]})}),_jsx(ParamField,{body:`values[].source.timeoutSeconds`,type:`integer`,id:`param-values-source-timeout-seconds`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`custom_code`}),` only, required. 1 to 60.`]})}),_jsx(ParamField,{body:`values[].source.connections`,type:`object`,id:`param-values-source-connections`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`custom_code`}),` only, required (may be `,_jsx(_components.code,{children:`{}`}),`). Up to 20 entries keyed by an alias matching `,_jsx(_components.code,{children:`^[A-Za-z_][A-Za-z0-9_]{0,63}$`}),`, each `,_jsx(_components.code,{children:`{ \"resourceId\": \"uuid\", \"integration\": \"optional string\" }`}),`. Resources must belong to your organization.`]})}),_jsx(ParamField,{body:`values[].source.secrets`,type:`object`,id:`param-values-source-secrets`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`custom_code`}),` only, required (may be `,_jsx(_components.code,{children:`{}`}),`). Up to 20 entries keyed by an alias with the same pattern, each `,_jsx(_components.code,{children:`{ \"secretId\": \"uuid\" }`}),`.`]})}),_jsx(ParamField,{body:`values[].source.dependencyValueIds`,type:`array`,id:`param-values-source-dependency-value-ids`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`custom_code`}),` only, required (may be `,_jsx(_components.code,{children:`[]`}),`). Up to 20 unique value ids whose results are passed to the code. Only `,_jsx(_components.code,{children:`variable_extraction`}),`, `,_jsx(_components.code,{children:`structured_extraction`}),`, and `,_jsx(_components.code,{children:`judge`}),` values may be referenced; a code value cannot depend on itself or on another code value.`]})}),_jsx(ParamField,{body:`transformation`,type:`object`,required:true,id:`param-transformation`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`{ \"version\": 1, \"root\": node }`}),`. A node is one of `,_jsx(_components.code,{children:`{ \"kind\": \"value\", \"valueId\" }`}),`, `,_jsx(_components.code,{children:`{ \"kind\": \"literal\", \"value\" }`}),`, `,_jsx(_components.code,{children:`{ \"kind\": \"object\", \"fields\": { name: node } }`}),` with names up to 64 characters, or `,_jsx(_components.code,{children:`{ \"kind\": \"array\", \"items\": [node] }`}),` with up to 50 items. Every referenced `,_jsx(_components.code,{children:`valueId`}),` must exist in `,_jsx(_components.code,{children:`values`}),`. At most 2000 nodes.`]})}),_jsx(ParamField,{body:`postCallWebhook`,type:`object`,required:true,id:`param-post-call-webhook`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`{ \"mode\": \"hold\" }`}),` or `,_jsx(_components.code,{children:`{ \"mode\": \"emit_followup\" }`}),`. `,_jsx(_components.code,{children:`hold`}),` is only valid with `,_jsx(_components.code,{children:`timing: \"immediate\"`}),`.`]})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`data.dispositionId`,type:`string`,id:`param-data-disposition-id`,children:_jsx(_components.p,{children:`The disposition this draft belongs to.`})}),`\n`,_jsx(ResponseField,{name:`data.revision`,type:`number`,id:`param-data-revision`,children:_jsxs(_components.p,{children:[`The new draft revision, `,_jsx(_components.code,{children:`expectedDraftRevision + 1`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`data.baseVersionId`,type:`string | null`,id:`param-data-base-version-id`,children:_jsxs(_components.p,{children:[`The most recently published version, or `,_jsx(_components.code,{children:`null`}),` if never published.`]})}),`\n`,_jsx(ResponseField,{name:`data.definition`,type:`object`,id:`param-data-definition`,children:_jsx(_components.p,{children:`The saved definition, as stored.`})}),`\n`,_jsx(ResponseField,{name:`errors`,type:`null | array`,id:`param-errors`,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:`Response`,numberOfLines:`37`,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:`37`,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:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dispositionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"70195e6f-b0b5-4ade-b851-2a2f25dcbde0\"`}),_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:` \"revision\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4`}),_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:` \"baseVersionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9cf8e056-0ffa-4acf-853e-c37ecaaa7e64\"`}),_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:` \"definition\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Appointment outcome\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Did the caller book an appointment?\"`}),_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:` \"timing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"within_24h\"`}),_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:` \"values\"`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"59ef1515-aa81-4010-bd61-790abdebe92f\"`}),_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:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"callback_window\"`}),_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:` \"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Requested callback window\"`}),_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:` \"schema\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Preferred callback time in the caller's words\"`}),_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:` \"source\"`}),_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:` \"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"structured_extraction\"`}),_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:` \"extractorId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cf3403ca-16af-4e5e-ad76-e4c044e6611e\"`}),_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:` \"extractorVersionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"af6ec0dc-ebf5-47a8-bf8c-4b114cd90ddf\"`}),_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:` \"execution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"reasoningEffort\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"medium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"inputSourceIds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"transcript\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"transformation\"`}),_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:` \"version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"root\"`}),_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:` \"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"object\"`}),_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:` \"fields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"callback_window\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"valueId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"59ef1515-aa81-4010-bd61-790abdebe92f\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"postCallWebhook\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"emit_followup\"`}),_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`,_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:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Invalid Body`,numberOfLines:`10`,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:`10`,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:`\"BAD_REQUEST\"`}),_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:`\"Invalid request body\"`}),_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:` \"ext\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`errors`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/expectedDraftRevision: Expected required property`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`]}\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Definition Invalid`,numberOfLines:`10`,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:`10`,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:`\"BAD_REQUEST\"`}),_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:`\"Definition failed validation\"`}),_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:` \"ext\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`problems`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:[{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`valueId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`59ef1515-aa81-4010-bd61-790abdebe92f`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`message`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Disposition value schema must exactly match the pinned extractor output schema`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}]}\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Conflict`,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:`\"CONFLICT\"`}),_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:`\"Draft revision moved (expected 3) — reload and reapply your change\"`})]}),`\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:`Not Found`,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:`\"NOT_FOUND\"`}),_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:`\"Disposition not found\"`})]}),`\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":"Update Disposition Draft","api":"PATCH https://api.bland.ai/v2/agents/{agent_id}/dispositions/{disposition_id}/draft","description":"Replace a disposition's draft definition.","href":"/api-v2/patch/agents-id-dispositions-disposition-id-draft"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":3,"children":[]},{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Path Parameters","slug":"path-parameters","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":"Response","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=\"37\">\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>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dispositionId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"70195e6f-b0b5-4ade-b851-2a2f25dcbde0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"revision\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">4\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"baseVersionId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"9cf8e056-0ffa-4acf-853e-c37ecaaa7e64\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"definition\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Appointment outcome\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Did the caller book an appointment?\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"timing\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"within_24h\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"values\"\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\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"59ef1515-aa81-4010-bd61-790abdebe92f\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"key\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"callback_window\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"label\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Requested callback window\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"schema\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"kind\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Preferred callback time in the caller's words\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"source\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"kind\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"structured_extraction\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"extractorId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"cf3403ca-16af-4e5e-ad76-e4c044e6611e\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"extractorVersionId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"af6ec0dc-ebf5-47a8-bf8c-4b114cd90ddf\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"execution\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"reasoningEffort\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"medium\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"inputSourceIds\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"transcript\"\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:#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\"> \"transformation\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"version\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"root\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"kind\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"object\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"fields\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"callback_window\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"kind\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"value\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"valueId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"59ef1515-aa81-4010-bd61-790abdebe92f\"\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:#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\"> \"postCallWebhook\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"mode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"emit_followup\"\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:#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>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\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":"Invalid Body","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=\"10\">\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\">\"BAD_REQUEST\"\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\">\"Invalid request body\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ext\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"{\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">errors\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">:[\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">/expectedDraftRevision: Expected required property\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">]}\"\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":"Definition Invalid","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=\"10\">\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\">\"BAD_REQUEST\"\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\">\"Definition failed validation\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ext\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"{\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">problems\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">:[{\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">valueId\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">:\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">59ef1515-aa81-4010-bd61-790abdebe92f\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">,\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">message\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">:\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">Disposition value schema must exactly match the pinned extractor output schema\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">}]}\"\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":"Conflict","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\">\"CONFLICT\"\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\">\"Draft revision moved (expected 3) — reload and reapply your change\"\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":"Not Found","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\">\"NOT_FOUND\"\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\">\"Disposition not found\"\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":"Update Disposition Draft","path":"/v2/agents/{agent_id}/dispositions/{disposition_id}/draft","servers":[{"url":"https://api.bland.ai"}],"method":"patch","request":{"security":[],"parameters":{"query":{},"header":{"authorization":{"schema":[{"type":"string","description":"Your API key for authentication.","required":true}]}},"cookie":{},"path":{"agent_id":{"schema":[{"type":"string","description":"The agent’s unique identifier. Must be a UUID; otherwise returns `400` with the message `agentId must be a valid UUID` . Returns `404 Agent not found` if the agent is not in your organization.","required":true}]},"disposition_id":{"schema":[{"type":"string","description":"The disposition’s unique identifier. Must be a UUID; otherwise returns `400` with the message `dispositionId must be a valid UUID` . Returns `404 Disposition not found` if it does not belong to this agent.","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"expectedDraftRevision":[{"type":"integer","description":"The draft revision you last read, at least `1` . If the live revision differs, nothing is written and the call returns `409 CONFLICT` . On success the revision becomes `expectedDraftRevision + 1` .","required":true}],"definition":[{"type":"object","properties":{"name":[{"type":"string","description":"Display name, 1 to 120 characters.","required":true}],"description":[{"type":"string","description":"Free-text description, up to 2000 characters. May be empty.","required":true}],"timing":[{"type":"string","description":"`immediate` runs within 30 minutes of call completion. `within_24h` queues the run with a 24-hour deadline.","required":true}],"values":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Up to 50 value objects. Each value produces one field of the result. Value `id` s and `key` s must be unique within the definition. A definition with no values can be saved but not published or tested.","required":true}],"values[].id":[{"type":"string","description":"A UUID you generate. It is the value’s permanent identity: results, corrections, and the transformation all refer to it. Keep existing ids stable when editing so history stays attached.","required":true}],"values[].key":[{"type":"string","description":"Payload field name, 1 to 64 characters matching `^[a-z][a-z0-9_]*$` . May change between drafts.","required":true}],"values[].label":[{"type":"string","description":"Human-readable label, 1 to 120 characters.","required":true}],"values[].schema":[{"type":"object","properties":{},"description":"The value’s output shape. `kind` is one of `boolean` , `string` , `number` , `enum` , `array` , or `object` ; every kind accepts an optional `description` up to 2000 characters. `string` accepts `format: \"date-time\"` . `enum` requires `options` : 1 to 24 entries of `{ \"key\", \"label\" }` with `key` 1 to 64 characters, `label` 1 to 120, and keys unique. `array` requires `items` (a nested schema) and accepts `minItems` (at least 0) and `maxItems` (at least 1); neither may exceed 1000 and `minItems` may not exceed `maxItems` . `object` requires `properties` (a map of names up to 64 characters to nested schemas, at most 64 of them) and `required` (unique names that all appear in `properties` ). A schema may not exceed 200 nodes, 8 levels of nesting, or 64 KB.","required":true}],"values[].source":[{"type":"object","properties":{},"description":"How the value is produced. `kind` selects one of four shapes; the fields for each kind are listed below. A `judge` value’s schema must be `boolean` or an `enum` whose keys exactly match the judge’s level keys (a pass/fail judge maps to `boolean` or a two-option `pass` and `fail` enum). A `structured_extraction` value’s schema must exactly match the pinned extractor’s output schema. A `variable_extraction` value’s schema must exactly match the `outputSchema` of the matching entry in Get Variable Catalog .","required":true}],"values[].source.kind":[{"type":"string","description":"One of `variable_extraction` , `structured_extraction` , `judge` , or `custom_code` .","required":true}],"values[].source.variableKey":[{"type":"string","description":"`variable_extraction` only, required. Key of an existing variable on the agent, 1 to 128 characters matching `^[A-Za-z_][A-Za-z0-9_.-]{0,127}$` . The variable must exist in the agent’s current configuration."}],"values[].source.execution":[{"type":"object","properties":{},"description":"For `variable_extraction` , optional `{ \"reasoningEffort\" }` defaulting to `auto` . For `structured_extraction` and `judge` , required `{ \"reasoningEffort\", \"inputSourceIds\" }` . `reasoningEffort` is `auto` , `low` , `medium` , or `high` . `inputSourceIds` is 1 to 8 of `transcript` , `audio_recording` , `call_metadata` , `pathway_logs` , `tool_logs` , `variables` , `agent_config` , `call_config` . An audio judge must include `audio_recording` . A structured extraction cannot combine `low` effort with `audio_recording` ."}],"values[].source.extractorId":[{"type":"string","description":"`structured_extraction` only, required. UUID of an extractor from List Extractors that is org-wide or scoped to this agent."}],"values[].source.extractorVersionId":[{"type":"string","description":"`structured_extraction` only. UUID of a version of that extractor. Optional while drafting; required to publish or run a test, and publish requires a published (archived) version."}],"values[].source.frozen":[{"type":"object","properties":{},"description":"`structured_extraction` only. Written by the server at publish time with a copy of the pinned extractor’s prompt, output schema, and inference configuration. You may echo back the copy you read from the draft or omit it; publish rewrites it either way."}],"values[].source.judgeId":[{"type":"string","description":"`judge` only, required. UUID of a judge from Get Judge Catalog that is org-wide or scoped to this agent."}],"values[].source.judgeVersionId":[{"type":"string","description":"`judge` only, required. UUID of a version of that judge. Publish and test runs require a published (archived) version; a draft may temporarily reference an editable one."}],"values[].source.snippetId":[{"type":"string","description":"`custom_code` only, required. UUID of a code snippet owned by your organization. The snippet must be JavaScript."}],"values[].source.snippetVersion":[{"type":"integer","description":"`custom_code` only, required. Snippet version number, at least `1` ."}],"values[].source.timeoutSeconds":[{"type":"integer","description":"`custom_code` only, required. 1 to 60."}],"values[].source.connections":[{"type":"object","properties":{},"description":"`custom_code` only, required (may be `{}` ). Up to 20 entries keyed by an alias matching `^[A-Za-z_][A-Za-z0-9_]{0,63}$` , each `{ \"resourceId\": \"uuid\", \"integration\": \"optional string\" }` . Resources must belong to your organization."}],"values[].source.secrets":[{"type":"object","properties":{},"description":"`custom_code` only, required (may be `{}` ). Up to 20 entries keyed by an alias with the same pattern, each `{ \"secretId\": \"uuid\" }` ."}],"values[].source.dependencyValueIds":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"`custom_code` only, required (may be `[]` ). Up to 20 unique value ids whose results are passed to the code. Only `variable_extraction` , `structured_extraction` , and `judge` values may be referenced; a code value cannot depend on itself or on another code value."}],"transformation":[{"type":"object","properties":{},"description":"`{ \"version\": 1, \"root\": node }` . A node is one of `{ \"kind\": \"value\", \"valueId\" }` , `{ \"kind\": \"literal\", \"value\" }` , `{ \"kind\": \"object\", \"fields\": { name: node } }` with names up to 64 characters, or `{ \"kind\": \"array\", \"items\": [node] }` with up to 50 items. Every referenced `valueId` must exist in `values` . At most 2000 nodes.","required":true}],"postCallWebhook":[{"type":"object","properties":{},"description":"`{ \"mode\": \"hold\" }` or `{ \"mode\": \"emit_followup\" }` . `hold` is only valid with `timing: \"immediate\"` .","required":true}]},"description":"The complete replacement definition. Schema violations return `400 BAD_REQUEST` with message `Invalid request body` and an `ext` string listing each failing path. Rule violations return `400 BAD_REQUEST` with message `Definition failed validation` and an `ext` string carrying `problems` , each with `valueId` and `message` . Drafts are validated less strictly than publishing: a `structured_extraction` value may omit its version pin, and judge or extractor pins may still be editable.","required":true}]}}],"examples":{"example":{"value":{"expectedDraftRevision":123,"definition":{"name":"\u003cstring>","description":"\u003cstring>","timing":"\u003cstring>","values":[{}],"values[].id":"\u003cstring>","values[].key":"\u003cstring>","values[].label":"\u003cstring>","values[].schema":{},"values[].source":{},"values[].source.kind":"\u003cstring>","values[].source.variableKey":"\u003cstring>","values[].source.execution":{},"values[].source.extractorId":"\u003cstring>","values[].source.extractorVersionId":"\u003cstring>","values[].source.frozen":{},"values[].source.judgeId":"\u003cstring>","values[].source.judgeVersionId":"\u003cstring>","values[].source.snippetId":"\u003cstring>","values[].source.snippetVersion":123,"values[].source.timeoutSeconds":123,"values[].source.connections":{},"values[].source.secrets":{},"values[].source.dependencyValueIds":[{}],"transformation":{},"postCallWebhook":{}}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"data.dispositionId":[{"type":"string","description":"The disposition this draft belongs to."}],"data.revision":[{"type":"number","description":"The new draft revision, `expectedDraftRevision + 1` ."}],"data.baseVersionId":[{"type":"object","properties":{},"description":"The most recently published version, or `null` if never published."}],"data.definition":[{"type":"object","properties":{},"description":"The saved definition, as stored."}],"errors":[{"type":"object","properties":{},"description":"`null` on success, or a list of error objects if the request failed."}]}}],"examples":{"example":{"value":{"data.dispositionId":"\u003cstring>","data.revision":123,"data.baseVersionId":{},"data.definition":{},"errors":{}}}}}}},"deprecated":false}},"jsLinks":["/_mintlify/custom/blandai/02e9da7d1fa2fc47/script.js"],"subdomain":"blandai","siteName":"Bland","title":"Update Disposition Draft - Bland","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-15T05:20:06.189Z","originalFileLocation":"api-v2/patch/agents-id-dispositions-disposition-id-draft.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=\"Replace a disposition\u0026#x27;s draft definition.\">\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=\"Update Disposition Draft - Bland\">\u003cmeta data-mint-head property=\"og:description\" content=\"Replace a disposition\u0026#x27;s draft definition.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Bland\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.bland.ai/api-v2/patch/agents-id-dispositions-disposition-id-draft\">\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=Dispositions\u0026amp;title=Update+Disposition+Draft\u0026amp;description=Replace+a+disposition%27s+draft+definition.\u0026amp;theme=60d552fdcd41dd262af0d45c\u0026amp;signature=5e4045a10f7d1b3e104abf31b3e33fc69c0ac93f1cf7a44d4cab4bb9a7962941\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update Disposition Draft - Bland\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Replace a disposition\u0026#x27;s draft definition.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://blandai.mintlify.app/_mintlify/api/og/v2?division=Dispositions\u0026amp;title=Update+Disposition+Draft\u0026amp;description=Replace+a+disposition%27s+draft+definition.\u0026amp;theme=60d552fdcd41dd262af0d45c\u0026amp;signature=5e4045a10f7d1b3e104abf31b3e33fc69c0ac93f1cf7a44d4cab4bb9a7962941\">\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/patch/agents-id-dispositions-disposition-id-draft\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-v2/patch/agents-id-dispositions-disposition-id-draft.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/patch/agents-id-dispositions-disposition-id-draft#webpage\",\"url\":\"https://docs.bland.ai/api-v2/patch/agents-id-dispositions-disposition-id-draft\",\"name\":\"Update Disposition Draft\",\"description\":\"Replace a disposition's draft definition.\",\"dateModified\":\"2026-09-15T05:20:06.189Z\",\"isPartOf\":{\"@id\":\"https://docs.bland.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.bland.ai/api-v2/patch/agents-id-dispositions-disposition-id-draft#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.bland.ai/api-v2/patch/agents-id-dispositions-disposition-id-draft#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Dispositions\",\"item\":\"https://docs.bland.ai/api-v2/get/agents-id-dispositions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Disposition Draft\",\"item\":\"https://docs.bland.ai/api-v2/patch/agents-id-dispositions-disposition-id-draft\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.bland.ai/api-v2/patch/agents-id-dispositions-disposition-id-draft#apireference\",\"headline\":\"Update Disposition Draft\",\"name\":\"Update Disposition Draft\",\"description\":\"Replace a disposition's draft definition.\",\"url\":\"https://docs.bland.ai/api-v2/patch/agents-id-dispositions-disposition-id-draft\",\"mainEntityOfPage\":{\"@id\":\"https://docs.bland.ai/api-v2/patch/agents-id-dispositions-disposition-id-draft#webpage\"},\"dateModified\":\"2026-09-15T05:20:06.189Z\",\"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","description":"Retrieve a disposition's live draft definition.","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","description":"List a disposition's published versions, newest first.","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","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","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":"Update Disposition Draft - 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"]}