{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Voiceflow Documentation","description":"Build, launch, and scale AI agents for every customer channel — all in one platform.","colors":{"primary":"#2F68DB","light":"#2F68DB","dark":"#397DFF"},"logo":{"light":"https://mintcdn.com/voiceflow-009a8802/1vhxJ0GVX_3qkVnB/logo/Wordmark_dark.svg?fit=max\u0026auto=format\u0026n=1vhxJ0GVX_3qkVnB\u0026q=85\u0026s=8e412b15780e514697534faf70db3b75","dark":"https://mintcdn.com/voiceflow-009a8802/1vhxJ0GVX_3qkVnB/logo/Wordmark_white.svg?fit=max\u0026auto=format\u0026n=1vhxJ0GVX_3qkVnB\u0026q=85\u0026s=64dc7a2e2414fe24e295e621410522b6"},"favicon":"https://mintcdn.com/voiceflow-009a8802/sQXqOXyzFR_wI2F3/images/Favicon_docs.png?fit=max\u0026auto=format\u0026n=sQXqOXyzFR_wI2F3\u0026q=85\u0026s=298e6fedd127e2473e6e15760152d714","api":{"playground":{"display":"simple"},"examples":{"languages":["bash"]}},"appearance":{"default":"light","strict":false},"background":{"color":{"light":"#fff","dark":"#1a1a1a"}},"navbar":{"links":[{"href":"mailto:support@voiceflow.com","label":"Contact support"}],"primary":{"type":"button","label":"Contact Sales","href":"http://voiceflow.com/demo"}},"seo":{"metatags":{"google-site-verification":"pO8mAeCAchjNMVkVWA5Phbe28KLPtVr58r6_kS67hKw"},"indexing":"navigable"},"fonts":{"family":"Inter","weight":400,"format":"woff"},"icons":{"library":"tabler"},"styling":{"eyebrows":"breadcrumbs","latex":false},"integrations":{"ga4":{"measurementId":"G-F0KHK5CXY4"}},"errors":{"404":{"redirect":false,"title":"Page not found","description":"Our agents searched high and low but couldn't find the page you are looking for. They're upset, but they let our team know so we can fix this. Maybe one of these pages might help?"}},"contextual":{"options":["copy","view","mcp","cursor","vscode"],"display":"header"},"thumbnails":{"appearance":"light","background":"https://mintcdn.com/voiceflow-009a8802/s3P1FU2SwfLb9qjL/images/thumbnailbackground.png?fit=max\u0026auto=format\u0026n=s3P1FU2SwfLb9qjL\u0026q=85\u0026s=003e0527a5f16c776493da4d4fe1ca2c"},"interaction":{"drilldown":true},"metadata":{"timestamp":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"voiceflow-009a8802","hasAudioNarration":false,"actualSubdomain":"voiceflow-009a8802","customDomains":["www.voiceflow.com"],"gitSource":{"type":"github","owner":"voiceflow","repo":"docs-v2","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"DISABLED"},"CONTEXTUAL_FEEDBACK":{"status":"DISABLED","enabled":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"DISABLED","enabled":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aa88745521a1150ec8831d0","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"APIs","count":177},{"language":"default","tag":"CLI","count":156},{"language":"default","tag":"Command reference","count":153},{"language":"default","tag":"Build","count":119},{"language":"default","tag":"Documentation","count":75},{"language":"default","tag":"Agent","count":29},{"language":"default","tag":"Analytics","count":27},{"language":"default","tag":"analytics","count":27},{"language":"default","tag":"Analytics query","count":25},{"language":"default","tag":"QA","count":24}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".root{--tw-prose-body: #37413F;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151}:root{--font-weight-body-custom: inherit}.prose strong,#content-container strong{font-weight:600!important}.sidebar-group-header{font-weight:600!important}.prose thead th{font-weight:600!important}.font-semibold{font-weight:600!important}.nav-tabs-item{font-weight:500!important}.max-w-xl{max-width:48rem!important}.sidebar-title{font-weight:600!important}.prose code{font-weight:500!important}.prose pre code{font-weight:400!important}video.mint-w-full{border-radius:8px}.param-head .text-primary{font-weight:700}.primitive-param-field>div{padding-top:1em;padding-bottom:1em}.primitive-param-field>div div{margin-top:0}.primitive-param-field [data-component-part=\"field-name\"]{font-size:1.1em}#api-playground-2-operation-page>div>div>div>div{border:none}@media (min-width: 1600px){body:has(#api-playground-2-operation-page) #content-side-layout{width:36rem!important;max-width:36rem!important}body:has(#api-playground-2-operation-page) #content-side-layout>div.grid{width:36rem!important;max-width:36rem!important}}#header div:has(>h1){flex-direction:column;align-items:flex-start}#header div:has(>h1)>div{margin-left:0}#header>div:first-child #page-context-menu{display:none!important}#header{display:flex;flex-direction:column;padding-bottom:1.25rem;border-bottom:1px solid #e5e7eb}#header>#page-context-menu{display:flex!important;order:-1;margin-bottom:1.75rem}html.dark #header{border-bottom-color:#374151}@media (max-width: 480px){#header>#page-context-menu>*{white-space:nowrap}.vf-ask-ai-label{display:none}.vf-ask-ai-main{padding-left:0.625rem;padding-right:0.625rem}}#sidebar-content ul.sidebar-group:has(+div),#sidebar-content .nav-anchors+div:has(>.sidebar-group-header){padding-bottom:1.25rem;border-bottom:1px solid #e5e7eb}html.dark #sidebar-content ul.sidebar-group:has(+div),html.dark #sidebar-content .nav-anchors+div:has(>.sidebar-group-header){border-bottom-color:#374151}#vf-ask-ai{position:relative;margin-right:0.5rem}.vf-ask-ai-main,.vf-ask-ai-toggle{background:#d97757;border-color:#d97757;color:#fff}.vf-ask-ai-main:hover,.vf-ask-ai-toggle:hover{background:#c8663f;border-color:#c8663f}.vf-ask-ai-toggle{border-left:1px solid rgb(255 255 255 / 25%)}.vf-mark-chatgpt{color:#000}.vf-mark-claude{color:#d97757}.vf-mark-perplexity{color:#20808d}html.dark .vf-mark-chatgpt{color:#fff}html.dark .vf-mark-perplexity{color:#20b8c8}.vf-ask-ai-mark svg{width:16px;height:16px;display:block}.vf-ask-ai-panel{position:absolute;top:calc(100% + 6px);left:0;z-index:40;min-width:190px;padding:4px;border-radius:12px;border:1px solid #e5e7eb;background:#fff;box-shadow:0 8px 24px rgb(17 24 39 / 8%)}.vf-ask-ai-panel a{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:8px;font-size:0.875rem;color:#374151;text-decoration:none}.vf-ask-ai-panel a:hover{background:rgb(47 104 219 / 8%);color:#2f68db}html.dark .vf-ask-ai-panel{border-color:rgb(255 255 255 / 7%);background:#0f1117;box-shadow:0 8px 24px rgb(0 0 0 / 40%)}html.dark .vf-ask-ai-panel a{color:#d1d5db}html.dark .vf-ask-ai-panel a:hover{background:rgb(57 125 255 / 12%);color:#397dff}"}]}
{"page":{"pagePath":"api-reference/document/get-document","slug":"/api-reference/document/get-document","pageMetadata":{"title":"Get document","description":"Returns a single document by ID, with the fields that define it. A document is a source the knowledge base retrieves from.","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/document/{documentID}","href":"/api-reference/document/get-document","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Returns a single document by ID, with the fields that define it. A document is a source the knowledge base retrieves from.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get document","description":"Returns a single document by ID, with the fields that define it. A document is a source the knowledge base retrieves from.","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/document/{documentID}","href":"/api-reference/document/get-document","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/voiceflow-009a8802/a422365db5c10246/Voiceflow.js","/docs/_mintlify/custom/voiceflow-009a8802/e041c7a6060d1797/ask-ai.js"],"openApiReferenceData":{"operation":{"operationId":"StableDocumentController_get","x-vf":{"mcp":{"tool":"voiceflow_document","toolDescription":"Individual Knowledge Base documents. Four source types: text (plain prose), table (structured rows — each row becomes its own chunk), URL (web page or sitemap — system crawls), file (PDF/DOCX/TXT upload).\nThe metadata model is documented on the table-creation operation — see it for how document-level metadata, searchable fields, non-searchable metadata fields, and chunk-level metadata interact, and which level the agent's Knowledge Base system tool filters on at runtime.\nPredecessor: select the project and environment first.\nSuccessor: query the knowledge base to verify retrieval surfaces the new/updated content with reasonable scores.","operation":"get","operationDescription":"WHAT — Fetch one document's metadata plus content (or chunk preview for large docs).\nUSE WHEN — Before update, or inspecting what's actually stored for a specific document."},"cli":{"command":"document get"}},"x-speakeasy-group":"document","x-speakeasy-name-override":"get","summary":"Get document","description":"Returns a single document by ID, with the fields that define it. A document is a source the knowledge base retrieves from.","parameters":["2dcbe94d-97e7-4214-be4e-526cb51804b8","730d2585-745d-4f1a-b1bc-41992b242490","cc7b36dd-eaef-4840-8676-744a66037d78"],"responses":{"200":"43c8092f-b219-4bdf-8401-56ae30ca5373"},"tags":["Document"],"security":["54678d61-9977-4201-8888-073175b51995"],"x-vf-doc":{"description":"Returns a single document by ID, with the fields that define it. A document is a source the knowledge base retrieves from."},"method":"get","type":"path","servers":["bef91f36-6330-4813-ace2-8f59c2e8845a"],"path":"/v1/stable/document/{documentID}","baseUrlOptions":["https://realtime-api.voiceflow.com"],"title":"Get document","codeSamples":[],"requestExampleLanguages":["bash"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2dcbe94d-97e7-4214-be4e-526cb51804b8":{"name":"documentID","required":true,"in":"path","schema":{"type":"string","isRequired":true,"description":"The ID of the knowledge base document to operate on.","uniqueKey":"","typeLabel":"string"},"x-vf-doc":{"description":"The ID of the knowledge base document to operate on."},"description":"The ID of the knowledge base document to operate on."},"730d2585-745d-4f1a-b1bc-41992b242490":{"name":"projectID","required":true,"in":"query","schema":{"type":"string","description":"The ID of the project to operate on.","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"cc7b36dd-eaef-4840-8676-744a66037d78":{"name":"environmentAlias","required":true,"in":"query","schema":{"type":"string","description":"The alias of the environment to operate on (e.g. `main`).","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"responses":{"43c8092f-b219-4bdf-8401-56ae30ca5373":{"description":"Returns one knowledge base document in full, adding its chunks and metadata to the data, status, and chunking settings the list operation reports.","content":{"application/json":{"schema":{"type":"object","properties":{"document":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"document.id","typeLabel":"string"},"data":{"oneOf":[{"type":"object","required":["type","name","url"],"properties":{"type":{"type":"string","enum":["url"],"x-enumNames":["URL"],"isRequired":true,"uniqueKey":"document.data.oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"document.data.oneOf.0.name","typeLabel":"string"},"url":{"type":"string","isRequired":true,"uniqueKey":"document.data.oneOf.0.url","typeLabel":"string"},"refreshRate":{"type":"string","enum":["daily","weekly","monthly","never"],"x-enumNames":["DAILY","WEEKLY","MONTHLY","NEVER"],"uniqueKey":"document.data.oneOf.0.refreshRate","typeLabel":"enum\u003cstring>"},"lastSuccessUpdate":{"type":"string","uniqueKey":"document.data.oneOf.0.lastSuccessUpdate","typeLabel":"string"},"accessTokenID":{"type":"number","uniqueKey":"document.data.oneOf.0.accessTokenID","typeLabel":"number"},"integrationExternalID":{"type":"string","uniqueKey":"document.data.oneOf.0.integrationExternalID","typeLabel":"string"},"source":{"type":"string","enum":["zendesk","shopify"],"x-enumNames":["ZENDESK","SHOPIFY"],"uniqueKey":"document.data.oneOf.0.source","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"document.data.oneOf.0","typeLabel":"object"},{"type":"object","required":["type","name"],"properties":{"type":{"type":"string","enum":["docx"],"x-enumNames":["DOCX"],"isRequired":true,"uniqueKey":"document.data.oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"document.data.oneOf.1.name","typeLabel":"string"},"url":{"oneOf":[{"type":"string","uniqueKey":"document.data.oneOf.1.url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"document.data.oneOf.1.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"document.data.oneOf.1.url","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"document.data.oneOf.1","typeLabel":"object"},{"type":"object","required":["type","name"],"properties":{"type":{"type":"string","enum":["pdf"],"x-enumNames":["PDF"],"isRequired":true,"uniqueKey":"document.data.oneOf.2.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"document.data.oneOf.2.name","typeLabel":"string"},"url":{"oneOf":[{"type":"string","uniqueKey":"document.data.oneOf.2.url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"document.data.oneOf.2.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"document.data.oneOf.2.url","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"document.data.oneOf.2","typeLabel":"object"},{"type":"object","required":["type","name"],"properties":{"type":{"type":"string","enum":["text"],"x-enumNames":["TEXT"],"isRequired":true,"uniqueKey":"document.data.oneOf.3.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"document.data.oneOf.3.name","typeLabel":"string"},"canEdit":{"type":"boolean","uniqueKey":"document.data.oneOf.3.canEdit","typeLabel":"boolean"},"url":{"oneOf":[{"type":"string","uniqueKey":"document.data.oneOf.3.url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"document.data.oneOf.3.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"document.data.oneOf.3.url","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"document.data.oneOf.3","typeLabel":"object"},{"type":"object","required":["type","name"],"properties":{"type":{"type":"string","enum":["md"],"x-enumNames":["MD"],"isRequired":true,"uniqueKey":"document.data.oneOf.4.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"document.data.oneOf.4.name","typeLabel":"string"},"url":{"oneOf":[{"type":"string","uniqueKey":"document.data.oneOf.4.url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"document.data.oneOf.4.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"document.data.oneOf.4.url","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"document.data.oneOf.4","typeLabel":"object"},{"type":"object","required":["type","name"],"properties":{"type":{"type":"string","enum":["csv"],"x-enumNames":["CSV"],"isRequired":true,"uniqueKey":"document.data.oneOf.5.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"document.data.oneOf.5.name","typeLabel":"string"},"rowsCount":{"type":"number","uniqueKey":"document.data.oneOf.5.rowsCount","typeLabel":"number"},"url":{"oneOf":[{"type":"string","uniqueKey":"document.data.oneOf.5.url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"document.data.oneOf.5.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"document.data.oneOf.5.url","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"document.data.oneOf.5","typeLabel":"object"},{"type":"object","required":["type","name"],"properties":{"type":{"type":"string","enum":["xlsx"],"x-enumNames":["XLSX"],"isRequired":true,"uniqueKey":"document.data.oneOf.6.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"document.data.oneOf.6.name","typeLabel":"string"},"rowsCount":{"type":"number","uniqueKey":"document.data.oneOf.6.rowsCount","typeLabel":"number"},"url":{"oneOf":[{"type":"string","uniqueKey":"document.data.oneOf.6.url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"document.data.oneOf.6.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"document.data.oneOf.6.url","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"document.data.oneOf.6","typeLabel":"object"},{"type":"object","required":["type","name","rowsCount"],"properties":{"type":{"type":"string","enum":["table"],"x-enumNames":["TABLE"],"isRequired":true,"uniqueKey":"document.data.oneOf.7.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"document.data.oneOf.7.name","typeLabel":"string"},"rowsCount":{"type":"number","isRequired":true,"uniqueKey":"document.data.oneOf.7.rowsCount","typeLabel":"number"},"url":{"oneOf":[{"type":"string","uniqueKey":"document.data.oneOf.7.url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"document.data.oneOf.7.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"document.data.oneOf.7.url","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"document.data.oneOf.7","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"document.data.oneOf.8","typeLabel":"null"}],"isRequired":true,"uniqueKey":"document.data","typeLabel":"object · object · object · object · object · object · object · object · null"},"status":{"type":"object","properties":{"type":{"type":"string","enum":["ERROR","PENDING","SUCCESS","INITIALIZED"],"x-enumNames":["ERROR","PENDING","SUCCESS","INITIALIZED"],"isRequired":true,"uniqueKey":"document.status.type","typeLabel":"enum\u003cstring>"},"data":{"oneOf":[{}],"uniqueKey":"document.status.data","typeLabel":"any"}},"required":["type"],"isRequired":true,"uniqueKey":"document.status","typeLabel":"object"},"smartChunking":{"oneOf":[{"type":"object","properties":{"markdownConversion":{"oneOf":[{"type":"boolean","description":"When enabled, HTML is automatically converted to markdown to generate better chunks.","uniqueKey":"document.smartChunking.oneOf.0.markdownConversion.oneOf.0","typeLabel":"boolean"},{"type":"string","description":"When enabled, HTML is automatically converted to markdown to generate better chunks.","enum":["true","false"],"x-enumNames":["TRUE","FALSE"],"uniqueKey":"document.smartChunking.oneOf.0.markdownConversion.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"document.smartChunking.oneOf.0.markdownConversion","typeLabel":"boolean | enum\u003cstring>"},"llmBasedChunks":{"oneOf":[{"type":"boolean","uniqueKey":"document.smartChunking.oneOf.0.llmBasedChunks.oneOf.0","typeLabel":"boolean"},{"type":"string","enum":["true","false"],"x-enumNames":["TRUE","FALSE"],"uniqueKey":"document.smartChunking.oneOf.0.llmBasedChunks.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"document.smartChunking.oneOf.0.llmBasedChunks","typeLabel":"boolean | enum\u003cstring>"},"llmGeneratedQ":{"oneOf":[{"type":"boolean","description":"When enabled, an LLM will be used to generate a question based on the document context and specific chunk, then prepend it to the chunk. This enhances retrieval by aligning chunks with potential user queries.","uniqueKey":"document.smartChunking.oneOf.0.llmGeneratedQ.oneOf.0","typeLabel":"boolean"},{"type":"string","description":"When enabled, an LLM will be used to generate a question based on the document context and specific chunk, then prepend it to the chunk. This enhances retrieval by aligning chunks with potential user queries.","enum":["true","false"],"x-enumNames":["TRUE","FALSE"],"uniqueKey":"document.smartChunking.oneOf.0.llmGeneratedQ.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"document.smartChunking.oneOf.0.llmGeneratedQ","typeLabel":"boolean | enum\u003cstring>"},"llmContentSummarization":{"oneOf":[{"type":"boolean","description":"When enabled, an LLM summarizes and rewrites the content, removing unnecessary information and focusing on important parts to optimize for retrieval. Limited to 15 rows per table upload.","uniqueKey":"document.smartChunking.oneOf.0.llmContentSummarization.oneOf.0","typeLabel":"boolean"},{"type":"string","description":"When enabled, an LLM summarizes and rewrites the content, removing unnecessary information and focusing on important parts to optimize for retrieval. Limited to 15 rows per table upload.","enum":["true","false"],"x-enumNames":["TRUE","FALSE"],"uniqueKey":"document.smartChunking.oneOf.0.llmContentSummarization.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"document.smartChunking.oneOf.0.llmContentSummarization","typeLabel":"boolean | enum\u003cstring>"},"llmPrependContext":{"oneOf":[{"type":"boolean","description":"When enabled, an LLM generates a context summary based on the document and chunk context, and prepends it to each chunk. This improves retrieval by providing additional context to each chunk. Note: If both llmGeneratedQ and llmPrependContext are set to true, llmGeneratedQ takes precedence, and the context summarization will not be applied.","uniqueKey":"document.smartChunking.oneOf.0.llmPrependContext.oneOf.0","typeLabel":"boolean"},{"type":"string","description":"When enabled, an LLM generates a context summary based on the document and chunk context, and prepends it to each chunk. This improves retrieval by providing additional context to each chunk. Note: If both llmGeneratedQ and llmPrependContext are set to true, llmGeneratedQ takes precedence, and the context summarization will not be applied.","enum":["true","false"],"x-enumNames":["TRUE","FALSE"],"uniqueKey":"document.smartChunking.oneOf.0.llmPrependContext.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"document.smartChunking.oneOf.0.llmPrependContext","typeLabel":"boolean | enum\u003cstring>"}},"isRequired":true,"uniqueKey":"document.smartChunking.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"document.smartChunking.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"document.smartChunking","typeLabel":"object | null"},"chunks":{"type":"array","items":{"type":"object","properties":{"chunkID":{"type":"string","isRequired":true,"uniqueKey":"document.chunks.items.[INDEX].chunkID","typeLabel":"string"},"content":{"type":"string","isRequired":true,"uniqueKey":"document.chunks.items.[INDEX].content","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"document.chunks.items.[INDEX].metadata.additionalProperties","typeLabel":"any"},"uniqueKey":"document.chunks.items.[INDEX].metadata","typeLabel":"object"}},"required":["chunkID","content"],"uniqueKey":"document.chunks.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"document.chunks","typeLabel":"object[]"},"metadata":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"The name of the metadata field.","isRequired":true,"uniqueKey":"document.metadata.items.[INDEX].key","typeLabel":"string"},"values":{"type":"array","items":{"type":"string","uniqueKey":"document.metadata.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"description":"The values assigned to this metadata field.","isRequired":true,"uniqueKey":"document.metadata.items.[INDEX].values","typeLabel":"string[]"}},"required":["key","values"],"uniqueKey":"document.metadata.items.[INDEX]","typeLabel":"object"},"description":"Metadata tags attached to the document, used to filter knowledge base retrieval at runtime.","isRequired":true,"uniqueKey":"document.metadata","typeLabel":"object[]"}},"required":["id","data","status","smartChunking","chunks","metadata"],"isRequired":true,"uniqueKey":"document","typeLabel":"object"}},"required":["document"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"document":{"id":"\u003cstring>","data":{"type":"url","name":"\u003cstring>","url":"\u003cstring>","refreshRate":"daily","lastSuccessUpdate":"\u003cstring>","accessTokenID":123,"integrationExternalID":"\u003cstring>","source":"zendesk"},"status":{"type":"ERROR","data":"\u003cunknown>"},"smartChunking":{"markdownConversion":true,"llmBasedChunks":true,"llmGeneratedQ":true,"llmContentSummarization":true,"llmPrependContext":true},"chunks":[{"chunkID":"\u003cstring>","content":"\u003cstring>","metadata":{}}],"metadata":[{"key":"\u003cstring>","values":["\u003cstring>"]}]}}}},"exampleType":"generated"}},"x-vf-doc":{"description":"Returns one knowledge base document in full, adding its chunks and metadata to the data, status, and chunking settings the list operation reports."},"exampleType":"generated"}},"security":{"54678d61-9977-4201-8888-073175b51995":{"token":{"scheme":"bearer","bearerFormat":"JWT","type":"http","description":"Voiceflow bearer token","scopes":[]}}},"servers":{"bef91f36-6330-4813-ace2-8f59c2e8845a":{"url":"https://realtime-api.voiceflow.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","bearerFormat":"JWT","type":"http","description":"Voiceflow bearer token","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Voiceflow bearer token","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"token","name":"Authorization"}],"title":"token"}]},"originalFileLocation":"specs-prettified/realtime/openapi.stable.json"},"subdomain":"voiceflow-009a8802","siteName":"Voiceflow Documentation","title":"Get document - Voiceflow Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-11T15:38:59.404Z","originalFileLocation":"api-reference/document/get-document.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Returns a single document by ID, with the fields that define it. A document is a source the knowledge base retrieves from.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Voiceflow Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get document - Voiceflow Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns a single document by ID, with the fields that define it. A document is a source the knowledge base retrieves from.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Voiceflow Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.voiceflow.com/docs/api-reference/document/get-document\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://voiceflow-009a8802.mintlify.site/docs/_mintlify/api/og/v2?division=Knowledge+base+document\u0026amp;title=Get+document\u0026amp;description=Returns+a+single+document+by+ID%2C+with+the+fields+that+define+it.+A+document+is+a+source+the+knowledge+base+retrieves+from.\u0026amp;theme=cf68d707af81f256335be7f3\u0026amp;signature=e5e135436d36cd2b31df3f2bec5d59f3fbfe5eb3ac76a44242cde5dd3c09bb11\">\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=\"Get document - Voiceflow Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns a single document by ID, with the fields that define it. A document is a source the knowledge base retrieves from.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://voiceflow-009a8802.mintlify.site/docs/_mintlify/api/og/v2?division=Knowledge+base+document\u0026amp;title=Get+document\u0026amp;description=Returns+a+single+document+by+ID%2C+with+the+fields+that+define+it.+A+document+is+a+source+the+knowledge+base+retrieves+from.\u0026amp;theme=cf68d707af81f256335be7f3\u0026amp;signature=e5e135436d36cd2b31df3f2bec5d59f3fbfe5eb3ac76a44242cde5dd3c09bb11\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/voiceflow-009a8802/q7IgIvcII3USklep/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Voiceflow Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2F68DB\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"pO8mAeCAchjNMVkVWA5Phbe28KLPtVr58r6_kS67hKw\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.voiceflow.com/docs/api-reference/document/get-document\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/document/get-document.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.voiceflow.com/#organization\",\"name\":\"Voiceflow Documentation\",\"url\":\"https://www.voiceflow.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/voiceflow-009a8802/1vhxJ0GVX_3qkVnB/logo/Wordmark_dark.svg?fit=max\u0026auto=format\u0026n=1vhxJ0GVX_3qkVnB\u0026q=85\u0026s=8e412b15780e514697534faf70db3b75\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.voiceflow.com/docs#website\",\"name\":\"Voiceflow Documentation\",\"url\":\"https://www.voiceflow.com/docs\",\"publisher\":{\"@id\":\"https://www.voiceflow.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.voiceflow.com/docs/api-reference/document/get-document#webpage\",\"url\":\"https://www.voiceflow.com/docs/api-reference/document/get-document\",\"name\":\"Get document\",\"description\":\"Returns a single document by ID, with the fields that define it. A document is a source the knowledge base retrieves from.\",\"dateModified\":\"2026-09-11T15:38:59.404Z\",\"isPartOf\":{\"@id\":\"https://www.voiceflow.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.voiceflow.com/docs/api-reference/document/get-document#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.voiceflow.com/docs/api-reference/document/get-document#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Build\",\"item\":\"https://www.voiceflow.com/docs/api-reference/sections/build\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge base document\",\"item\":\"https://www.voiceflow.com/docs/api-reference/document/list-documents\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get document\",\"item\":\"https://www.voiceflow.com/docs/api-reference/document/get-document\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.voiceflow.com/docs/api-reference/document/get-document#apireference\",\"headline\":\"Get document\",\"name\":\"Get document\",\"description\":\"Returns a single document by ID, with the fields that define it. A document is a source the knowledge base retrieves from.\",\"url\":\"https://www.voiceflow.com/docs/api-reference/document/get-document\",\"mainEntityOfPage\":{\"@id\":\"https://www.voiceflow.com/docs/api-reference/document/get-document#webpage\"},\"dateModified\":\"2026-09-11T15:38:59.404Z\",\"publisher\":{\"@id\":\"https://www.voiceflow.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.voiceflow.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Voiceflow Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Voiceflow Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/document/get-document.md","siteName":"Voiceflow Documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/documentation/introduction"}]},{"tab":"Tutorials","pages":[{"title":"Tutorials","href":"/courses/home"}]},{"tab":"APIs","pages":[{"group":"Getting started","pages":[{"title":"What the REST API covers","sidebarTitle":"Overview","href":"/api-reference/api-overview"},{"title":"Your first API request","sidebarTitle":"Quickstart","href":"/api-reference/quickstart"},{"title":"Personal access tokens","sidebarTitle":"Authentication","href":"/api-reference/authentication"},{"title":"Runnable API recipes","sidebarTitle":"Cookbook","href":"/cookbook/overview"}]},{"group":"Running agents","pages":[{"title":"Running agents overview","sidebarTitle":"Overview","href":"/api-reference/sections/running-agents"},{"title":"Traces","href":"/api-reference/trace-types"},{"title":"Run your first conversation turn","sidebarTitle":"Run a conversation turn","href":"/cookbook/first-conversation-turn"},{"title":"Stream a response token by token","sidebarTitle":"Stream a response","href":"/cookbook/stream-a-response"},{"title":"WebSocket","sidebarTitle":"WebSocket","href":"/api-reference/conversations-api/interact-socket"},{"group":"Conversation","pages":[{"title":"Send","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json put /v1/stable/conversation/{userID}","href":"/api-reference/conversation/send"}]},{"group":"Conversation state","pages":[{"title":"Get state","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/conversation-state/{userID}","href":"/api-reference/conversation-state/get-state"},{"title":"Update state","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/conversation-state/{userID}","href":"/api-reference/conversation-state/update-state"},{"title":"Delete state","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/conversation-state/{userID}","href":"/api-reference/conversation-state/delete-state"},{"title":"Update variables","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/conversation-state/{userID}/variables","href":"/api-reference/conversation-state/update-variables"}]},{"group":"Knowledge base query","pages":[{"title":"Query knowledge base","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/knowledge-base/query","href":"/api-reference/knowledge-base/query-knowledge-base"}]}]},{"group":"Build","pages":[{"title":"Build overview","sidebarTitle":"Overview","href":"/api-reference/sections/build"},{"title":"Create and edit a playbook","sidebarTitle":"Create a playbook","href":"/cookbook/create-a-playbook"},{"group":"Agent","pages":[{"title":"Get agent","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/agent","href":"/api-reference/agent/get-agent"},{"title":"Update agent","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/agent","href":"/api-reference/agent/update-agent"}]},{"group":"Playbook","pages":[{"title":"List playbooks","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/playbook","href":"/api-reference/playbook/list-playbooks"},{"title":"Create playbook","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/playbook","href":"/api-reference/playbook/create-playbook"},{"title":"Create many playbooks","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/playbook/batch","href":"/api-reference/playbook/create-many-playbooks"},{"title":"Get playbook","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/playbook/{playbookID}","href":"/api-reference/playbook/get-playbook"},{"title":"Update playbook","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/playbook/{playbookID}","href":"/api-reference/playbook/update-playbook"},{"title":"Delete playbook","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/playbook/{playbookID}","href":"/api-reference/playbook/delete-playbook"}]},{"group":"Function","pages":[{"title":"List functions","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/function","href":"/api-reference/function/list-functions"},{"title":"Create function","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/function","href":"/api-reference/function/create-function"},{"title":"Create many functions","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/function/batch","href":"/api-reference/function/create-many-functions"},{"title":"Get function","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/function/{functionID}","href":"/api-reference/function/get-function"},{"title":"Update function","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/function/{functionID}","href":"/api-reference/function/update-function"},{"title":"Delete function","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/function/{functionID}","href":"/api-reference/function/delete-function"}]},{"group":"Function path","pages":[{"title":"List paths","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/function-path","href":"/api-reference/function-path/list-paths"},{"title":"Create path","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/function-path","href":"/api-reference/function-path/create-path"},{"title":"Create many paths","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/function-path/batch","href":"/api-reference/function-path/create-many-paths"},{"title":"Get path","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/function-path/{pathID}","href":"/api-reference/function-path/get-path"},{"title":"Update path","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/function-path/{pathID}","href":"/api-reference/function-path/update-path"},{"title":"Delete path","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/function-path/{pathID}","href":"/api-reference/function-path/delete-path"}]},{"group":"Function variable","pages":[{"title":"List variables","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/function-variable","href":"/api-reference/function-variable/list-variables"},{"title":"Create variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/function-variable","href":"/api-reference/function-variable/create-variable"},{"title":"Create many variables","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/function-variable/batch","href":"/api-reference/function-variable/create-many-variables"},{"title":"Get variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/function-variable/{variableID}","href":"/api-reference/function-variable/get-variable"},{"title":"Update variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/function-variable/{variableID}","href":"/api-reference/function-variable/update-variable"},{"title":"Delete variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/function-variable/{variableID}","href":"/api-reference/function-variable/delete-variable"}]},{"group":"Tool","pages":[{"title":"List tools","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/tool","href":"/api-reference/tool/list-tools"},{"title":"Create tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/tool","href":"/api-reference/tool/create-tool"},{"title":"Create many tools","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/tool/batch","href":"/api-reference/tool/create-many-tools"},{"title":"Get tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/tool/{toolID}","href":"/api-reference/tool/get-tool"},{"title":"Update tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/tool/{toolID}","href":"/api-reference/tool/update-tool"},{"title":"Delete tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/tool/{toolID}","href":"/api-reference/tool/delete-tool"}]},{"group":"API tool","pages":[{"title":"List API tools","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/api-tool","href":"/api-reference/api-tool/list-api-tools"},{"title":"Create API tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/api-tool","href":"/api-reference/api-tool/create-api-tool"},{"title":"Create many API tools","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/api-tool/batch","href":"/api-reference/api-tool/create-many-api-tools"},{"title":"Get API tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/api-tool/{toolID}","href":"/api-reference/api-tool/get-api-tool"},{"title":"Update API tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/api-tool/{toolID}","href":"/api-reference/api-tool/update-api-tool"},{"title":"Delete API tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/api-tool/{toolID}","href":"/api-reference/api-tool/delete-api-tool"}]},{"group":"API tool variable","pages":[{"title":"List variables","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/api-tool-variable","href":"/api-reference/api-tool-variable/list-variables"},{"title":"Create variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/api-tool-variable","href":"/api-reference/api-tool-variable/create-variable"},{"title":"Create many variables","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/api-tool-variable/batch","href":"/api-reference/api-tool-variable/create-many-variables"},{"title":"Get variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/api-tool-variable/{variableID}","href":"/api-reference/api-tool-variable/get-variable"},{"title":"Update variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/api-tool-variable/{variableID}","href":"/api-reference/api-tool-variable/update-variable"},{"title":"Delete variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/api-tool-variable/{variableID}","href":"/api-reference/api-tool-variable/delete-variable"}]},{"group":"Variable","pages":[{"title":"List variables","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/variable","href":"/api-reference/variable/list-variables"},{"title":"Create variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/variable","href":"/api-reference/variable/create-variable"},{"title":"Create many variables","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/variable/batch","href":"/api-reference/variable/create-many-variables"},{"title":"Get variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/variable/{variableID}","href":"/api-reference/variable/get-variable"},{"title":"Update variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/variable/{variableID}","href":"/api-reference/variable/update-variable"},{"title":"Delete variable","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/variable/{variableID}","href":"/api-reference/variable/delete-variable"}]},{"group":"MCP server","pages":[{"title":"List MCP servers","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/mcp-server","href":"/api-reference/mcp-server/list-mcp-servers"},{"title":"Create MCP server","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/mcp-server","href":"/api-reference/mcp-server/create-mcp-server"},{"title":"Get MCP server","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/mcp-server/{serverID}","href":"/api-reference/mcp-server/get-mcp-server"},{"title":"Update MCP server","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/mcp-server/{serverID}","href":"/api-reference/mcp-server/update-mcp-server"},{"title":"Delete MCP server","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/mcp-server/{serverID}","href":"/api-reference/mcp-server/delete-mcp-server"},{"title":"Sync MCP server","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json put /v1/stable/mcp-server/{serverID}/sync","href":"/api-reference/mcp-server/sync-mcp-server"}]},{"group":"MCP tool","pages":[{"title":"List MCP tools","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/mcp-tool","href":"/api-reference/mcp-tool/list-mcp-tools"},{"title":"Get MCP tool","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/mcp-tool/{toolID}","href":"/api-reference/mcp-tool/get-mcp-tool"}]},{"group":"Knowledge base document","pages":[{"title":"List documents","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/document","href":"/api-reference/document/list-documents"},{"title":"Create URL document","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/document/url","href":"/api-reference/document/create-url-document"},{"title":"Create text document","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/document/text","href":"/api-reference/document/create-text-document"},{"title":"Create table document","description":"Adds a document to the knowledge base, a source the knowledge base retrieves from. The response carries the ID that later calls address it by.","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/document/table","href":"/api-reference/document/create-table-document"},{"title":"Get document","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/document/{documentID}","href":"/api-reference/document/get-document"},{"title":"Update document","description":"Changes an existing document in place. The response carries only a confirmation message, so refetch the document to read its new values.","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/document/{documentID}","href":"/api-reference/document/update-document"},{"title":"Delete document","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/document/{documentID}","href":"/api-reference/document/delete-document"}]}]},{"group":"Manage","pages":[{"title":"Manage overview","sidebarTitle":"Overview","href":"/api-reference/sections/manage"},{"title":"Find your project and environment","sidebarTitle":"Find your project","href":"/cookbook/find-your-project"},{"group":"Project","pages":[{"title":"List projects","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/project","href":"/api-reference/project/list-projects"},{"title":"Create project","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/project","href":"/api-reference/project/create-project"},{"title":"Get project","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/project/{projectID}","href":"/api-reference/project/get-project"},{"title":"Update project","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/project/{projectID}","href":"/api-reference/project/update-project"},{"title":"Delete project","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/project/{projectID}","href":"/api-reference/project/delete-project"}]},{"group":"Workspace","pages":[{"title":"List workspaces","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/workspace","href":"/api-reference/workspace/list-workspaces"},{"title":"Create workspace","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/workspace","href":"/api-reference/workspace/create-workspace"},{"title":"Get workspace","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/workspace/{workspaceID}","href":"/api-reference/workspace/get-workspace"},{"title":"Update workspace","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/workspace/{workspaceID}","href":"/api-reference/workspace/update-workspace"},{"title":"Delete workspace","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/workspace/{workspaceID}","href":"/api-reference/workspace/delete-workspace"}]}]},{"group":"Publishing","pages":[{"title":"Publishing overview","sidebarTitle":"Overview","href":"/api-reference/sections/publishing"},{"title":"Clone an environment and publish","sidebarTitle":"Clone and publish","href":"/cookbook/clone-and-publish"},{"group":"Environment","pages":[{"title":"List environments","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/environment","href":"/api-reference/environment/list-environments"},{"title":"Merge environments","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json put /v1/stable/environment/merge","href":"/api-reference/environment/merge-environments"},{"title":"Update traffic split","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json put /v1/stable/environment/update-traffic-split","href":"/api-reference/environment/update-traffic-split"},{"title":"Get environment","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/environment/{environmentAlias}","href":"/api-reference/environment/get-environment"},{"title":"Update environment","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/environment/{environmentAlias}","href":"/api-reference/environment/update-environment"},{"title":"Delete environment","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/environment/{environmentAlias}","href":"/api-reference/environment/delete-environment"},{"title":"Export environment","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/environment/{environmentAlias}/export","href":"/api-reference/environment/export-environment"},{"title":"Compile environment","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json put /v1/stable/environment/{environmentAlias}/compile","href":"/api-reference/environment/compile-environment"},{"title":"Clone environment","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/environment/{environmentAlias}/clone","href":"/api-reference/environment/clone-environment"},{"title":"Publish environment","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/environment/{environmentAlias}/publish","href":"/api-reference/environment/publish-environment"}]}]},{"group":"Observe","pages":[{"title":"Observe overview","sidebarTitle":"Overview","href":"/api-reference/sections/observe"},{"title":"Find and label a transcript","sidebarTitle":"Find a conversation","href":"/cookbook/find-a-conversation"},{"group":"Transcript","pages":[{"title":"Search transcripts","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/transcript/search","href":"/api-reference/transcript/search-transcripts"},{"title":"Get transcript","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/transcript/{transcriptID}","href":"/api-reference/transcript/get-transcript"}]},{"group":"Transcript property","pages":[{"title":"List properties","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/transcript-property","href":"/api-reference/transcript-property/list-properties"},{"title":"Create property","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/transcript-property","href":"/api-reference/transcript-property/create-property"},{"title":"Get property","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/transcript-property/{propertyID}","href":"/api-reference/transcript-property/get-property"},{"title":"Update property","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/transcript-property/{propertyID}","href":"/api-reference/transcript-property/update-property"},{"title":"Delete property","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/transcript-property/{propertyID}","href":"/api-reference/transcript-property/delete-property"},{"title":"Set property value","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json put /v1/stable/transcript-property/{propertyID}/value","href":"/api-reference/transcript-property/set-property-value"}]}]},{"group":"Insights","pages":[{"title":"Insights overview","sidebarTitle":"Overview","href":"/api-reference/sections/insights"},{"title":"Score a conversation","sidebarTitle":"Score a conversation","href":"/cookbook/score-a-conversation"},{"group":"Evaluation","pages":[{"title":"List evaluations","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/evaluation","href":"/api-reference/evaluation/list-evaluations"},{"title":"Create evaluation","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/evaluation","href":"/api-reference/evaluation/create-evaluation"},{"title":"Get evaluation","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/evaluation/{evaluationID}","href":"/api-reference/evaluation/get-evaluation"},{"title":"Update evaluation","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/evaluation/{evaluationID}","href":"/api-reference/evaluation/update-evaluation"},{"title":"Delete evaluation","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/evaluation/{evaluationID}","href":"/api-reference/evaluation/delete-evaluation"},{"title":"Run evaluation","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/evaluation/{evaluationID}/run","href":"/api-reference/evaluation/run-evaluation"}]}]},{"group":"QA","pages":[{"title":"QA overview","sidebarTitle":"Overview","href":"/api-reference/sections/qa"},{"title":"Build a regression test","sidebarTitle":"Build a regression test","href":"/cookbook/test-a-conversation-flow"},{"group":"Test","pages":[{"title":"List tests","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/test","href":"/api-reference/test/list-tests"},{"title":"Create test","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test","href":"/api-reference/test/create-test"},{"title":"Create many tests","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test/batch","href":"/api-reference/test/create-many-tests"},{"title":"Get test","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/test/{testID}","href":"/api-reference/test/get-test"},{"title":"Update test","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/test/{testID}","href":"/api-reference/test/update-test"},{"title":"Delete test","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/test/{testID}","href":"/api-reference/test/delete-test"}]},{"group":"Test turn","pages":[{"title":"List turns","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/test-turn","href":"/api-reference/test-turn/list-turns"},{"title":"Create turn","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-turn","href":"/api-reference/test-turn/create-turn"},{"title":"Create many turns","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-turn/batch","href":"/api-reference/test-turn/create-many-turns"},{"title":"Get turn","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/test-turn/{turnID}","href":"/api-reference/test-turn/get-turn"},{"title":"Update turn","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/test-turn/{turnID}","href":"/api-reference/test-turn/update-turn"},{"title":"Delete turn","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/test-turn/{turnID}","href":"/api-reference/test-turn/delete-turn"}]},{"group":"Test check","pages":[{"title":"List checks","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/test-check","href":"/api-reference/test-check/list-checks"},{"title":"Create check","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-check","href":"/api-reference/test-check/create-check"},{"title":"Create many checks","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-check/batch","href":"/api-reference/test-check/create-many-checks"},{"title":"Get check","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/test-check/{checkID}","href":"/api-reference/test-check/get-check"},{"title":"Update check","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json patch /v1/stable/test-check/{checkID}","href":"/api-reference/test-check/update-check"},{"title":"Delete check","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json delete /v1/stable/test-check/{checkID}","href":"/api-reference/test-check/delete-check"}]},{"group":"Test run","pages":[{"title":"Search runs","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-run/search","href":"/api-reference/test-run/search-runs"},{"title":"Create run","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-run","href":"/api-reference/test-run/create-run"},{"title":"Create many runs","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/test-run/batch","href":"/api-reference/test-run/create-many-runs"},{"title":"Get run","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json get /v1/stable/test-run/{runID}","href":"/api-reference/test-run/get-run"}]}]},{"group":"Analytics","pages":[{"title":"Analytics overview","sidebarTitle":"Overview","href":"/api-reference/sections/analytics"},{"title":"Query token usage and calls","sidebarTitle":"Query token usage","href":"/cookbook/query-token-usage"},{"group":"Analytics query","pages":[{"title":"Query call count","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/call-count/project/{projectID}","href":"/api-reference/analytics/query-call-count"},{"title":"Query call duration","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/call-duration/project/{projectID}","href":"/api-reference/analytics/query-call-duration"},{"title":"Query workspace transcript count","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/transcript-count/workspace/{workspaceID}","href":"/api-reference/analytics/query-workspace-transcript-count"},{"title":"Query project transcript count","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/transcript-count/project/{projectID}","href":"/api-reference/analytics/query-project-transcript-count"},{"title":"Query transcript cost","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/transcript-cost/project/{projectID}","href":"/api-reference/analytics/query-transcript-cost"},{"title":"Query workspace interaction count","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/interaction-count/workspace/{workspaceID}","href":"/api-reference/analytics/query-workspace-interaction-count"},{"title":"Query project interaction count","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/interaction-count/project/{projectID}","href":"/api-reference/analytics/query-project-interaction-count"},{"title":"Query organization token usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/token-usage/organization/{organizationID}","href":"/api-reference/analytics/query-organization-token-usage"},{"title":"Query workspace token usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/token-usage/workspace/{workspaceID}","href":"/api-reference/analytics/query-workspace-token-usage"},{"title":"Query project token usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/token-usage/project/{projectID}","href":"/api-reference/analytics/query-project-token-usage"},{"title":"Query hourly organization token usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/hourly-token-usage/organization/{organizationID}","href":"/api-reference/analytics/query-hourly-organization-token-usage"},{"title":"Query hourly project token usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/hourly-token-usage/project/{projectID}","href":"/api-reference/analytics/query-hourly-project-token-usage"},{"title":"Query daily token usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/daily-token-usage/organization/{organizationID}","href":"/api-reference/analytics/query-daily-token-usage"},{"title":"Query entity token usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/entity-token-usage/organization/{organizationID}","href":"/api-reference/analytics/query-entity-token-usage"},{"title":"Query category token usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/category-token-usage/project/{projectID}","href":"/api-reference/analytics/query-category-token-usage"},{"title":"Query playbook usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/playbook-usage/project/{projectID}","href":"/api-reference/analytics/query-playbook-usage"},{"title":"Query workflow usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/workflow-usage/project/{projectID}","href":"/api-reference/analytics/query-workflow-usage"},{"title":"Query prompt usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/prompt-usage/project/{projectID}","href":"/api-reference/analytics/query-prompt-usage"},{"title":"Query intent usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/intent-usage/project/{projectID}","href":"/api-reference/analytics/query-intent-usage"},{"title":"Query function usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/function-usage/project/{projectID}","href":"/api-reference/analytics/query-function-usage"},{"title":"Query API tool usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/api-tool-usage/project/{projectID}","href":"/api-reference/analytics/query-api-tool-usage"},{"title":"Query MCP tool usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/mcp-tool-usage/project/{projectID}","href":"/api-reference/analytics/query-mcp-tool-usage"},{"title":"Query knowledge base document usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/knowledge-base-document-usage/project/{projectID}","href":"/api-reference/analytics/query-knowledge-base-document-usage"},{"title":"Query integration usage","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/integration-usage/project/{projectID}","href":"/api-reference/analytics/query-integration-usage"},{"title":"Query unique user count","deprecated":null,"version":null,"openapi":"/specs-prettified/realtime/openapi.stable.json post /v1/stable/analytics/query/unique-user-count/project/{projectID}","href":"/api-reference/analytics/query-unique-user-count"}]}]},{"group":"Webhooks","pages":[{"title":"Session lifecycle webhook","href":"/api-reference/webhooks/session-lifecycle"},{"title":"Organization events webhooks","href":"/api-reference/webhooks/org-events"}]}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/overview"}]},{"tab":"Resources","menu":[{"item":"Changelog","icon":"https://mintlify.s3.us-west-1.amazonaws.com/voiceflow-009a8802/images/icons/list.svg","description":"Every shipped change, newest first","pages":[{"title":"Changelog","href":"/changelog/changelog"}]},{"item":"Glossary","icon":"https://mintlify.s3.us-west-1.amazonaws.com/voiceflow-009a8802/images/icons/documentation.svg","description":"What each term means, and where it is explained","pages":[{"title":"Glossary","href":"/resources/glossary"}]},{"item":"Status","icon":"https://mintlify.s3.us-west-1.amazonaws.com/voiceflow-009a8802/images/icons/analytics.svg","description":"Live platform availability","href":"https://status.voiceflow.com"}],"pages":[{"title":"Resources","href":"/changelog/changelog"}]},{"tab":"Tico","hidden":true,"pages":[{"title":"Tico","href":"/v4-migration-guide"}]}]},"basePath":"","title":"Get document - Voiceflow Documentation","deploymentId":"dpl_3DZuqjnfdjREuPshghHhyiLeMG3U","buildId":"dpl_3DZuqjnfdjREuPshghHhyiLeMG3U","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-1OxfpBIE.js","snippetPresets-z4KUQRYf.js","utils-Cw7_7ofN.js","style-to-object-BY3JEAdk.js","utils-B6e3ZTcE.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-BjYqZ_Sx.js","conditional-requirements-CFM0id0Q.js","cloneDeep-NwHJqvNG.js","_Uint8Array-DQvCfChM.js","isObject-FP1Yky1u.js","Page-UgONhIcS.js","CodeSnippet-CKfp22tI.js","DynamicMarkdown-DYGX_69W.js","SectionHeading-BohVFepQ.js","icon-kxB1kMxf.js","ApiExamples-CMZS0IKC.js","usePlaygroundInputsStore-DOq4CN7a.js","shallow-20RUKd1y.js","isEqual-C3PA3NAf.js","CodeSnippets-B_jcR0B0.js","getApiPlaygroundDisplay-CNG71d0M.js","MethodPill-CcUxUXUe.js","getPastedJson-Beh26NhW.js","Check2Icon-BuCJBlgS.js","axios-CsQoIw0U.js","Markdown-CuH8Eulu.js","AssistantPageLink-CvdrpKtq.js","dist-5uEodgD_.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}