{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Datalab Documentation","colors":{"primary":"#1a1a1a","light":"#ddd","dark":"#1a1a1a"},"logo":{"light":"https://mintcdn.com/datalab/4cV8FIDXVaCopT74/logo/light.svg?fit=max\u0026auto=format\u0026n=4cV8FIDXVaCopT74\u0026q=85\u0026s=f2c43db4749862f4f7aa19a4d366287f","dark":"https://mintcdn.com/datalab/4cV8FIDXVaCopT74/logo/dark.svg?fit=max\u0026auto=format\u0026n=4cV8FIDXVaCopT74\u0026q=85\u0026s=46a90e081295c50be55c4d145f68eebf"},"favicon":"https://mintcdn.com/datalab/ixj7bRaxwtMWIkDp/favicon.png?fit=max\u0026auto=format\u0026n=ixj7bRaxwtMWIkDp\u0026q=85\u0026s=4a29419a833a87b1d6d8e324cb7b1a16","api":{"playground":{"display":"interactive"},"examples":{"languages":["python","bash","javascript","go"],"prefill":true,"autogenerate":true}},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"mailto:support@datalab.to","label":"Support"}],"primary":{"type":"button","label":"Get API Key","href":"https://www.datalab.to/app/keys"}},"footer":{"socials":{"x":"https://twitter.com/datalab-to","github":"https://github.com/datalab-to","linkedin":"https://linkedin.com/company/datalab-to"},"links":[{"header":"Product","items":[{"label":"Document Conversion","href":"/docs/recipes/conversion/conversion-api-overview"},{"label":"Structured Extraction","href":"/docs/recipes/structured-extraction/api-overview"},{"label":"Form Fields","href":"/docs/recipes/form-fields/form-fields-api-overview"},{"label":"Form Filling","href":"/docs/recipes/form-filling/form-filling-api-overview"},{"label":"Pipelines","href":"/docs/recipes/pipelines/pipeline-overview"},{"label":"On-Premises","href":"/docs/on-prem/overview"}]},{"header":"Developers","items":[{"label":"Quickstart","href":"/docs/welcome/quickstart"},{"label":"SDK Reference","href":"/docs/welcome/sdk"},{"label":"CLI","href":"/docs/welcome/sdk/cli"},{"label":"API Reference","href":"https://documentation.datalab.to/api-reference/health"},{"label":"Changelog","href":"/platform/changelog"}]},{"header":"Resources","items":[{"label":"Blog","href":"https://www.datalab.to/blog"},{"label":"Pricing","href":"https://www.datalab.to/pricing"},{"label":"Support","href":"mailto:support@datalab.to"},{"label":"Sign Up","href":"https://www.datalab.to/auth/sign_up"}]}]},"search":{"prompt":"Search Datalab docs..."},"fonts":{"heading":{"family":"Inter","weight":600},"body":{"family":"Inter","weight":400}},"integrations":{"gtm":{"tagId":"GTM-MXBBDJXQ"},"posthog":{"apiKey":"phc_tdzhvtMRrjRsRbBNByNWL1Enk1Vym1zOCNrbZ45R2QW","apiHost":"https://p.datalab.to"}},"contextual":{"options":["copy","view","claude","chatgpt","cursor"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Try Datalab for Free","icon":"user-plus","href":"https://www.datalab.to/auth/sign_up"},{"anchor":"Blog","icon":"newspaper","href":"https://www.datalab.to/blog"},{"anchor":"API Reference","icon":"book","href":"https://documentation.datalab.to/api-reference/health"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"datalab","hasAudioNarration":false,"actualSubdomain":"datalab","customDomains":["documentation.datalab.to"],"gitSource":{"type":"github","owner":"datalab-to","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aff6270bb648cfd1cf8dd05","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":147},{"language":"default","tag":"Guides","count":26},{"language":"default","tag":"Recipes","count":23},{"language":"default","tag":"collections","count":16},{"language":"default","tag":"pipelines","count":16},{"language":"default","tag":"Welcome","count":14},{"language":"default","tag":"Custom Pipelines (Deprecated)","count":12},{"language":"default","tag":"Custom Processors","count":12},{"language":"default","tag":"agent-studio","count":10},{"language":"default","tag":"SDK","count":9}]},"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":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles/toc.css","content":".custom-toc{margin-bottom:3rem}.custom-toc ul{list-style:none;padding-left:0;margin-top:0.25rem}.custom-toc{font-size:0.85rem}.custom-toc ul{margin-bottom:0.5rem}.custom-toc ul ul{padding-left:0.5rem}li{margin-top:0.5rem}"},{"filePath":"styles/general.css","content":".panel{width:100%!important}"}]}
{"page":{"pagePath":"api-reference/files/delete-file","slug":"/api-reference/files/delete-file","pageMetadata":{"title":"Delete File","description":"Delete an uploaded file.\n\nRemoves the file from both storage and the database.","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json delete /api/v1/files/{file_id}","href":"/api-reference/files/delete-file","autogeneratedByOpenApi":true},"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 p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Delete an uploaded file.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Removes the file from both storage and the database.\"\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":{"title":"Delete File","description":"Delete an uploaded file.\n\nRemoves the file from both storage and the database.","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json delete /api/v1/files/{file_id}","href":"/api-reference/files/delete-file","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["files"],"summary":"Delete File","description":"Delete an uploaded file.\n\nRemoves the file from both storage and the database.","operationId":"delete_file_api_v1_files__file_id__delete","security":["c9eb30e3-575c-430e-893e-31ab8e840426"],"parameters":["91bd817c-0e72-4d80-879e-d0408bca2475","a7db01a7-47de-4a3b-9d61-b2b2a2e04953","f372c065-ac6a-472c-8f20-b4d35c349a45"],"responses":{"200":"319497ec-702e-4dd1-9c4c-6e883dd3dfaa","422":"e69e92b3-cbd0-4f04-86b4-e34765568a4d"},"method":"delete","type":"path","servers":["e1b2766c-6912-4973-87e7-6285ef32e0c4"],"path":"/api/v1/files/{file_id}","baseUrlOptions":["https://www.datalab.to"],"title":"Delete File","codeSamples":[],"requestExampleLanguages":["python","bash","javascript","go"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"91bd817c-0e72-4d80-879e-d0408bca2475":{"name":"file_id","in":"path","required":true,"schema":{"type":"integer","title":"File Id","isRequired":true,"uniqueKey":"","typeLabel":"integer"}},"a7db01a7-47de-4a3b-9d61-b2b2a2e04953":{"name":"wos-session","in":"cookie","required":false,"schema":{"type":"string","title":"Wos-Session","isRequired":false,"uniqueKey":"","typeLabel":"string"}},"f372c065-ac6a-472c-8f20-b4d35c349a45":{"name":"datalab_active_team","in":"cookie","required":false,"schema":{"type":"string","title":"Datalab Active Team","isRequired":false,"uniqueKey":"","typeLabel":"string"}}},"responses":{"319497ec-702e-4dd1-9c4c-6e883dd3dfaa":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"message":{"type":"string","title":"Message","description":"Confirmation message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"success":{"type":"boolean","title":"Success","description":"Whether the deletion was successful","default":true,"uniqueKey":"success","typeLabel":"boolean"}},"type":"object","required":["message"],"title":"DeleteFileResponse","description":"Response after deleting a file.","uniqueKey":"","typeLabel":"DeleteFileResponse · object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","success":true}}},"exampleType":"generated"}},"exampleType":"generated"},"e69e92b3-cbd0-4f04-86b4-e34765568a4d":{"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"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"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>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c9eb30e3-575c-430e-893e-31ab8e840426":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key","scopes":[],"schemeName":"APIKeyHeader"}}},"servers":{"e1b2766c-6912-4973-87e7-6285ef32e0c4":{"url":"https://www.datalab.to","description":"Datalab API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","scopes":[],"schemeName":"APIKeyHeader"},"schema":{"title":"X-API-Key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"APIKeyHeader","name":"X-API-Key"}],"title":"APIKeyHeader"}]},"originalFileLocation":"https://www.datalab.to/openapi.json"},"subdomain":"datalab","siteName":"Datalab Documentation","title":"Delete File - Datalab Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-18T17:44:01.068Z","originalFileLocation":"api-reference/files/delete-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=\"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=\"Delete an uploaded file. Removes the file from both storage and the database.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Datalab Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/datalab/gJixsr4rtDm8VF9t/_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/datalab/gJixsr4rtDm8VF9t/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/datalab/gJixsr4rtDm8VF9t/_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/datalab/gJixsr4rtDm8VF9t/_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/datalab/gJixsr4rtDm8VF9t/_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/datalab/gJixsr4rtDm8VF9t/_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/datalab/gJixsr4rtDm8VF9t/_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/datalab/gJixsr4rtDm8VF9t/_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/datalab/gJixsr4rtDm8VF9t/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Delete File - Datalab Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Delete an uploaded file. Removes the file from both storage and the database.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Datalab Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://documentation.datalab.to/api-reference/files/delete-file\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://datalab.mintlify.site/_mintlify/api/og/v2?division=files\u0026amp;title=Delete+File\u0026amp;description=Delete+an+uploaded+file.%0A%0ARemoves+the+file+from+both+storage+and+the+database.\u0026amp;theme=19ee61435d210c1a688e522a\u0026amp;signature=c4c4a5f7f2e05992c6bb4b38e0034e55747ee9db11bec585dd21d24f67265a76\">\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=\"Delete File - Datalab Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Delete an uploaded file. Removes the file from both storage and the database.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://datalab.mintlify.site/_mintlify/api/og/v2?division=files\u0026amp;title=Delete+File\u0026amp;description=Delete+an+uploaded+file.%0A%0ARemoves+the+file+from+both+storage+and+the+database.\u0026amp;theme=19ee61435d210c1a688e522a\u0026amp;signature=c4c4a5f7f2e05992c6bb4b38e0034e55747ee9db11bec585dd21d24f67265a76\">\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/datalab/gJixsr4rtDm8VF9t/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Datalab Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1a1a1a\">\u003clink data-mint-head rel=\"canonical\" href=\"https://documentation.datalab.to/api-reference/files/delete-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/files/delete-file.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://documentation.datalab.to/#organization\",\"name\":\"Datalab Documentation\",\"url\":\"https://documentation.datalab.to\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/datalab/4cV8FIDXVaCopT74/logo/light.svg?fit=max\u0026auto=format\u0026n=4cV8FIDXVaCopT74\u0026q=85\u0026s=f2c43db4749862f4f7aa19a4d366287f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://documentation.datalab.to#website\",\"name\":\"Datalab Documentation\",\"url\":\"https://documentation.datalab.to\",\"publisher\":{\"@id\":\"https://documentation.datalab.to/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://documentation.datalab.to/api-reference/files/delete-file#webpage\",\"url\":\"https://documentation.datalab.to/api-reference/files/delete-file\",\"name\":\"Delete File\",\"description\":\"Delete an uploaded file. Removes the file from both storage and the database.\",\"dateModified\":\"2026-11-18T17:44:01.068Z\",\"isPartOf\":{\"@id\":\"https://documentation.datalab.to#website\"},\"breadcrumb\":{\"@id\":\"https://documentation.datalab.to/api-reference/files/delete-file#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://documentation.datalab.to/api-reference/files/delete-file#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"files\",\"item\":\"https://documentation.datalab.to/api-reference/files/request-upload-url\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Delete File\",\"item\":\"https://documentation.datalab.to/api-reference/files/delete-file\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://documentation.datalab.to/api-reference/files/delete-file#apireference\",\"headline\":\"Delete File\",\"name\":\"Delete File\",\"description\":\"Delete an uploaded file. Removes the file from both storage and the database.\",\"url\":\"https://documentation.datalab.to/api-reference/files/delete-file\",\"mainEntityOfPage\":{\"@id\":\"https://documentation.datalab.to/api-reference/files/delete-file#webpage\"},\"dateModified\":\"2026-11-18T17:44:01.068Z\",\"publisher\":{\"@id\":\"https://documentation.datalab.to/#organization\"},\"isPartOf\":{\"@id\":\"https://documentation.datalab.to#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Datalab Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Datalab Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/files/delete-file.md","siteName":"Datalab Documentation","nav":{"global":{"anchors":[{"anchor":"Try Datalab for Free","icon":"user-plus","href":"https://www.datalab.to/auth/sign_up"},{"anchor":"Blog","icon":"newspaper","href":"https://www.datalab.to/blog"},{"anchor":"API Reference","icon":"book","href":"https://documentation.datalab.to/api-reference/health"}]},"tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":""}]},{"tab":"Recipes","icon":"flask","pages":[{"title":"Recipes","href":"/docs/recipes/overview"}]},{"tab":"API Reference","icon":"square-terminal","groups":[{"group":"API Reference","pages":[{"title":"Health","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/health","href":"/api-reference/health"},{"title":"Api Health","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/user_health","href":"/api-reference/api-health"},{"title":"Generate Extraction Schemas","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/marker/extraction/gen_schemas","href":"/api-reference/generate-extraction-schemas"},{"title":"[DEPRECATED] Table Recognition","deprecated":true,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/table_rec","href":"/api-reference/[deprecated]-table-recognition"},{"title":"[DEPRECATED] OCR","deprecated":true,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/ocr","href":"/api-reference/[deprecated]-ocr"},{"title":"Form Filling","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/fill","href":"/api-reference/form-filling"},{"title":"Redaction","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/redact","href":"/api-reference/redaction"},{"title":"Redaction Presets","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/redact/presets","href":"/api-reference/redaction-presets"},{"title":"Create Document","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/create-document","href":"/api-reference/create-document"},{"title":"Convert Document","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/convert","href":"/api-reference/convert-document"},{"title":"Run Document Agent","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/agent","href":"/api-reference/run-document-agent"},{"title":"Run Custom Pipeline (Deprecated)","deprecated":true,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/custom-pipeline","href":"/api-reference/run-custom-pipeline-deprecated"},{"title":"Run Custom Processor (Deprecated)","deprecated":true,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/custom-processor","href":"/api-reference/run-custom-processor-deprecated"},{"title":"Track Changes","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/track-changes","href":"/api-reference/track-changes"},{"title":"Form Fields","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/form-fields","href":"/api-reference/form-fields"},{"title":"Marker Result Check","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/marker/{request_id}","href":"/api-reference/marker-result-check"},{"title":"OCR Result Check","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/ocr/{request_id}","href":"/api-reference/ocr-result-check"},{"title":"Table Rec Result Check","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/table_rec/{request_id}","href":"/api-reference/table-rec-result-check"},{"title":"Extraction Schema Generation Result Check","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/marker/extraction/gen_schemas/{request_id}","href":"/api-reference/extraction-schema-generation-result-check"},{"title":"Form Filling Result Check","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/fill/{request_id}","href":"/api-reference/form-filling-result-check"},{"title":"Redaction Result Check","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/redact/{request_id}","href":"/api-reference/redaction-result-check"},{"title":"Create Document Result Check","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/create-document/{request_id}","href":"/api-reference/create-document-result-check"},{"title":"Convert Result Check","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/convert/{request_id}","href":"/api-reference/convert-result-check"},{"title":"Extract Result Check","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/extract/{request_id}","href":"/api-reference/extract-result-check"},{"title":"Segment Result Check","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/segment/{request_id}","href":"/api-reference/segment-result-check"},{"title":"Agent Result Check","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/agent/{request_id}","href":"/api-reference/agent-result-check"},{"title":"Custom Processor Result Check (Deprecated)","deprecated":true,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/custom-processor/{request_id}","href":"/api-reference/custom-processor-result-check-deprecated"},{"title":"Form Fields Result Check","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/form-fields/{request_id}","href":"/api-reference/form-fields-result-check"},{"title":"Track Changes Result Check","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/track-changes/{request_id}","href":"/api-reference/track-changes-result-check"},{"title":"Delete Result","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json delete /api/v1/results/{request_id}","href":"/api-reference/delete-result"},{"title":"[DEPRECATED] Marker","deprecated":true,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/marker","href":"/api-reference/[deprecated]-marker"},{"title":"Extract Structured Data","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/extract","href":"/api-reference/extract-structured-data"},{"title":"Segment Document","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/segment","href":"/api-reference/segment-document"}]},{"group":"Custom Processors","pages":[{"title":"Check Pipeline Access","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/custom_processors/access","href":"/api-reference/custom-processors/check-pipeline-access"},{"title":"Get Creation Allowance","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/custom_processors/creation-allowance","href":"/api-reference/custom-processors/get-creation-allowance"},{"title":"List Custom Pipelines","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/custom_processors","href":"/api-reference/custom-processors/list-custom-pipelines"},{"title":"Submit Custom Pipeline","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/custom_processors","href":"/api-reference/custom-processors/submit-custom-pipeline"},{"title":"Get Custom Pipeline Status","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/custom_processors/{lookup_key}","href":"/api-reference/custom-processors/get-custom-pipeline-status"},{"title":"Archive Custom Pipeline","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/custom_processors/{processor_id}/archive","href":"/api-reference/custom-processors/archive-custom-pipeline"},{"title":"Iterate Custom Pipeline","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/custom_processors/{processor_id}/iterate","href":"/api-reference/custom-processors/iterate-custom-pipeline"},{"title":"List Pipeline Versions","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/custom_processors/{processor_id}/versions","href":"/api-reference/custom-processors/list-pipeline-versions"},{"title":"Get Processor Version Detail","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/custom_processors/{processor_id}/versions/{version}","href":"/api-reference/custom-processors/get-processor-version-detail"},{"title":"Set Active Pipeline Version","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/custom_processors/{processor_id}/set_active","href":"/api-reference/custom-processors/set-active-pipeline-version"},{"title":"Get Pipelines Using Processor","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/custom_processors/{processor_id}/pipelines","href":"/api-reference/custom-processors/get-pipelines-using-processor"},{"title":"Describe Customizer","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/custom_processors/describe","href":"/api-reference/custom-processors/describe-customizer"}]},{"group":"Custom Pipelines (Deprecated)","pages":[{"title":"Check Pipeline Access","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/custom_pipelines/access","href":"/api-reference/custom-pipelines-deprecated/check-pipeline-access"},{"title":"Get Creation Allowance","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/custom_pipelines/creation-allowance","href":"/api-reference/custom-pipelines-deprecated/get-creation-allowance"},{"title":"List Custom Pipelines","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/custom_pipelines","href":"/api-reference/custom-pipelines-deprecated/list-custom-pipelines"},{"title":"Submit Custom Pipeline","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/custom_pipelines","href":"/api-reference/custom-pipelines-deprecated/submit-custom-pipeline"},{"title":"Get Custom Pipeline Status","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/custom_pipelines/{lookup_key}","href":"/api-reference/custom-pipelines-deprecated/get-custom-pipeline-status"},{"title":"Archive Custom Pipeline","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/custom_pipelines/{processor_id}/archive","href":"/api-reference/custom-pipelines-deprecated/archive-custom-pipeline"},{"title":"Iterate Custom Pipeline","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/custom_pipelines/{processor_id}/iterate","href":"/api-reference/custom-pipelines-deprecated/iterate-custom-pipeline"},{"title":"List Pipeline Versions","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/custom_pipelines/{processor_id}/versions","href":"/api-reference/custom-pipelines-deprecated/list-pipeline-versions"},{"title":"Get Processor Version Detail","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/custom_pipelines/{processor_id}/versions/{version}","href":"/api-reference/custom-pipelines-deprecated/get-processor-version-detail"},{"title":"Set Active Pipeline Version","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/custom_pipelines/{processor_id}/set_active","href":"/api-reference/custom-pipelines-deprecated/set-active-pipeline-version"},{"title":"Get Pipelines Using Processor","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/custom_pipelines/{processor_id}/pipelines","href":"/api-reference/custom-pipelines-deprecated/get-pipelines-using-processor"},{"title":"Describe Customizer","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/custom_pipelines/describe","href":"/api-reference/custom-pipelines-deprecated/describe-customizer"}]},{"group":"files","pages":[{"title":"Request Upload Url","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/files/upload","href":"/api-reference/files/request-upload-url"},{"title":"Confirm Upload","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/files/{file_id_or_hashid}/confirm","href":"/api-reference/files/confirm-upload"},{"title":"Get File Metadata","description":"Get metadata for an uploaded file.\n\nReturns file information including size, content type, and upload timestamp.","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/files/{file_id}","href":"/api-reference/files/get-file-metadata"},{"title":"Delete File","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json delete /api/v1/files/{file_id}","href":"/api-reference/files/delete-file"},{"title":"Get File Download Url","description":"Generate presigned URL for downloading a file.\n\nThe URL is valid for the specified expiry time (default: 1 hour).\n\nArgs:\n file_id: File ID\n expires_in: URL expiry time in seconds (default: 3600, max: 86400)","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/files/{file_id}/download","href":"/api-reference/files/get-file-download-url"},{"title":"List Files","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/files","href":"/api-reference/files/list-files"}]},{"group":"collections","pages":[{"title":"List Collections","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/collections","href":"/api-reference/collections/list-collections"},{"title":"Create Collection","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/collections","href":"/api-reference/collections/create-collection"},{"title":"List Collection S3 Statuses","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/collections/s3-statuses","href":"/api-reference/collections/list-collection-s3-statuses"},{"title":"Get Collection","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/collections/{collection_id}","href":"/api-reference/collections/get-collection"},{"title":"Update Collection","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json put /api/v1/collections/{collection_id}","href":"/api-reference/collections/update-collection"},{"title":"Delete Collection","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json delete /api/v1/collections/{collection_id}","href":"/api-reference/collections/delete-collection"},{"title":"Get Collection S3 Source","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/collections/{collection_id}/s3-source","href":"/api-reference/collections/get-collection-s3-source"},{"title":"Upsert Collection S3 Source","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json put /api/v1/collections/{collection_id}/s3-source","href":"/api-reference/collections/upsert-collection-s3-source"},{"title":"Delete Collection S3 Source","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json delete /api/v1/collections/{collection_id}/s3-source","href":"/api-reference/collections/delete-collection-s3-source"},{"title":"Upsert Collection S3 Output","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json put /api/v1/collections/{collection_id}/s3-source/output","href":"/api-reference/collections/upsert-collection-s3-output"},{"title":"Delete Collection S3 Output","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json delete /api/v1/collections/{collection_id}/s3-source/output","href":"/api-reference/collections/delete-collection-s3-output"},{"title":"Trigger Collection S3 Writeback","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/collections/{collection_id}/s3-source/output/writeback","href":"/api-reference/collections/trigger-collection-s3-writeback"},{"title":"Trigger Collection S3 Sync","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/collections/{collection_id}/s3-source/sync","href":"/api-reference/collections/trigger-collection-s3-sync"},{"title":"List Collection Files","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/collections/{collection_id}/files","href":"/api-reference/collections/list-collection-files"},{"title":"Add Files To Collection","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/collections/{collection_id}/files","href":"/api-reference/collections/add-files-to-collection"},{"title":"Remove File From Collection","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json delete /api/v1/collections/{collection_id}/files/{uploaded_file_id}","href":"/api-reference/collections/remove-file-from-collection"}]},{"group":"comparisons","pages":[{"title":"Create Comparison","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/pipelines/{pipeline_id}/comparisons","href":"/api-reference/comparisons/create-comparison"},{"title":"Get Comparison","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/comparisons/{comparison_id}","href":"/api-reference/comparisons/get-comparison"},{"title":"Get Comparison Differences","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/comparisons/{comparison_id}/files/{file_id}/differences","href":"/api-reference/comparisons/get-comparison-differences"},{"title":"List Comparisons","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/comparisons","href":"/api-reference/comparisons/list-comparisons"}]},{"group":"pipelines","pages":[{"title":"List Pipelines","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/pipelines","href":"/api-reference/pipelines/list-pipelines"},{"title":"Create Pipeline","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/pipelines","href":"/api-reference/pipelines/create-pipeline"},{"title":"Get Pipeline Execution","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/pipelines/executions/{execution_id}","href":"/api-reference/pipelines/get-pipeline-execution"},{"title":"Get Step Result","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/pipelines/executions/{execution_id}/steps/{step_index}/result","href":"/api-reference/pipelines/get-step-result"},{"title":"Get Pipeline","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/pipelines/{pipeline_id}","href":"/api-reference/pipelines/get-pipeline"},{"title":"Update Pipeline","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json put /api/v1/pipelines/{pipeline_id}","href":"/api-reference/pipelines/update-pipeline"},{"title":"Save Pipeline","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json put /api/v1/pipelines/{pipeline_id}/save","href":"/api-reference/pipelines/save-pipeline"},{"title":"Archive Pipeline","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/pipelines/{pipeline_id}/archive","href":"/api-reference/pipelines/archive-pipeline"},{"title":"Unarchive Pipeline","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/pipelines/{pipeline_id}/unarchive","href":"/api-reference/pipelines/unarchive-pipeline"},{"title":"List Pipeline Versions","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/pipelines/{pipeline_id}/versions","href":"/api-reference/pipelines/list-pipeline-versions"},{"title":"Create Pipeline Version","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/pipelines/{pipeline_id}/versions","href":"/api-reference/pipelines/create-pipeline-version"},{"title":"Discard Draft","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/pipelines/{pipeline_id}/discard","href":"/api-reference/pipelines/discard-draft"},{"title":"Get Pipeline Rate","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/pipelines/{pipeline_id}/rate","href":"/api-reference/pipelines/get-pipeline-rate"},{"title":"Quote Parse Config","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/pipelines/quote","href":"/api-reference/pipelines/quote-parse-config"},{"title":"Run Pipeline","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/pipelines/{pipeline_id}/run","href":"/api-reference/pipelines/run-pipeline"},{"title":"List Pipeline Executions","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/pipelines/{pipeline_id}/executions","href":"/api-reference/pipelines/list-pipeline-executions"}]},{"group":"agent-studio","pages":[{"title":"List Processors","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/agent-studio/processors","href":"/api-reference/agent-studio/list-processors"},{"title":"Get Processor","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/agent-studio/processors/{processor_id}","href":"/api-reference/agent-studio/get-processor"},{"title":"Rename Processor","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json patch /api/v1/agent-studio/processors/{processor_id}","href":"/api-reference/agent-studio/rename-processor"},{"title":"List Processor Runs","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/agent-studio/processors/{processor_id}/runs","href":"/api-reference/agent-studio/list-processor-runs"},{"title":"Launch Processor Run","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/agent-studio/processors/{processor_id}/runs","href":"/api-reference/agent-studio/launch-processor-run"},{"title":"Get Run","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/agent-studio/runs/{run_id}","href":"/api-reference/agent-studio/get-run"},{"title":"Get Run Review","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/agent-studio/runs/{run_id}/review","href":"/api-reference/agent-studio/get-run-review"},{"title":"Get Run File","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/agent-studio/runs/{run_id}/files/{path}","href":"/api-reference/agent-studio/get-run-file"},{"title":"List Flags","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/agent-studio/flags","href":"/api-reference/agent-studio/list-flags"},{"title":"Create Flag","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/agent-studio/flags","href":"/api-reference/agent-studio/create-flag"}]},{"group":"extraction_schemas","pages":[{"title":"List Extraction Schemas","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/extraction_schemas","href":"/api-reference/extraction_schemas/list-extraction-schemas"},{"title":"Create Extraction Schema","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json post /api/v1/extraction_schemas","href":"/api-reference/extraction_schemas/create-extraction-schema"},{"title":"Get Extraction Schema","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json get /api/v1/extraction_schemas/{schema_id}","href":"/api-reference/extraction_schemas/get-extraction-schema"},{"title":"Update Extraction Schema","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json put /api/v1/extraction_schemas/{schema_id}","href":"/api-reference/extraction_schemas/update-extraction-schema"},{"title":"Delete Extraction Schema","deprecated":null,"version":null,"openapi":"https://www.datalab.to/openapi.json delete /api/v1/extraction_schemas/{schema_id}","href":"/api-reference/extraction_schemas/delete-extraction-schema"}]}]}]},"basePath":"","title":"Delete File - Datalab Documentation","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","Page-DuqezyvM.js","CodeSnippet-B373COAT.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","getApiPlaygroundDisplay-CfL-UuDS.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}