If true, then the document response will have the content attribute be a string, rather than null. This string will contain the full contents of the document.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ZeroEntropy","colors":{"primary":"#4594FF","light":"#4594FF","dark":"#4594FF"},"logo":{"light":"https://mintcdn.com/zeroentropy/vsoWdCzEUkYmTkNx/logo/light.svg?fit=max\u0026auto=format\u0026n=vsoWdCzEUkYmTkNx\u0026q=85\u0026s=883fffb78ee34586b7a4f0388d52b135","dark":"https://mintcdn.com/zeroentropy/vsoWdCzEUkYmTkNx/logo/dark.svg?fit=max\u0026auto=format\u0026n=vsoWdCzEUkYmTkNx\u0026q=85\u0026s=5bd022926ce0618ee02fe0091c65ddad","href":"https://www.zeroentropy.dev"},"favicon":"https://mintcdn.com/zeroentropy/vsoWdCzEUkYmTkNx/logo/favicon.svg?fit=max\u0026auto=format\u0026n=vsoWdCzEUkYmTkNx\u0026q=85\u0026s=180816b99903482a5743598ed4ba0205","navbar":{"links":[{"href":"mailto:founders@zeroentropy.dev","label":"Support"},{"href":"https://go.zeroentropy.dev/slack","label":"Community"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.zeroentropy.dev/"}},"footer":{"socials":{"github":"https://github.com/orgs/ZeroEntropy-AI","linkedin":"https://www.linkedin.com/company/zeroentropy-inc"}},"banner":{"content":"๐ [zembed-1](https://docs.zeroentropy.dev/models#zembed-1) is now generally available through the API, all SDKs, and on the AWS Marketplace!","dismissible":true},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Home page","icon":"house","href":"https://zeroentropy.dev"},{"anchor":"Dashboard","icon":"gauge","href":"https://dashboard.zeroentropy.dev"},{"anchor":"Slack Community","icon":"Slack","href":"https://go.zeroentropy.dev/slack"},{"anchor":"Discord Community","icon":"Discord","href":"https://go.zeroentropy.dev/discord"},{"anchor":"Blog","icon":"newspaper","href":"https://www.zeroentropy.dev/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"zeroentropy","hasAudioNarration":false,"actualSubdomain":"zeroentropy","customDomains":["docs.zeroentropy.dev"],"gitSource":{"type":"github","owner":"zeroentropy-ai","repo":"docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e656572b750f6b6f9fab","collectionId":"225e924e-4d36-409f-bad8-21b0833e7a0c","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21e656572b750f6b6f9fab:success","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":15},{"language":"default","tag":"Documentation","count":12},{"language":"default","tag":"Get Started","count":12},{"language":"default","tag":"Documents","count":6},{"language":"default","tag":"Examples","count":5},{"language":"default","tag":"Queries","count":3},{"language":"default","tag":"Collections","count":3},{"language":"default","tag":"Models","count":2},{"language":"default","tag":"Status","count":1}]},"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":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/documents/get-document-info","slug":"/api-reference/documents/get-document-info","pageMetadata":{"openapi":"post /documents/get-document-info","title":"Get Document Info","description":"Retrieves information about a specific document. The request parameters define what information you would like to receive.\n\nA `404 Not Found` will be returned if either the collection name does not exist, or the document path does not exist within the provided collection.","href":"/api-reference/documents/get-document-info"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Retrieves information about a specific document. The request parameters define what information you would like to receive.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"A \", _jsx(_components.code, {\n children: \"404 Not Found\"\n }), \" will be returned if either the collection name does not exist, or the document path does not exist within the provided collection.\"]\n })]\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":"post /documents/get-document-info","title":"Get Document Info","description":"Retrieves information about a specific document. The request parameters define what information you would like to receive.\n\nA `404 Not Found` will be returned if either the collection name does not exist, or the document path does not exist within the provided collection.","href":"/api-reference/documents/get-document-info"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Documents"],"summary":"Get Document Info","description":"Retrieves information about a specific document. The request parameters define what information you would like to receive.\n\nA `404 Not Found` will be returned if either the collection name does not exist, or the document path does not exist within the provided collection.","operationId":"get_document_info_documents_get_document_info_post","requestBody":"57ec3c59-3351-497b-9147-fdcb2d1cecca","responses":{"200":"0eae72b1-7786-4ff7-8089-02ba43f1ecd2","400":"d49660c7-efdb-437e-a68f-45599a393630","404":"cae48c0c-fdda-40ab-9773-6538986f1948","422":"3bfe3a29-d1d5-4b62-9119-a8b4c0ace407"},"security":["6243ed2d-bbc2-4de0-a072-b05409100aa8"],"method":"post","type":"path","servers":["0cde098e-13a5-4967-a867-cb1c6027236e","378be2ab-b06b-4fad-8ceb-c71a9acec23c"],"path":"/documents/get-document-info","baseUrlOptions":["https://api.zeroentropy.dev/v1","https://eu-api.zeroentropy.dev/v1"],"title":"Get Document Info","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"collection_name":{"type":"string","title":"Collection Name","description":"The name of the collection.","isRequired":true,"uniqueKey":"collection_name","typeLabel":"string"},"path":{"type":"string","title":"Path","description":"The filepath of the document that you're requesting. A `404 Not Found` status code will be returned if no document with this path was found.","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"include_content":{"type":"boolean","title":"Include Content","description":"If `true`, then the document response will have the `content` attribute be a `string`, rather than `null`. This string will contain the full contents of the document.","default":false,"uniqueKey":"include_content","typeLabel":"boolean"}},"type":"object","required":["collection_name","path"],"title":"GetDocumentInfoRequest","uniqueKey":"","typeLabel":"GetDocumentInfoRequest ยท object"},"examples":{"Example":{"title":"Example","value":{"collection_name":"\u003cstring>","path":"\u003cstring>","include_content":false}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"0eae72b1-7786-4ff7-8089-02ba43f1ecd2":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"document":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","isRequired":true,"uniqueKey":"document.id","typeLabel":"string\u003cuuid>"},"collection_name":{"type":"string","title":"Collection Name","isRequired":true,"uniqueKey":"document.collection_name","typeLabel":"string"},"path":{"type":"string","title":"Path","isRequired":true,"uniqueKey":"document.path","typeLabel":"string"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"document.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"document.metadata.additionalProperties.oneOf.1.items.[INDEX]","typeLabel":"string"},"uniqueKey":"document.metadata.additionalProperties.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"document.metadata.additionalProperties","typeLabel":"string | string[]"},"type":"object","isRequired":true,"uniqueKey":"document.metadata","typeLabel":"object"},"index_status":{"type":"string","enum":["not_parsed","parsing","not_indexed","indexing","indexed","parsing_failed","indexing_failed"],"title":"DocumentIndexStatus","isRequired":true,"uniqueKey":"document.index_status","typeLabel":"enum\u003cstring>"},"size":{"type":"integer","title":"Size","description":"The total size of the raw document data, in bytes.","isRequired":true,"uniqueKey":"document.size","typeLabel":"integer"},"num_pages":{"oneOf":[{"type":"integer","title":"Num Pages","description":"The number of pages in this document. This will be `null` if the document is parsing or failed to parse. It can also be `null` if the document is a filetype that does not support pages.","isRequired":true,"uniqueKey":"document.num_pages.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Num Pages","description":"The number of pages in this document. This will be `null` if the document is parsing or failed to parse. It can also be `null` if the document is a filetype that does not support pages.","isRequired":true,"uniqueKey":"document.num_pages.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"document.num_pages","typeLabel":"integer | null"},"file_url":{"type":"string","title":"File Url","description":"A URL to the document data, which can be used to download the raw document content or to display the document in frontend applications.\n\nNOTE: If a `/documents/update-document` call returned a new document id, then this url will be invalidated and must be retrieved again.","isRequired":true,"uniqueKey":"document.file_url","typeLabel":"string"},"content":{"oneOf":[{"type":"string","title":"Content","description":"This will be `null`, unless `include_content` was available and set to `true`.","uniqueKey":"document.content.oneOf.0","typeLabel":"string"},{"type":"null","title":"Content","description":"This will be `null`, unless `include_content` was available and set to `true`.","uniqueKey":"document.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"document.content","typeLabel":"string | null"}},"type":"object","required":["id","collection_name","path","metadata","index_status","size","num_pages","file_url"],"title":"DocumentResponse","isRequired":true,"uniqueKey":"document","typeLabel":"DocumentResponse ยท object"}},"type":"object","required":["document"],"title":"GetDocumentInfoResponse","uniqueKey":"","typeLabel":"GetDocumentInfoResponse ยท object"},"examples":{"Example":{"title":"Example","value":{"document":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","collection_name":"\u003cstring>","path":"\u003cstring>","metadata":{},"index_status":"not_parsed","size":123,"num_pages":123,"file_url":"\u003cstring>","content":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"d49660c7-efdb-437e-a68f-45599a393630":{"description":"Bad Request","content":{"application/json":{"example":{"detail":"Description of Error"},"examples":{"Example":{"title":"Example","value":{"detail":"Description of Error"}}},"exampleType":"examples"}},"exampleType":"examples"},"cae48c0c-fdda-40ab-9773-6538986f1948":{"description":"Not Found","content":{"application/json":{"example":{"detail":"Description of Error"},"examples":{"Example":{"title":"Example","value":{"detail":"Description of Error"}}},"exampleType":"examples"}},"exampleType":"examples"},"3bfe3a29-d1d5-4b62-9119-a8b4c0ace407":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError ยท object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError ยท object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError ยท object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"6243ed2d-bbc2-4de0-a072-b05409100aa8":{"HTTPBearer":{"type":"http","description":"The `Authorization` header must be provided in the format `Bearer \u003cyour-api-key>`.\n\nYou can get your API Key at the [Dashboard](https://dashboard.zeroentropy.dev/)!","scheme":"bearer","scopes":[]}}},"servers":{"0cde098e-13a5-4967-a867-cb1c6027236e":{"url":"https://api.zeroentropy.dev/v1","description":"ZeroEntropy API"},"378be2ab-b06b-4fad-8ceb-c71a9acec23c":{"url":"https://eu-api.zeroentropy.dev/v1","description":"ZeroEntropy API (EU datacenters)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"The `Authorization` header must be provided in the format `Bearer \u003cyour-api-key>`.\n\nYou can get your API Key at the [Dashboard](https://dashboard.zeroentropy.dev/)!","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"The `Authorization` header must be provided in the format `Bearer \u003cyour-api-key>`.\n\nYou can get your API Key at the [Dashboard](https://dashboard.zeroentropy.dev/)!","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"HTTPBearer","name":"Authorization"}],"title":"HTTPBearer"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"zeroentropy","siteName":"ZeroEntropy","title":"Get Document Info - ZeroEntropy","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-23T21:33:04.574Z","originalFileLocation":"api-reference/documents/get-document-info.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=\"Retrieves information about a specific document. The request parameters define what information you would like to receive. A 404 Not Found will be returned if either the collection name does not exist, or the document path does not exist within the provided collection.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ZeroEntropy\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zeroentropy/5_rZbyFM3AN4lygt/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/zeroentropy/5_rZbyFM3AN4lygt/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zeroentropy/5_rZbyFM3AN4lygt/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/zeroentropy/5_rZbyFM3AN4lygt/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/zeroentropy/5_rZbyFM3AN4lygt/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zeroentropy/5_rZbyFM3AN4lygt/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zeroentropy/5_rZbyFM3AN4lygt/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/zeroentropy/5_rZbyFM3AN4lygt/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/zeroentropy/5_rZbyFM3AN4lygt/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Document Info - ZeroEntropy\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieves information about a specific document. The request parameters define what information you would like to receive. A 404 Not Found will be returned if either the collection name does not exist, or the document path does not exist within the provided collection.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ZeroEntropy\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.zeroentropy.dev/api-reference/documents/get-document-info\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://zeroentropy.mintlify.app/_mintlify/api/og/v2?division=Documents\u0026amp;title=Get+Document+Info\u0026amp;description=Retrieves+information+about+a+specific+document.+The+request+parameters+define+what+information+you+would+like+to+receive.%0A%0AA+%60404+Not+Found%60+will+be+returned+i\u0026amp;theme=c9ad13182ecba320a6704ed8\u0026amp;signature=ce2fdb13984b08bf7b2b08cc40b206f41139b8b276b37df4530b043dbdad834a\">\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 Info - ZeroEntropy\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieves information about a specific document. The request parameters define what information you would like to receive. A 404 Not Found will be returned if either the collection name does not exist, or the document path does not exist within the provided collection.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://zeroentropy.mintlify.app/_mintlify/api/og/v2?division=Documents\u0026amp;title=Get+Document+Info\u0026amp;description=Retrieves+information+about+a+specific+document.+The+request+parameters+define+what+information+you+would+like+to+receive.%0A%0AA+%60404+Not+Found%60+will+be+returned+i\u0026amp;theme=c9ad13182ecba320a6704ed8\u0026amp;signature=ce2fdb13984b08bf7b2b08cc40b206f41139b8b276b37df4530b043dbdad834a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/zeroentropy/5_rZbyFM3AN4lygt/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ZeroEntropy\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4594FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.zeroentropy.dev/api-reference/documents/get-document-info\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/documents/get-document-info.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.zeroentropy.dev/#organization\",\"name\":\"ZeroEntropy\",\"url\":\"https://docs.zeroentropy.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/zeroentropy/vsoWdCzEUkYmTkNx/logo/light.svg?fit=max\u0026auto=format\u0026n=vsoWdCzEUkYmTkNx\u0026q=85\u0026s=883fffb78ee34586b7a4f0388d52b135\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.zeroentropy.dev#website\",\"name\":\"ZeroEntropy\",\"url\":\"https://docs.zeroentropy.dev\",\"publisher\":{\"@id\":\"https://docs.zeroentropy.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.zeroentropy.dev/api-reference/documents/get-document-info#webpage\",\"url\":\"https://docs.zeroentropy.dev/api-reference/documents/get-document-info\",\"name\":\"Get Document Info\",\"description\":\"Retrieves information about a specific document. The request parameters define what information you would like to receive. A 404 Not Found will be returned if either the collection name does not exist, or the document path does not exist within the provided collection.\",\"dateModified\":\"2026-04-23T21:33:04.574Z\",\"isPartOf\":{\"@id\":\"https://docs.zeroentropy.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.zeroentropy.dev/api-reference/documents/get-document-info#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.zeroentropy.dev/api-reference/documents/get-document-info#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Documents\",\"item\":\"https://docs.zeroentropy.dev/api-reference/documents/add-document\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Document Info\",\"item\":\"https://docs.zeroentropy.dev/api-reference/documents/get-document-info\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.zeroentropy.dev/api-reference/documents/get-document-info#apireference\",\"headline\":\"Get Document Info\",\"name\":\"Get Document Info\",\"description\":\"Retrieves information about a specific document. The request parameters define what information you would like to receive. A 404 Not Found will be returned if either the collection name does not exist, or the document path does not exist within the provided collection.\",\"url\":\"https://docs.zeroentropy.dev/api-reference/documents/get-document-info\",\"mainEntityOfPage\":{\"@id\":\"https://docs.zeroentropy.dev/api-reference/documents/get-document-info#webpage\"},\"dateModified\":\"2026-04-23T21:33:04.574Z\",\"publisher\":{\"@id\":\"https://docs.zeroentropy.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.zeroentropy.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ZeroEntropy\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"ZeroEntropy","nav":{"global":{"anchors":[{"anchor":"Home page","icon":"house","href":"https://zeroentropy.dev"},{"anchor":"Dashboard","icon":"gauge","href":"https://dashboard.zeroentropy.dev"},{"anchor":"Slack Community","icon":"Slack","href":"https://go.zeroentropy.dev/slack"},{"anchor":"Discord Community","icon":"Discord","href":"https://go.zeroentropy.dev/discord"},{"anchor":"Blog","icon":"newspaper","href":"https://www.zeroentropy.dev/blog"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Admin","pages":[]},{"group":"Usage","pages":[]},{"group":"Models","pages":[{"title":"Rerank","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /models/rerank","href":"/api-reference/models/rerank"},{"title":"Embed","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /models/embed","href":"/api-reference/models/embed"}]},{"group":"Status","pages":[{"openapi":"post /status/get-status","title":"Get Status","href":"/api-reference/status/get-status"}]},{"group":"Collections","pages":[{"title":"Add Collection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /collections/add-collection","href":"/api-reference/collections/add-collection"},{"title":"Get Collection List","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /collections/get-collection-list","href":"/api-reference/collections/get-collection-list"},{"title":"Delete Collection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /collections/delete-collection","href":"/api-reference/collections/delete-collection"}]},{"group":"Documents","pages":[{"title":"Add Document","openapi":"POST /documents/add-document","href":"/api-reference/documents/add-document"},{"title":"Update Document","description":"Updates a document. This endpoint is atomic.\n\nCurrently both `metadata` and `index_status` are supported.\n\n- When updating with a non-null `metadata`, the document must have `index_status` of `indexed`. After this call, the document will have an `index_status` of `not_indexed`, since the document will need to reindex with the new metadata.\n- When updating with a non-null `index_status`, setting it to `not_parsed` or `not_indexed` requires that the document must have `index_status` of `parsing_failed` or `indexing_failed`, respectively.\n\nA `404 Not Found` status code will be returned, if the provided collection name or document path does not exist.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /documents/update-document","href":"/api-reference/documents/update-document"},{"openapi":"post /documents/get-document-info","title":"Get Document Info","href":"/api-reference/documents/get-document-info"},{"openapi":"post /documents/get-document-info-list","title":"Get Document Info List","description":"Retrives a list of document metadata information that matches the provided filters.\n\nThe documents returned will be sorted by path in lexicographically ascending order. `path_gt` can be used for pagination, and should be set to the path of the last document returned in the previous call.\n\nA `404 Not Found` will be returned if either the collection name does not exist, or the document path does not exist within the provided collection.","href":"/api-reference/documents/get-document-info-list"},{"openapi":"post /documents/delete-document","title":"Delete Document","href":"/api-reference/documents/delete-document"},{"title":"Get Page Info","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /documents/get-page-info","href":"/api-reference/documents/get-page-info"}]},{"group":"Queries","pages":[{"openapi":"post /queries/top-documents","title":"Top Documents","href":"/api-reference/queries/top-documents"},{"title":"Top Pages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /queries/top-pages","href":"/api-reference/queries/top-pages"},{"openapi":"post /queries/top-snippets","title":"Top Snippets","href":"/api-reference/queries/top-snippets"}]}]}]},"basePath":"","title":"Get Document Info - ZeroEntropy","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-CX_qQQOL.js","dist-BTZUMDnx.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-xpJZXxdP.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","AssistantPageLink-DqdKa2R4.js"]}