{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Cortex","colors":{"primary":"#0066FF","light":"#3399FF","dark":"#0052CC"},"logo":{"light":"https://mintcdn.com/cortex-891fd898/4MLfFrvXy66YjKyF/assets/logo/light.svg?fit=max\u0026auto=format\u0026n=4MLfFrvXy66YjKyF\u0026q=85\u0026s=97eeda17a69e8452f7a8564654bbd608","dark":"https://mintcdn.com/cortex-891fd898/4MLfFrvXy66YjKyF/assets/logo/dark.svg?fit=max\u0026auto=format\u0026n=4MLfFrvXy66YjKyF\u0026q=85\u0026s=65ad11530628311745787f1143783592"},"favicon":"/assets/favicon.svg","appearance":{"default":"dark"},"footer":{"socials":{"x":"https://x.com/with_cortex","linkedin":"https://www.linkedin.com/company/withcortexai","website":"https://withcortex.ai"}},"search":{"prompt":"Search or tell me what you want to know about"},"fonts":{"heading":{"family":"Space Grotesk"},"body":{"family":"Space Grotesk"}},"styling":{"codeblocks":"system"},"contextual":{"options":["copy","view","chatgpt","claude"]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cortex-891fd898","hasAudioNarration":false,"actualSubdomain":"cortex-891fd898","customDomains":["docs.withcortex.ai"],"gitSource":{"type":"github","owner":"trycortexai","repo":"cortex-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"issues":true},"entitlements":{},"buildId":"6ae920bbf2d1fb3a80be1c02:success","clientVersion":"0.0.4177","searchFilterCounts":[{"language":"default","tag":"API Reference","count":69},{"language":"default","tag":"Workflows","count":34},{"language":"default","tag":"Documentation","count":27},{"language":"default","tag":"Tests","count":15},{"language":"default","tag":"Files","count":11},{"language":"default","tag":"Records","count":11},{"language":"default","tag":"Collections","count":9},{"language":"default","tag":"Steps","count":7},{"language":"default","tag":"Variables","count":5},{"language":"default","tag":"Webhooks","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/endpoints/files/get-file","slug":"/api-reference/endpoints/files/get-file","pageMetadata":{"openapi":"get /apps/{app_id}/files/{file_id}","title":"Get File","description":"Retrieve details of a specific file.","href":"/api-reference/endpoints/files/get-file"},"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: \"Retrieve details of a specific file.\"\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":{"codeStyling":"system","config":{},"pageMetadata":{"openapi":"get /apps/{app_id}/files/{file_id}","title":"Get File","description":"Retrieve details of a specific file.","href":"/api-reference/endpoints/files/get-file"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get File","description":"Retrieve details of a specific file.","parameters":["36dbe719-b76e-490c-a635-517ca4689bd8","ff925f61-9b80-474a-8ea4-ff5cd3c4e0a2","69861960-d88f-4d37-93c7-6e0108b7f9fd"],"responses":{"200":"e0b3fde7-38b2-4666-9f95-b0877d61ff89"},"method":"get","type":"path","servers":[],"security":[],"path":"/apps/{app_id}/files/{file_id}","baseUrlOptions":[],"title":"Get File","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"36dbe719-b76e-490c-a635-517ca4689bd8":{"schema":{"type":"string","isRequired":true,"description":"The ID of the app","uniqueKey":"","typeLabel":"string"},"required":true,"description":"The ID of the app","name":"app_id","in":"path"},"ff925f61-9b80-474a-8ea4-ff5cd3c4e0a2":{"schema":{"type":"string","isRequired":true,"description":"The ID of the file","uniqueKey":"","typeLabel":"string"},"required":true,"description":"The ID of the file","name":"file_id","in":"path"},"69861960-d88f-4d37-93c7-6e0108b7f9fd":{"schema":{"type":"string","description":"Optional bucket name for storage operations","example":"cortex-eu","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"name":"bucket","in":"query"}},"responses":{"e0b3fde7-38b2-4666-9f95-b0877d61ff89":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the file","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"file_id":{"type":"string","description":"File identifier used in the storage system","isRequired":true,"uniqueKey":"file_id","typeLabel":"string"},"file_filename":{"type":"string","description":"Name of the file","example":"document.pdf","isRequired":true,"uniqueKey":"file_filename","typeLabel":"string"},"file_size":{"type":"number","description":"Size of the file in bytes","example":1024,"isRequired":true,"uniqueKey":"file_size","typeLabel":"number"},"file_mimetype":{"type":"string","description":"MIME type of the file","example":"application/pdf","isRequired":true,"uniqueKey":"file_mimetype","typeLabel":"string"},"file_url":{"type":"string","description":"URL to access the file","isRequired":true,"uniqueKey":"file_url","typeLabel":"string"},"created_at":{"oneOf":[{"type":"string","description":"Timestamp when the file was created","format":"date","isRequired":true,"uniqueKey":"created_at.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","description":"Timestamp when the file was created","format":"date","isRequired":true,"uniqueKey":"created_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate> | null"},"file_format":{"type":"string","enum":["DOCUMENT"],"description":"Format of the file","example":"DOCUMENT","uniqueKey":"file_format","typeLabel":"enum\u003cstring>"},"file_status":{"type":"string","enum":["PROCESSING","PROCESSED","FAILED"],"description":"Current status of the file","example":"PROCESSED","uniqueKey":"file_status","typeLabel":"enum\u003cstring>"},"file_status_message":{"type":"string","description":"Status message providing additional information about the file status","uniqueKey":"file_status_message","typeLabel":"string"},"document":{"type":"object","properties":{"filename":{"type":"string","description":"Name of the document file","isRequired":true,"uniqueKey":"document.filename","typeLabel":"string"},"filetype":{"type":"string","description":"Type of the document file","isRequired":true,"uniqueKey":"document.filetype","typeLabel":"string"},"contents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number","description":"Unique identifier for the content","isRequired":true,"uniqueKey":"document.contents.items.[INDEX].id","typeLabel":"number"},"type":{"type":"string","enum":["TITLE","TEXT","UNTEXT","NARRATIVETEXT","BULLETEDTEXT","ABSTRACT","THREADING","FORM","FIELD-NAME","VALUE","LINK","COMPOSITEELEMENT","IMAGE","PICTURE","FIGURECAPTION","FIGURE","CAPTION","LIST","LISTITEM","LIST-ITEM","CHECKED","UNCHECKED","ADDRESS","EMAILADDRESS","PAGEBREAK","FORMULA","TABLE","HEADER","HEADLINE","SUBHEADLINE","PAGE-HEADER","SECTION-HEADER","FOOTER","FOOTNOTE","PAGE-FOOTER"],"description":"Type of the content element","isRequired":true,"uniqueKey":"document.contents.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"Content text","isRequired":true,"uniqueKey":"document.contents.items.[INDEX].content","typeLabel":"string"},"page":{"type":"number","description":"Page number where the content is located in the document","isRequired":true,"uniqueKey":"document.contents.items.[INDEX].page","typeLabel":"number"},"content_as_html":{"type":"string","description":"Content text in HTML format","uniqueKey":"document.contents.items.[INDEX].content_as_html","typeLabel":"string"},"parent":{"type":"number","description":"Parent content identifier","uniqueKey":"document.contents.items.[INDEX].parent","typeLabel":"number"}},"required":["id","type","content","page"],"description":"Detailed information about the content of a document","uniqueKey":"document.contents.items.[INDEX]","typeLabel":"object"},"description":"Array of document contents (only available if extract_contents is true)","isRequired":true,"uniqueKey":"document.contents","typeLabel":"object[]"},"images":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the image","isRequired":true,"uniqueKey":"document.images.items.[INDEX].id","typeLabel":"string"},"file_id":{"type":"string","description":"File identifier associated with the image","isRequired":true,"uniqueKey":"document.images.items.[INDEX].file_id","typeLabel":"string"},"image_url":{"type":"string","description":"URL of the image","isRequired":true,"uniqueKey":"document.images.items.[INDEX].image_url","typeLabel":"string"},"type":{"type":"string","description":"Type of the image","isRequired":true,"uniqueKey":"document.images.items.[INDEX].type","typeLabel":"string"},"page":{"type":"number","description":"Page number where the image is located in the document","isRequired":true,"uniqueKey":"document.images.items.[INDEX].page","typeLabel":"number"},"height":{"type":"number","description":"Height of the image","isRequired":true,"uniqueKey":"document.images.items.[INDEX].height","typeLabel":"number"},"width":{"type":"number","description":"Width of the image","isRequired":true,"uniqueKey":"document.images.items.[INDEX].width","typeLabel":"number"}},"required":["id","file_id","image_url","type","page","height","width"],"description":"Detailed information about an image in a document","uniqueKey":"document.images.items.[INDEX]","typeLabel":"object"},"description":"Array of document images (only available if extract_images is true)","isRequired":true,"uniqueKey":"document.images","typeLabel":"object[]"},"extracted_pages":{"type":"string","description":"Extracted pages from the document (only available if extract_pages is true)","uniqueKey":"document.extracted_pages","typeLabel":"string"},"time":{"type":"number","description":"Time taken to process the document","uniqueKey":"document.time","typeLabel":"number"}},"required":["filename","filetype","contents","images"],"description":"Document data associated with the file","uniqueKey":"document","typeLabel":"object"},"document_extract_contents":{"type":"boolean","description":"Flag indicating whether to extract contents from the document","uniqueKey":"document_extract_contents","typeLabel":"boolean"},"document_extract_images":{"type":"boolean","description":"Flag indicating whether to extract images from the document","uniqueKey":"document_extract_images","typeLabel":"boolean"},"document_extract_pages":{"type":"boolean","description":"Flag indicating whether to extract pages from the document","uniqueKey":"document_extract_pages","typeLabel":"boolean"},"document_pages":{"type":"array","items":{"type":"number","uniqueKey":"document_pages.items.[INDEX]","typeLabel":"number"},"maxItems":1024,"description":"Array of page numbers to extract from the document","example":[1,2,3],"uniqueKey":"document_pages","typeLabel":"number[]"},"document_progress":{"type":"number","description":"Progress of the document extraction process","uniqueKey":"document_progress","typeLabel":"number"},"storage":{"type":"string","enum":["PERSISTENT","TEMPORARY"],"default":"PERSISTENT","description":"Whether the file is stored permanently or temporarily, indicating the storage type","example":"PERSISTENT","uniqueKey":"storage","typeLabel":"enum\u003cstring>"}},"required":["id","file_id","file_filename","file_size","file_mimetype","file_url","created_at"],"description":"Detailed information about a file","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","file_id":"\u003cstring>","file_filename":"document.pdf","file_size":1024,"file_mimetype":"application/pdf","file_url":"\u003cstring>","created_at":"2023-12-25","file_format":"DOCUMENT","file_status":"PROCESSED","file_status_message":"\u003cstring>","document":{"filename":"\u003cstring>","filetype":"\u003cstring>","contents":[{"id":123,"type":"TITLE","content":"\u003cstring>","page":123,"content_as_html":"\u003cstring>","parent":123}],"images":[{"id":"\u003cstring>","file_id":"\u003cstring>","image_url":"\u003cstring>","type":"\u003cstring>","page":123,"height":123,"width":123}],"extracted_pages":"\u003cstring>","time":123},"document_extract_contents":true,"document_extract_images":true,"document_extract_pages":true,"document_pages":[1,2,3],"document_progress":123,"storage":"PERSISTENT"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{}},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"cortex-891fd898","siteName":"Cortex","title":"Get File - Cortex","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-08-21T10:26:00.099Z","originalFileLocation":"api-reference/endpoints/files/get-file.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=\"dark\"}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=\"Retrieve details of a specific file.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cortex\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cortex-891fd898/tDghsfIV0sVOhMV-/_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/cortex-891fd898/tDghsfIV0sVOhMV-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cortex-891fd898/tDghsfIV0sVOhMV-/_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/cortex-891fd898/tDghsfIV0sVOhMV-/_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/cortex-891fd898/tDghsfIV0sVOhMV-/_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/cortex-891fd898/tDghsfIV0sVOhMV-/_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/cortex-891fd898/tDghsfIV0sVOhMV-/_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/cortex-891fd898/tDghsfIV0sVOhMV-/_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/cortex-891fd898/tDghsfIV0sVOhMV-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get File - Cortex\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve details of a specific file.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cortex\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.withcortex.ai/api-reference/endpoints/files/get-file\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cortex-891fd898.mintlify.site/_mintlify/api/og/v2?division=Files\u0026amp;title=Get+File\u0026amp;description=Retrieve+details+of+a+specific+file.\u0026amp;theme=2994a4d6be60b7568e7341f6\u0026amp;signature=8f15173d9552f8c75dce19b00428c0fcacdbb9462036c11a81fe891eda0bacf3\">\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 File - Cortex\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve details of a specific file.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cortex-891fd898.mintlify.site/_mintlify/api/og/v2?division=Files\u0026amp;title=Get+File\u0026amp;description=Retrieve+details+of+a+specific+file.\u0026amp;theme=2994a4d6be60b7568e7341f6\u0026amp;signature=8f15173d9552f8c75dce19b00428c0fcacdbb9462036c11a81fe891eda0bacf3\">\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/cortex-891fd898/tDghsfIV0sVOhMV-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cortex\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0066FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.withcortex.ai/api-reference/endpoints/files/get-file\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoints/files/get-file.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.withcortex.ai/#organization\",\"name\":\"Cortex\",\"url\":\"https://docs.withcortex.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cortex-891fd898/4MLfFrvXy66YjKyF/assets/logo/light.svg?fit=max\u0026auto=format\u0026n=4MLfFrvXy66YjKyF\u0026q=85\u0026s=97eeda17a69e8452f7a8564654bbd608\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.withcortex.ai#website\",\"name\":\"Cortex\",\"url\":\"https://docs.withcortex.ai\",\"publisher\":{\"@id\":\"https://docs.withcortex.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.withcortex.ai/api-reference/endpoints/files/get-file#webpage\",\"url\":\"https://docs.withcortex.ai/api-reference/endpoints/files/get-file\",\"name\":\"Get File\",\"description\":\"Retrieve details of a specific file.\",\"dateModified\":\"2025-08-21T10:26:00.099Z\",\"isPartOf\":{\"@id\":\"https://docs.withcortex.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.withcortex.ai/api-reference/endpoints/files/get-file#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.withcortex.ai/api-reference/endpoints/files/get-file#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Files\",\"item\":\"https://docs.withcortex.ai/api-reference/endpoints/files/upload-a-file\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get File\",\"item\":\"https://docs.withcortex.ai/api-reference/endpoints/files/get-file\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.withcortex.ai/api-reference/endpoints/files/get-file#apireference\",\"headline\":\"Get File\",\"name\":\"Get File\",\"description\":\"Retrieve details of a specific file.\",\"url\":\"https://docs.withcortex.ai/api-reference/endpoints/files/get-file\",\"mainEntityOfPage\":{\"@id\":\"https://docs.withcortex.ai/api-reference/endpoints/files/get-file#webpage\"},\"dateModified\":\"2025-08-21T10:26:00.099Z\",\"publisher\":{\"@id\":\"https://docs.withcortex.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.withcortex.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cortex\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cortex\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoints/files/get-file.md","siteName":"Cortex","nav":{"global":null,"dropdowns":[{"dropdown":"Documentation","icon":"book-open","description":"Cortex documentation","groups":[{"group":"Introduction","pages":[{"title":"Introduction","icon":"hand-wave","href":"/introduction"},{"title":"Core Concepts","icon":"lightbulb","href":"/core-concepts"}]},{"group":"Workflows","pages":[{"title":"Introduction","icon":"diagram-project","href":"/workflows/introduction"},{"title":"Your First Workflow","icon":"graduation-cap","href":"/workflows/your-first-workflow"},{"group":"Steps","icon":"diagram-next","pages":[{"title":"Overview","href":"/workflows/steps/overview"},{"title":"Input Step","href":"/workflows/steps/input"},{"title":"Processing Steps","href":"/workflows/steps/processing"},{"group":"Triggers and Actions","pages":[{"title":"Overview","href":"/workflows/steps/triggers-and-actions/overview"},{"title":"Configuring","href":"/workflows/steps/triggers-and-actions/configuring"},{"title":"Built-in Triggers","href":"/workflows/steps/triggers-and-actions/built-in-triggers"},{"title":"Working with Triggers","href":"/workflows/steps/triggers-and-actions/working-with-triggers"}]}]},{"group":"Steps Advanced","icon":"wand-magic-sparkles","pages":[{"title":"Variables","icon":"cube","href":"/workflows/steps-advanced/variables"},{"title":"Loop","icon":"repeat","href":"/workflows/steps-advanced/loop"},{"title":"Conditional","icon":"code-branch","href":"/workflows/steps-advanced/conditional"},{"title":"Branching","icon":"code-fork","href":"/workflows/steps-advanced/branching"}]},{"title":"Display","icon":"display","href":"/workflows/display"},{"title":"Agents","icon":"robot","href":"/workflows/agents"},{"title":"Deploy","icon":"rocket","href":"/workflows/deploy"},{"title":"Share","icon":"share","href":"/workflows/share"},{"title":"API Usage","icon":"code","href":"/workflows/api-usage"},{"title":"Input Webhooks","icon":"webhook","href":"/workflows/input-webhooks"}]},{"group":"Collections","pages":[{"title":"Collections","icon":"layer-group","href":"/collections/overview"},{"title":"Records","icon":"database","href":"/collections/records"},{"title":"Rules","icon":"gear","href":"/collections/rules"},{"title":"Report View \u0026 Analysis","icon":"chart-line","href":"/collections/report"}]},{"group":"Organizations","pages":[{"title":"Organizations \u0026 Members","icon":"users","href":"/organizations/overview"},{"title":"Billing \u0026 Usage","icon":"credit-card","href":"/organizations/billing"}]}]},{"dropdown":"API Reference","icon":"terminal","description":"Reference for the API","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/api-reference/getting-started/introduction"},{"title":"Pagination and Filtering","href":"/api-reference/getting-started/pagination-and-filtering"},{"title":"File Uploads","href":"/api-reference/getting-started/file-uploads"}]},{"group":"Collections","pages":[{"openapi":"get /apps/{app_id}/collections","title":"Get Collections","href":"/api-reference/endpoints/collections/get-collections"},{"openapi":"post /apps/{app_id}/collections","title":"Create a Collection","href":"/api-reference/endpoints/collections/create-a-collection"},{"openapi":"get /apps/{app_id}/collections/{collection_id}","title":"Get a Collection","href":"/api-reference/endpoints/collections/get-a-collection"},{"openapi":"delete /apps/{app_id}/collections/{collection_id}","title":"Delete a Collection","href":"/api-reference/endpoints/collections/delete-a-collection"},{"openapi":"patch /apps/{app_id}/collections/{collection_id}","title":"Update a Collection","href":"/api-reference/endpoints/collections/update-a-collection"}]},{"group":"Records","pages":[{"openapi":"get /apps/{app_id}/collections/{collection_id}/records","title":"Get Records","href":"/api-reference/endpoints/records/get-records"},{"openapi":"post /apps/{app_id}/collections/{collection_id}/records","title":"Create a Record","href":"/api-reference/endpoints/records/create-a-record"},{"openapi":"get /apps/{app_id}/collections/{collection_id}/records/{record_id}","title":"Get a Record","href":"/api-reference/endpoints/records/get-a-record"},{"openapi":"delete /apps/{app_id}/collections/{collection_id}/records/{record_id}","title":"Delete a Record","href":"/api-reference/endpoints/records/delete-a-record"},{"openapi":"patch /apps/{app_id}/collections/{collection_id}/records/{record_id}","title":"Update a Record","href":"/api-reference/endpoints/records/update-a-record"},{"openapi":"get /apps/{app_id}/collections/{collection_id}/records/{record_id}/status","title":"Get Record Status","href":"/api-reference/endpoints/records/get-record-status"},{"openapi":"post /apps/{app_id}/collections/{collection_id}/records/{record_id}/run","title":"Run a Record","href":"/api-reference/endpoints/records/run-a-record"},{"openapi":"post /apps/{app_id}/collections/{collection_id}/records/{record_id}/cancel","title":"Cancel a Record Run","href":"/api-reference/endpoints/records/cancel-a-record-run"},{"openapi":"post /apps/{app_id}/collections/{collection_id}/records/{record_id}/update-rules","title":"Update Record Rules","href":"/api-reference/endpoints/records/update-record-rules"},{"openapi":"post /apps/{app_id}/collections/{collection_id}/records/{record_id}/reset","title":"Reset Record","href":"/api-reference/endpoints/records/reset-record"},{"openapi":"get /apps/{app_id}/collections/{collection_id}/records/{record_id}/download","title":"Download Record Report","href":"/api-reference/endpoints/records/download-record-report"}]},{"group":"Workflows","pages":[{"openapi":"get /apps/{app_id}/workflows/discover","title":"Discover Workflows","href":"/api-reference/endpoints/workflows/discover-workflows"},{"openapi":"get /apps/{app_id}/workflows/discover/{workflow_id}","title":"Get Discoverable Workflow","href":"/api-reference/endpoints/workflows/get-discoverable-workflow"},{"openapi":"get /apps/{app_id}/workflows/discover/{workflow_id}/versions/{version_id_or_version_number}","title":"Get Discoverable Workflow Version","href":"/api-reference/endpoints/workflows/get-discoverable-workflow-version"},{"openapi":"post /apps/{app_id}/workflows/discover/{workflow_id}/runs","title":"Run Discoverable Workflow","href":"/api-reference/endpoints/workflows/run-discoverable-workflow"},{"openapi":"post /apps/{app_id}/workflows/discover/{workflow_id}/runs/{run_id}/cancel","title":"Cancel a Discoverable Workflow Run","href":"/api-reference/endpoints/workflows/cancel-a-discoverable-workflow-run"},{"openapi":"get /apps/{app_id}/workflows","title":"Get Workflows","href":"/api-reference/endpoints/workflows/get-workflows"},{"openapi":"get /apps/{app_id}/workflows/{workflow_id}","title":"Get a Workflow","href":"/api-reference/endpoints/workflows/get-a-workflow"},{"openapi":"get /apps/{app_id}/workflows/{workflow_id}/runs","title":"Get Workflow Runs","href":"/api-reference/endpoints/workflows/get-workflow-runs"},{"openapi":"post /apps/{app_id}/workflows/{workflow_id}/runs","title":"Run a Workflow","href":"/api-reference/endpoints/workflows/run-a-workflow"},{"openapi":"get /apps/{app_id}/workflows/{workflow_id}/runs/{run_id}","title":"Get a Workflow Run","href":"/api-reference/endpoints/workflows/get-a-workflow-run"},{"openapi":"post /apps/{app_id}/workflows/{workflow_id}/runs/{run_id}/replay","title":"Replay a Workflow Run","href":"/api-reference/endpoints/workflows/replay-a-workflow-run"},{"openapi":"post /apps/{app_id}/workflows/{workflow_id}/runs/{run_id}/cancel","title":"Cancel a Workflow Run","href":"/api-reference/endpoints/workflows/cancel-a-workflow-run"},{"openapi":"patch /apps/{app_id}/workflows/{workflow_id}/runs/{run_id}/retention","title":"Update Run Data Retention Configuration","href":"/api-reference/endpoints/workflows/update-run-data-retention-configuration"},{"openapi":"get /apps/{app_id}/workflows/{workflow_id}/versions","title":"Get Workflow Versions","href":"/api-reference/endpoints/workflows/get-workflow-versions"},{"openapi":"get /apps/{app_id}/workflows/{workflow_id}/versions/{version_id_or_version_number}","title":"Get a Workflow Version","href":"/api-reference/endpoints/workflows/get-a-workflow-version"}]},{"group":"Tests","pages":[{"openapi":"get /apps/{app_id}/workflows/{workflow_id}/tests/expectations","title":"Get Tests Expectations","href":"/api-reference/endpoints/tests/get-tests-expectations"},{"openapi":"post /apps/{app_id}/workflows/{workflow_id}/tests/expectations","title":"Create a Test Expectation","href":"/api-reference/endpoints/tests/create-a-test-expectation"},{"openapi":"get /apps/{app_id}/workflows/{workflow_id}/tests/expectations/{expectation_id}","title":"Get Test Expectation","href":"/api-reference/endpoints/tests/get-test-expectation"},{"openapi":"delete /apps/{app_id}/workflows/{workflow_id}/tests/expectations/{expectation_id}","title":"Delete Test Expectation","href":"/api-reference/endpoints/tests/delete-test-expectation"},{"openapi":"patch /apps/{app_id}/workflows/{workflow_id}/tests/expectations/{expectation_id}","title":"Update Test Expectation","href":"/api-reference/endpoints/tests/update-test-expectation"},{"openapi":"get /apps/{app_id}/workflows/{workflow_id}/tests","title":"Get Tests","href":"/api-reference/endpoints/tests/get-tests"},{"openapi":"post /apps/{app_id}/workflows/{workflow_id}/tests","title":"Create a Test","href":"/api-reference/endpoints/tests/create-a-test"},{"openapi":"get /apps/{app_id}/workflows/{workflow_id}/tests/stats","title":"Get Tests Stats","href":"/api-reference/endpoints/tests/get-tests-stats"},{"openapi":"get /apps/{app_id}/workflows/{workflow_id}/tests/{test_id}","title":"Get Test","href":"/api-reference/endpoints/tests/get-test"},{"openapi":"delete /apps/{app_id}/workflows/{workflow_id}/tests/{test_id}","title":"Delete Test","href":"/api-reference/endpoints/tests/delete-test"},{"openapi":"patch /apps/{app_id}/workflows/{workflow_id}/tests/{test_id}","title":"Update Test","href":"/api-reference/endpoints/tests/update-test"},{"openapi":"post /apps/{app_id}/workflows/{workflow_id}/tests/runs","title":"Run Tests","href":"/api-reference/endpoints/tests/run-tests"},{"openapi":"post /apps/{app_id}/workflows/{workflow_id}/tests/cancel","title":"Cancel Tests","href":"/api-reference/endpoints/tests/cancel-tests"},{"openapi":"post /apps/{app_id}/workflows/{workflow_id}/tests/{test_id}/cancel","title":"Cancel Test","href":"/api-reference/endpoints/tests/cancel-test"},{"openapi":"post /apps/{app_id}/workflows/{workflow_id}/tests/{test_id}/runs","title":"Run Test","href":"/api-reference/endpoints/tests/run-test"}]},{"group":"Variables","pages":[{"openapi":"get /apps/{app_id}/variables","title":"Get App Variables","href":"/api-reference/endpoints/variables/get-app-variables"},{"openapi":"post /apps/{app_id}/variables","title":"Create App Variable","href":"/api-reference/endpoints/variables/create-app-variable"},{"openapi":"patch /apps/{app_id}/variables","title":"Update App Variables","href":"/api-reference/endpoints/variables/update-app-variables"},{"openapi":"delete /apps/{app_id}/variables/{key}","title":"Delete App Variable","href":"/api-reference/endpoints/variables/delete-app-variable"},{"openapi":"patch /apps/{app_id}/variables/{key}","title":"Rename App Variable","href":"/api-reference/endpoints/variables/rename-app-variable"}]},{"group":"Files","pages":[{"openapi":"post /public/apps/files/uploads/{file_upload_id}","title":"Upload a file","href":"/api-reference/endpoints/files/upload-a-file"},{"openapi":"get /apps/{app_id}/files/uploads","title":"List File Uploads","href":"/api-reference/endpoints/files/list-file-uploads"},{"openapi":"post /apps/{app_id}/files/uploads","title":"Create a new file upload","href":"/api-reference/endpoints/files/create-a-new-file-upload"},{"openapi":"get /apps/{app_id}/files/uploads/{file_upload_id}","title":"Get File Upload","href":"/api-reference/endpoints/files/get-file-upload"},{"openapi":"delete /apps/{app_id}/files/uploads/{file_upload_id}","title":"Delete File Upload","href":"/api-reference/endpoints/files/delete-file-upload"},{"openapi":"patch /apps/{app_id}/files/uploads/{file_upload_id}","title":"Update File Upload","href":"/api-reference/endpoints/files/update-file-upload"},{"openapi":"get /apps/{app_id}/files","title":"List Files","href":"/api-reference/endpoints/files/list-files"},{"openapi":"post /apps/{app_id}/files","title":"Create File","description":"Upload a new file to the app. Optionally specify a bucket.","href":"/api-reference/endpoints/files/create-file"},{"openapi":"get /apps/{app_id}/files/{file_id}","title":"Get File","href":"/api-reference/endpoints/files/get-file"},{"openapi":"delete /apps/{app_id}/files/{file_id}","title":"Delete File","description":"Delete a specific file from the app.","href":"/api-reference/endpoints/files/delete-file"},{"openapi":"post /apps/{app_id}/files/{file_id}/cancel","title":"Cancel File Upload","href":"/api-reference/endpoints/files/cancel-file-upload"}]},{"group":"Webhooks","pages":[{"openapi":"get /apps/{app_id}/webhooks","title":"Get Webhooks","href":"/api-reference/endpoints/webhooks/get-webhooks"},{"openapi":"post /apps/{app_id}/webhooks","title":"Create a Webhook","href":"/api-reference/endpoints/webhooks/create-a-webhook"},{"openapi":"delete /apps/{app_id}/webhooks/{webhook_id}","title":"Delete a Webhook","href":"/api-reference/endpoints/webhooks/delete-a-webhook"},{"openapi":"patch /apps/{app_id}/webhooks/{webhook_id}","title":"Update Webhook","href":"/api-reference/endpoints/webhooks/update-webhook"}]}]}]},"basePath":"","title":"Get File - Cortex","deploymentId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","buildId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-jJHA3WSo.js","utils-DbZn3Mjn.js","cloneDeep-CnBnaSyy.js","_Uint8Array-CMQtTgBR.js","isObject-FP1Yky1u.js","utils-Bl2DvzOJ.js","addUniqueKeysToSchema-BwOLo9p1.js","snippetPresets-BBiPpKa-.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-DRLI_2Ue.js","ApiExamples-C0px4Tml.js","isEqual-zAyttAAO.js","usePlaygroundInputsStore-Dell6dGw.js","shallow-0VKqkSqN.js","getApiPlaygroundDisplay-CP_ctPEB.js","CodeSnippet-5L35ic0s.js","CodeSnippets-DOXbNhJw.js","getPastedJson-VhzT9m2P.js","icon-CD8_AtCO.js","MethodPill-DGgOMftG.js","DuplicateIcon-DZ6A_EtN.js","createIcon-DUl4oM5f.js","DynamicMarkdown-BGHukeRM.js","SectionHeading-ChrEUs8u.js","axios-vUo_bRtp.js","Markdown-Dj-na-_-.js","dist-C5gjFYHe.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-DEBW87tT.js"]}