After the file is successfully uploaded, you can retrieve the file content through the file extraction interface. Note that GeekAI provides asynchronous file loading, so you need to poll the file content extraction interface to obtain the file content until it is retrieved. When polling, you can check the status field in the response data to determine the file extraction status. status=reading indicates that the file is being read, status=done indicates that the file has been read successfully, and the file content can be obtained through the content field value. If status=failed, it means that the file reading failed.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"极客智坊","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/geekai/O3NwfoCr_3liylVV/logo/geekai-logo.png?fit=max\u0026auto=format\u0026n=O3NwfoCr_3liylVV\u0026q=85\u0026s=8edc923acd300ea2b9049b14795c8c7a","dark":"https://mintcdn.com/geekai/O3NwfoCr_3liylVV/logo/geekai-logo.png?fit=max\u0026auto=format\u0026n=O3NwfoCr_3liylVV\u0026q=85\u0026s=8edc923acd300ea2b9049b14795c8c7a"},"favicon":"https://mintcdn.com/geekai/O3NwfoCr_3liylVV/geekai-icon.webp?fit=max\u0026auto=format\u0026n=O3NwfoCr_3liylVV\u0026q=85\u0026s=b0091b79891520b5d274b34c5ea4e970","navbar":{"links":[{"href":"https://geekai.co/models","label":"模型广场"}],"primary":{"type":"button","label":"模型对话","href":"https://geekai.co/chat"}},"seo":{"metatags":{"og:image":"/geekai-icon.webp"},"indexing":"all"},"styling":{"latex":false},"navigation":{"languages":[{"language":"cn","href":"cn/docs/introduction"},{"language":"en","href":"en/docs/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"geekai","hasAudioNarration":false,"actualSubdomain":"geekai","customDomains":["docs.geekai.co"],"gitSource":{"type":"github","owner":"geekai-pub","repo":"geekai-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6aecba4ce142d265493aaba0","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"cn","tag":"画图模型","count":44},{"language":"cn","tag":"视频模型","count":42},{"language":"cn","tag":"API手册","count":37},{"language":"cn","tag":"文本模型","count":36},{"language":"cn","tag":"第三方集成","count":26},{"language":"cn","tag":"第三方应用集成","count":26},{"language":"en","tag":"API Reference","count":24},{"language":"cn","tag":"Chat API","count":14},{"language":"en","tag":"Use Cases","count":13},{"language":"en","tag":"AI Apps","count":13},{"language":"cn","tag":"字节豆包","count":10},{"language":"cn","tag":"可灵AI","count":10},{"language":"cn","tag":"语音模型","count":9},{"language":"en","tag":"User Guides","count":7},{"language":"en","tag":"Getting Started","count":7},{"language":"en","tag":"API KEY","count":6},{"language":"en","tag":"Agent","count":5},{"language":"en","tag":"Chat","count":3},{"language":"en","tag":"Audio","count":2},{"language":"en","tag":"File","count":2}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/api/file/extract","slug":"/en/api/file/extract","pageMetadata":{"title":"Extract Content","openapi":"openapi.yaml GET /file/{uuid}/content","sidebarTitle":"Extract","description":null,"href":"/en/api/file/extract"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`After the file is successfully uploaded, you can retrieve the file content through the file extraction interface. Note that GeekAI provides asynchronous file loading, so you need to poll the file content extraction interface to obtain the file content until it is retrieved. When polling, you can check the `,_jsx(_components.code,{children:`status`}),` field in the response data to determine the file extraction status. `,_jsx(_components.code,{children:`status=reading`}),` indicates that the file is being read, `,_jsx(_components.code,{children:`status=done`}),` indicates that the file has been read successfully, and the file content can be obtained through the `,_jsx(_components.code,{children:`content`}),` field value. If `,_jsx(_components.code,{children:`status=failed`}),`, it means that the file reading failed.`]}),`\n`,_jsx(Heading,{level:`3`,id:`curl-request-example`,children:`cURL Request Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://geekai.dev/api/v1/file/27f9ab4d-137b-4bb3-bcca-ea28f2f89e95/content'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer {YOUR_GEEKAI_API_KEY}'`})]}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Extract Content","openapi":"openapi.yaml GET /file/{uuid}/content","sidebarTitle":"Extract","description":null,"href":"/en/api/file/extract"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"cURL Request Example","slug":"curl-request-example","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Files"],"summary":"获取文件内容","description":"根据文件UUID获取文件内容,支持不同的返回格式和过滤选项。","operationId":"getFileContent","parameters":["8e4ba0b5-df79-4286-8ff7-6b456842c153"],"responses":{"200":"61555279-6bfb-46d9-87c0-fcab9e5e00d1","401":"86fa8c10-7b6d-48e8-bc45-a46ab46059cd","404":"579905b5-bb75-4d1d-b88f-1df3bdc07c50","500":"99b63ae2-be48-4e64-acc1-6d530c3610d1"},"method":"get","type":"path","servers":["4c6526f1-81af-4587-a055-b547f5a24663","26977d9e-6f12-4ba8-8c98-247e40469cde"],"security":["95aa0bd3-1099-4210-a04d-4044d6d6483a","933f3577-fcbb-4964-9c06-f299eab749cc"],"path":"/file/{uuid}/content","baseUrlOptions":["https://geekai.co/api/v1","https://geekai.dev/api/v1"],"title":"获取文件内容","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"8e4ba0b5-df79-4286-8ff7-6b456842c153":{"name":"uuid","in":"path","required":true,"description":"文件唯一标识符","schema":{"type":"string","format":"uuid","isRequired":true,"description":"文件唯一标识符","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"responses":{"61555279-6bfb-46d9-87c0-fcab9e5e00d1":{"description":"成功响应","content":{"application/json":{"schema":{"type":"object","required":["uuid","status"],"properties":{"uuid":{"type":"string","format":"uuid","description":"文件唯一ID,可通过该ID获取文件内容","isRequired":true,"uniqueKey":"uuid","typeLabel":"string\u003cuuid>"},"status":{"type":"string","description":"文件状态: pending(待处理)/reading(读取中)/failed(读取失败)/done(已读取)","enum":["pending","reading","processing","failed","done"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"文件名称","uniqueKey":"name","typeLabel":"string"},"size":{"type":"integer","description":"文件大小","uniqueKey":"size","typeLabel":"integer"},"type":{"type":"string","description":"文件MIME类型","uniqueKey":"type","typeLabel":"string"},"md5":{"type":"string","description":"文件MD5值","uniqueKey":"md5","typeLabel":"string"},"url":{"type":"string","description":"文件URL地址","uniqueKey":"url","typeLabel":"string"},"content":{"type":"string","description":"文件内容(只有status=done时,才会填充该字段)","uniqueKey":"content","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","status":"pending","name":"\u003cstring>","size":123,"type":"\u003cstring>","md5":"\u003cstring>","url":"\u003cstring>","content":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"86fa8c10-7b6d-48e8-bc45-a46ab46059cd":{"description":"未授权","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","example":"unauthorized","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","example":"Invalid API key or token","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"unauthorized","message":"Invalid API key or token"}}},"exampleType":"generated"}},"exampleType":"generated"},"579905b5-bb75-4d1d-b88f-1df3bdc07c50":{"description":"文件不存在","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"example":{"code":"file_not_found","message":"指定的文件不存在"},"properties":{"code":{"type":"string","description":"错误代码","example":"invalid_request","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"错误信息描述","example":"请求参数不合法","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"file_not_found","message":"指定的文件不存在"}}},"exampleType":"generated"}},"exampleType":"generated"},"99b63ae2-be48-4e64-acc1-6d530c3610d1":{"description":"标准错误响应","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"错误代码","example":"invalid_request","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"错误信息描述","example":"请求参数不合法","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"invalid_request","message":"请求参数不合法"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"95aa0bd3-1099-4210-a04d-4044d6d6483a":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"API认证token","scopes":[],"schemeName":"bearerAuth"}},"933f3577-fcbb-4964-9c06-f299eab749cc":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"GeekAI-API-Key","description":"API密钥认证","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"4c6526f1-81af-4587-a055-b547f5a24663":{"url":"https://geekai.co/api/v1","description":"国内代理入口"},"26977d9e-6f12-4ba8-8c98-247e40469cde":{"url":"https://geekai.dev/api/v1","description":"海外代理入口"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"API认证token","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API认证token","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"GeekAI-API-Key","description":"API密钥认证","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"GeekAI-API-Key","type":"string","description":"API密钥认证","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"GeekAI-API-Key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"cn/api/openapi.yaml"},"subdomain":"geekai","siteName":"极客智坊","title":"Extract Content - 极客智坊","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"cn":{"href":"/cn/api/file/extract","matchLevel":1},"en":{"href":"/en/api/file/extract","matchLevel":0}}},"lastModified":"2026-11-05T10:54:23.861Z","originalFileLocation":"en/api/file/extract.mdx","locale":"en"},"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=\"application-name\" content=\"极客智坊\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/geekai/4IycdE7H9LjTJ-KO/_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/geekai/4IycdE7H9LjTJ-KO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/geekai/4IycdE7H9LjTJ-KO/_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/geekai/4IycdE7H9LjTJ-KO/_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/geekai/4IycdE7H9LjTJ-KO/_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/geekai/4IycdE7H9LjTJ-KO/_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/geekai/4IycdE7H9LjTJ-KO/_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/geekai/4IycdE7H9LjTJ-KO/_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/geekai/4IycdE7H9LjTJ-KO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Extract Content - 极客智坊\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"极客智坊\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.geekai.co/en/api/file/extract\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://geekai.mintlify.site/geekai-icon.webp\">\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=\"Extract Content - 极客智坊\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://geekai.mintlify.site/geekai-icon.webp\">\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/geekai/4IycdE7H9LjTJ-KO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"极客智坊\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.geekai.co/en/api/file/extract\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api/file/extract.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.geekai.co/en/api/file/extract\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.geekai.co/cn/api/file/extract\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.geekai.co/cn/api/file/extract\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.geekai.co/#organization\",\"name\":\"极客智坊\",\"url\":\"https://docs.geekai.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/geekai/O3NwfoCr_3liylVV/logo/geekai-logo.png?fit=max\u0026auto=format\u0026n=O3NwfoCr_3liylVV\u0026q=85\u0026s=8edc923acd300ea2b9049b14795c8c7a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.geekai.co#website\",\"name\":\"极客智坊\",\"url\":\"https://docs.geekai.co\",\"publisher\":{\"@id\":\"https://docs.geekai.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.geekai.co/en/api/file/extract#webpage\",\"url\":\"https://docs.geekai.co/en/api/file/extract\",\"name\":\"Extract Content\",\"dateModified\":\"2026-11-05T10:54:23.861Z\",\"isPartOf\":{\"@id\":\"https://docs.geekai.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.geekai.co/en/api/file/extract#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.geekai.co/en/api/file/extract#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"File\",\"item\":\"https://docs.geekai.co/en/api/file/upload\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Extract Content\",\"item\":\"https://docs.geekai.co/en/api/file/extract\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.geekai.co/en/api/file/extract#apireference\",\"headline\":\"Extract Content\",\"name\":\"Extract Content\",\"url\":\"https://docs.geekai.co/en/api/file/extract\",\"mainEntityOfPage\":{\"@id\":\"https://docs.geekai.co/en/api/file/extract#webpage\"},\"image\":\"https://docs.geekai.co/geekai-icon.webp\",\"dateModified\":\"2026-11-05T10:54:23.861Z\",\"publisher\":{\"@id\":\"https://docs.geekai.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.geekai.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"极客智坊\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"极客智坊","nav":{"global":null,"languages":[{"language":"cn","pages":[{"title":"cn","href":"/cn/api/file/extract"}]},{"language":"en","tabs":[{"tab":"User Guides","pages":[{"title":"User Guides","href":"/en/docs/introduction"}]},{"tab":"Use Cases","pages":[{"title":"Use Cases","href":"/en/cases/botgem"}]},{"tab":"API Reference","groups":[{"group":"Chat","pages":[{"title":"Chat Completions","openapi":"openapi.yaml POST /chat/completions","sidebarTitle":"Chat","href":"/en/api/chat"},{"title":"Create Embedding","openapi":"openapi.yaml POST /embeddings","sidebarTitle":"Embedding","href":"/en/api/embedding"},{"title":"Rerank","openapi":"openapi.yaml POST /rerank","sidebarTitle":"Rerank","href":"/en/api/rerank"}]},{"group":"Image","pages":[{"title":"Image Generation","openapi":"openapi.yaml POST /images/generations","sidebarTitle":"Image Generation","href":"/en/api/image"}]},{"group":"Audio","pages":[{"title":"Speech to Text","openapi":"openapi.yaml POST /audio/transcriptions","sidebarTitle":"Speech to Text","href":"/en/api/audio/speechtotext"},{"title":"Text to Speech","openapi":"openapi.yaml POST /audio/speech","sidebarTitle":"Text to Speech","href":"/en/api/audio/texttospeech"}]},{"group":"Video","pages":[{"title":"Create Task","openapi":"openapi.yaml POST /videos/generations","sidebarTitle":"Create","href":"/en/api/video/create"},{"title":"Get Result","openapi":"openapi.yaml GET /video/{task_id}/result","sidebarTitle":"Retrieval","href":"/en/api/video/retrieval"}]},{"group":"Models","pages":[{"title":"List Models","openapi":"openapi.yaml GET /models","sidebarTitle":"List","href":"/en/api/models"}]},{"group":"Agent","pages":[{"title":"Create Agent","openapi":"openapi.yaml POST /agent/create","sidebarTitle":"Create","href":"/en/api/agent/create"},{"title":"Update Agent","openapi":"openapi.yaml PUT /agent/{uuid}/update","sidebarTitle":"Update","href":"/en/api/agent/update"},{"title":"Agent Embedding","openapi":"openapi.yaml PATCH /agent/{uuid}/embed","sidebarTitle":"Embedding","href":"/en/api/agent/embedding"},{"title":"Get Agent Info","openapi":"openapi.yaml GET /agent/{uuid}","sidebarTitle":"Retrieval","href":"/en/api/agent/retrieval"},{"title":"Chat with Agent","openapi":"openapi.yaml POST /agent/chat","sidebarTitle":"Chat","href":"/en/api/agent/chat"}]},{"group":"File","pages":[{"title":"Upload File","openapi":"openapi.yaml POST /files","sidebarTitle":"Upload","description":null,"href":"/en/api/file/upload"},{"title":"Extract Content","openapi":"openapi.yaml GET /file/{uuid}/content","sidebarTitle":"Extract","href":"/en/api/file/extract"}]},{"group":"OCR","pages":[{"title":"Business Card Recognition","openapi":"openapi.yaml POST /bizcard/recognize","sidebarTitle":"Business Card","description":null,"href":"/en/api/ocr/cardrecognition"},{"title":"ID Card Recognition","openapi":"openapi.yaml POST /idcard/recognize","sidebarTitle":"ID Card","href":"/en/api/ocr/idcardrecognition"}]},{"group":"API KEY","pages":[{"title":"Create a New API Key","openapi":"openapi.yaml POST /api_keys","sidebarTitle":"Create","href":"/en/api/key/create"},{"title":"Get All API Keys","openapi":"openapi.yaml GET /api_keys","sidebarTitle":"List","href":"/en/api/key/list"},{"title":"Get API Key Information","openapi":"openapi.yaml GET /api_keys/{uuid}","sidebarTitle":"Get","href":"/en/api/key/get"},{"title":"Update API Key","openapi":"openapi.yaml PUT /api_keys/{uuid}","sidebarTitle":"Update","href":"/en/api/key/update"},{"title":"Toggle API Key Status","openapi":"openapi.yaml PATCH /api_keys/{uuid}/status","sidebarTitle":"Enable/Disable","href":"/en/api/key/toggle"},{"title":"Delete an API Key","openapi":"openapi.yaml DELETE /api_keys/{uuid}","sidebarTitle":"Delete","href":"/en/api/key/delete"}]}]}]}]},"basePath":"","title":"Extract Content - 极客智坊","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CBsVopKK.js","utils-DZAk68jJ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D32AYZrP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D_A5_cny.js","snippetPresets-xNRfS9th.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BIB25-tq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CydJ4w4j.js","shallow-CYPBeQSG.js","getApiPlaygroundDisplay-A5xJVBOu.js","CodeSnippet-BVRTgi3m.js","CodeSnippets-DjD6BSlt.js","Page-Dr40SSJq.js","getPastedJson-D4V4JyrR.js","icon-uhcnG22T.js","MethodPill-CM-ZQdGH.js","DuplicateIcon-B_WnOiNf.js","createIcon-CJsb8utt.js","DynamicMarkdown-D-2HDKEp.js","SectionHeading-KP5xmMgQ.js","axios-vUo_bRtp.js","Markdown-D_k0dg6k.js","clsx-DK3K4Z1S.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DE3EVdvd.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fN9H9n9g.js"]}