{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Chat Engine","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"favicon":"/logo/dark.svg","logo":{"light":"https://mintlify.s3.us-west-1.amazonaws.com/actualize/logo/light.png","dark":"https://mintlify.s3.us-west-1.amazonaws.com/actualize/logo/dark.svg"},"navbar":{"primary":{"type":"button","label":"Dashboard","href":"https://getmira.ai"}},"footer":{"socials":{"github":"https://github.com/actualize-ae","linkedin":"https://www.linkedin.com/company/actualizeae"}},"navigation":{"global":{"anchors":[{"anchor":"Join our Community","href":"https://locai-workspace.slack.com/archives/C087RJF83EJ","icon":"slack"},{"anchor":"GitHub","href":"https://github.com/LocAI1/mira-chat-engine","icon":"github"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"actualize","hasAudioNarration":false,"actualSubdomain":"actualize","customDomains":["sadaa-docs.actualize.ae"],"gitSource":{"type":"github","owner":"actualize-ae","repo":"saada-chat-engine-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a20c57aa72b99776ad7ea40","collectionId":"53398437-f70d-46b1-aecb-9008c59b6abe","schemaVersion":"v2"},"entitlements":{},"buildId":"6a20c57aa72b99776ad7ea40:success","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"Chat Engine API","count":68},{"language":"default","tag":"Knowledge Base API","count":26},{"language":"default","tag":"stores","count":13},{"language":"default","tag":"Webhooks","count":12},{"language":"default","tag":"agents","count":11},{"language":"default","tag":"API Reference","count":9},{"language":"default","tag":"Voice API","count":9},{"language":"default","tag":"chat","count":8},{"language":"default","tag":"documents","count":7},{"language":"default","tag":"Documentation","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"knowledge-base-api/documents/download-the-document","slug":"/knowledge-base-api/documents/download-the-document","pageMetadata":{"openapi":"get /v1/api/documents/{document_id}/download","href":"/knowledge-base-api/documents/download-the-document","title":"Download The Document","description":"Download a document by its ID.","version":null,"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: \"Download a document by its ID.\"\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":{"openapi":"get /v1/api/documents/{document_id}/download","href":"/knowledge-base-api/documents/download-the-document","title":"Download The Document","description":"Download a document by its ID.","version":null,"autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"subdomain":"actualize","siteName":"Chat Engine","title":"Download The Document - Chat Engine","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"knowledge-base-api/documents/download-the-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=\"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=\"Download a document by its ID.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Chat Engine\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/actualize/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/actualize/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/actualize/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/actualize/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Download The Document - Chat Engine\">\u003cmeta data-mint-head property=\"og:description\" content=\"Download a document by its ID.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Chat Engine\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://sadaa-docs.actualize.ae/knowledge-base-api/documents/download-the-document\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://actualize.mintlify.app/_mintlify/api/og/v2?division=documents\u0026amp;title=Download+The+Document\u0026amp;description=Download+a+document+by+its+ID.\u0026amp;theme=a2ecaad6d6e249e041e83276\u0026amp;signature=838233569916e6dba1b49d8e931caba61c4f4f508e0dfe21b5f80484ca291807\">\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=\"Download The Document - Chat Engine\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Download a document by its ID.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://actualize.mintlify.app/_mintlify/api/og/v2?division=documents\u0026amp;title=Download+The+Document\u0026amp;description=Download+a+document+by+its+ID.\u0026amp;theme=a2ecaad6d6e249e041e83276\u0026amp;signature=838233569916e6dba1b49d8e931caba61c4f4f508e0dfe21b5f80484ca291807\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/actualize/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Chat Engine\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://sadaa-docs.actualize.ae/knowledge-base-api/documents/download-the-document\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/knowledge-base-api/documents/download-the-document.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://sadaa-docs.actualize.ae/#organization\",\"name\":\"Chat Engine\",\"url\":\"https://sadaa-docs.actualize.ae\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintlify.s3.us-west-1.amazonaws.com/actualize/logo/light.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://sadaa-docs.actualize.ae#website\",\"name\":\"Chat Engine\",\"url\":\"https://sadaa-docs.actualize.ae\",\"publisher\":{\"@id\":\"https://sadaa-docs.actualize.ae/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://sadaa-docs.actualize.ae/knowledge-base-api/documents/download-the-document#webpage\",\"url\":\"https://sadaa-docs.actualize.ae/knowledge-base-api/documents/download-the-document\",\"name\":\"Download The Document\",\"description\":\"Download a document by its ID.\",\"isPartOf\":{\"@id\":\"https://sadaa-docs.actualize.ae#website\"},\"breadcrumb\":{\"@id\":\"https://sadaa-docs.actualize.ae/knowledge-base-api/documents/download-the-document#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://sadaa-docs.actualize.ae/knowledge-base-api/documents/download-the-document#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"documents\",\"item\":\"https://sadaa-docs.actualize.ae/knowledge-base-api/documents/list-documents\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Download The Document\",\"item\":\"https://sadaa-docs.actualize.ae/knowledge-base-api/documents/download-the-document\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://sadaa-docs.actualize.ae/knowledge-base-api/documents/download-the-document#apireference\",\"headline\":\"Download The Document\",\"name\":\"Download The Document\",\"description\":\"Download a document by its ID.\",\"url\":\"https://sadaa-docs.actualize.ae/knowledge-base-api/documents/download-the-document\",\"mainEntityOfPage\":{\"@id\":\"https://sadaa-docs.actualize.ae/knowledge-base-api/documents/download-the-document#webpage\"},\"publisher\":{\"@id\":\"https://sadaa-docs.actualize.ae/#organization\"},\"isPartOf\":{\"@id\":\"https://sadaa-docs.actualize.ae#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Chat Engine\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Chat Engine","nav":{"global":{"anchors":[{"anchor":"Join our Community","href":"https://locai-workspace.slack.com/archives/C087RJF83EJ","icon":"slack"},{"anchor":"GitHub","href":"https://github.com/LocAI1/mira-chat-engine","icon":"github"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/documentation/welcome"}]},{"tab":"Chat Engine API","pages":[{"title":"Chat Engine API","href":"/chat-engine-api/agents/get-public-agent-details-by-id"}]},{"tab":"Voice API","pages":[{"title":"Voice API","href":"/voice-api/voices/get-available-voices"}]},{"tab":"Knowledge Base API","groups":[{"group":"API Reference","pages":[{"openapi":"get /health","href":"/knowledge-base-api/health","title":"Health","version":null},{"openapi":"get /","href":"/knowledge-base-api/root","title":"Root","version":null}]},{"group":"documents","pages":[{"openapi":"get /v1/api/documents","href":"/knowledge-base-api/documents/list-documents","title":"List Documents","version":null},{"openapi":"post /v1/api/documents","href":"/knowledge-base-api/documents/create-document","title":"Create Document","version":null},{"openapi":"get /v1/api/documents/{document_id}","href":"/knowledge-base-api/documents/get-document-by-id","title":"Get Document By Id","version":null},{"openapi":"put /v1/api/documents/{document_id}","href":"/knowledge-base-api/documents/edit-document","title":"Edit Document","version":null},{"openapi":"delete /v1/api/documents/{document_id}","href":"/knowledge-base-api/documents/delete-document","title":"Delete Document","description":"Delete a document by its ID.","version":null},{"openapi":"get /v1/api/documents/{document_id}/download","href":"/knowledge-base-api/documents/download-the-document","title":"Download The Document","version":null},{"openapi":"post /v1/api/documents/upload","href":"/knowledge-base-api/documents/upload-document","title":"Upload Document","description":"Upload a file to create a new document.\n\nThe file will be stored in a location (provided by a Storage Service - could be S3, or local or others).\nA new DB entry will be created with the file name, type, and location.","version":null}]},{"group":"stores","pages":[{"openapi":"get /v1/api/stores/{store_id}/document_loaders","href":"/knowledge-base-api/stores/list-document-loaders","title":"List Document Loaders","version":null},{"openapi":"post /v1/api/stores/{store_id}/document_loaders","href":"/knowledge-base-api/stores/create-document-loader","title":"Create Document Loader","version":null},{"openapi":"get /v1/api/stores/{store_id}/document_loaders/{document_loader_id}","href":"/knowledge-base-api/stores/get-document-loader-by-id","title":"Get Document Loader By Id","version":null},{"openapi":"put /v1/api/stores/{store_id}/document_loaders/{document_loader_id}","href":"/knowledge-base-api/stores/update-document-loader","title":"Update Document Loader","version":null},{"openapi":"delete /v1/api/stores/{store_id}/document_loaders/{document_loader_id}","href":"/knowledge-base-api/stores/delete-document-loader","title":"Delete Document Loader","version":null},{"openapi":"get /v1/api/stores","href":"/knowledge-base-api/stores/list-document-stores","title":"List Document Stores","version":null},{"openapi":"post /v1/api/stores","href":"/knowledge-base-api/stores/create-a-new-document-store","title":"Create A New Document Store.","version":null},{"openapi":"get /v1/api/stores/{store_id}","href":"/knowledge-base-api/stores/get-document-store-by-id","title":"Get Document Store By Id","version":null},{"openapi":"put /v1/api/stores/{store_id}","href":"/knowledge-base-api/stores/update-document-store","title":"Update Document Store","version":null},{"openapi":"post /v1/api/stores/{store_id}","href":"/knowledge-base-api/stores/process-document-store-and-vectorize-documents","title":"Process Document Store And Vectorize Documents","version":null},{"openapi":"delete /v1/api/stores/{store_id}","href":"/knowledge-base-api/stores/delete-document-store-by-id","title":"Delete Document Store By Id","version":null},{"openapi":"post /v1/api/stores/{store_id}/process","href":"/knowledge-base-api/stores/process-document-store-and-vectorize-documents-1","title":"Process Document Store And Vectorize Documents","version":null},{"openapi":"post /v1/api/stores/{store_id}/search","href":"/knowledge-base-api/stores/search-indexed-documents-in-document-store","title":"Search Indexed Documents In Document Store","version":null}]},{"group":"parsers","pages":[{"openapi":"get /v1/api/parsers","href":"/knowledge-base-api/parsers/list-all-parsers","title":"List All Parsers","version":null},{"openapi":"get /v1/api/parsers/types","href":"/knowledge-base-api/parsers/get-parser-types","title":"Get Parser Types","version":null}]},{"group":"embeddings","pages":[{"openapi":"get /v1/api/embeddings","href":"/knowledge-base-api/embeddings/list-all-embeddings","title":"List All Embeddings","version":null}]},{"group":"splitters","pages":[{"openapi":"get /v1/api/splitters","href":"/knowledge-base-api/splitters/list-all-splitters","title":"List All Splitters","version":null}]}]}]},"title":"Download The Document - Chat Engine","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["b0f84f53ff"],"chunks":["Page-CBCH2P7b.js","ApiExamples-CgXVLxUC.js","utils-BHQqGGOd.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","cloneDeep-izs3Hzxb.js","utils-CD-E4BIt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","snippetPresets-C4xAVCFP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","getPastedJson-Ry3scI3Y.js","icon-D7a9HcdD.js","MethodPill-CJ8pmHhz.js","DuplicateIcon-rh1HJF0t.js","createIcon-DvGznqYs.js","DynamicMarkdown-Cc6AuSHS.js","addUniqueKeysToSchema-Bp5Lq9Ds.js","SectionHeading-B4A0S-ep.js","axios-vUo_bRtp.js"]}