Extract structured data from a file or URL using AI.
Upload a file (or provide a URL) along with a typed JSON schema describing the
fields you want extracted. Each field must have a type and description.
Returns structured data matching your schema with guaranteed type conformance.
Raw quality signals used for confidence calibration. 'ocr_quality': blended OCR quality (0.7mean + 0.3p10, 0–1, absent for non-OCR). 'doc_quality': geometric mean of LLM token probs (0–1). 'signal_disagreement': mean |llm_self_report - logprob| across fields. Values above 0.3 indicate the signals disagree — the model may be confidently wrong (high logprob, low self-report) or self-deprecating.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"The Drive AI","colors":{"primary":"#6366F1","light":"#818CF8","dark":"#4F46E5"},"logo":{"light":"https://mintcdn.com/thedriveai/7p_tCtj9qAPOIRij/logo/light.svg?fit=max\u0026auto=format\u0026n=7p_tCtj9qAPOIRij\u0026q=85\u0026s=729f2cc138ce2a3bfb9f73b9dcfc25b1","dark":"https://mintcdn.com/thedriveai/7p_tCtj9qAPOIRij/logo/dark.svg?fit=max\u0026auto=format\u0026n=7p_tCtj9qAPOIRij\u0026q=85\u0026s=a58150ea42b3f6c1a83fc16f2614b555"},"favicon":"https://mintcdn.com/thedriveai/iw4AQrNX1HQm5qm5/favicon.png?fit=max\u0026auto=format\u0026n=iw4AQrNX1HQm5qm5\u0026q=85\u0026s=89fdfcb0c008070c22f5086fedba1f9e","navbar":{"links":[{"href":"https://thedrive.ai/contact","label":"Contact"},{"href":"https://cal.com/bigyan","label":"Get a demo"}],"primary":{"type":"button","label":"Open App","href":"https://thedrive.ai"}},"footer":{"socials":{"discord":"https://discord.com/invite/mCnxKxyxPC","x":"https://x.com/thedriveai","linkedin":"https://linkedin.com/company/thedriveai","instagram":"https://instagram.com/thedriveai","reddit":"https://reddit.com/r/thedriveai"}},"seo":{"metatags":{"og:site_name":"The Drive AI Docs","og:type":"website","og:image":"https://thedrive.ai/cover.png","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@thedriveai","twitter:image":"https://thedrive.ai/cover.png"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://thedrive.ai"},{"anchor":"Discord","icon":"discord","href":"https://discord.com/invite/mCnxKxyxPC"},{"anchor":"MCP Server","icon":"plug","href":"https://thedrive.ai/mcp"},{"anchor":"Android App","icon":"android","href":"https://play.google.com/store/apps/details?id=com.bigyankarki.thedriveai\u0026referrer=utm_source%3Ddocs%26utm_medium%3Ddocs%26utm_campaign%3Dandroid_launch"},{"anchor":"iOS App","icon":"apple","href":"https://apps.apple.com/us/app/the-drive-ai-file-organizer/id6758524851"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"thedriveai","hasAudioNarration":false,"actualSubdomain":"thedriveai","customDomains":["docs.thedrive.ai"],"gitSource":{"type":"github","owner":"thedriveai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae17da4c013701e12c2a931","collectionId":"e0a124ba-d0a0-4f0d-b7c5-a9dbb922b3d2","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae17da4c013701e12c2a931"},"entitlements":{},"buildId":"6ae17da4c013701e12c2a931","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Documentation","count":46},{"language":"default","tag":"Developer API","count":18},{"language":"default","tag":"The Agent","count":12},{"language":"default","tag":"Getting Started","count":8},{"language":"default","tag":"Integrations","count":7},{"language":"default","tag":"Account","count":6},{"language":"default","tag":"Workflows","count":6},{"language":"default","tag":"Files","count":5},{"language":"default","tag":"Guides","count":4},{"language":"default","tag":"Collaboration","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/extraction/extract-structured-data","slug":"/api-reference/extraction/extract-structured-data","pageMetadata":{"title":"Extract Structured Data","description":"Extract structured data from a file or URL using AI.\n\nUpload a file (or provide a URL) along with a typed JSON schema describing the\nfields you want extracted. Each field must have a `type` and `description`.\nReturns structured data matching your schema with **guaranteed type conformance**.\n\n**Example schema**:\n```json\n{\n \"invoice_number\": {\"type\": \"string\", \"description\": \"The invoice number\"},\n \"total_amount\": {\"type\": \"number\", \"description\": \"Total amount due\", \"required\": true},\n \"status\": {\"type\": \"string\", \"enum\": [\"paid\", \"unpaid\", \"overdue\"]},\n \"line_items\": {\n \"type\": \"array\",\n \"description\": \"Each line item\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"description\": {\"type\": \"string\"},\n \"quantity\": {\"type\": \"integer\"},\n \"unit_price\": {\"type\": \"number\"}\n }\n }\n }\n}\n```\n\n**Supported types**: `string`, `number`, `integer`, `boolean`, `array`, `object`\n\n**Supported formats**: PDF, DOCX, XLSX, PPTX, CSV, images (JPG, PNG),\nand any file type supported by the markdown conversion endpoint.\n\n**Vision mode**: For images or scanned documents, set `use_vision=true`\nfor highest accuracy on visual content.","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/extract","href":"/api-reference/extraction/extract-structured-data","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 code: \"code\",\n p: \"p\",\n pre: \"pre\",\n span: \"span\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n }, {CodeBlock} = _components;\n if (!CodeBlock) _missingMdxReference(\"CodeBlock\", true);\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Extract structured data from a file or URL using AI.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Upload a file (or provide a URL) along with a typed JSON schema describing the\\nfields you want extracted. Each field must have a \", _jsx(_components.code, {\n children: \"type\"\n }), \" and \", _jsx(_components.code, {\n children: \"description\"\n }), \".\\nReturns structured data matching your schema with \", _jsx(_components.strong, {\n children: \"guaranteed type conformance\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Example schema\"\n }), \":\"]\n }), \"\\n\", _jsx(CodeBlock, {\n numberOfLines: \"17\",\n language: \"json\",\n children: _jsx(_components.pre, {\n className: \"shiki shiki-themes github-light-default dark-plus\",\n style: {\n backgroundColor: \"#ffffff\",\n \"--shiki-dark-bg\": \"#0B0C0E\",\n color: \"#1f2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n language: \"json\",\n children: _jsxs(_components.code, {\n language: \"json\",\n numberOfLines: \"17\",\n children: [_jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"invoice_number\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": {\"\n }), _jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"\\\"type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"string\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \", \"\n }), _jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"\\\"description\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"The invoice number\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"},\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"total_amount\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": {\"\n }), _jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"\\\"type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"number\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \", \"\n }), _jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"\\\"description\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"Total amount due\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \", \"\n }), _jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"\\\"required\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#569CD6\"\n },\n children: \"true\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"},\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"status\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": {\"\n }), _jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"\\\"type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"string\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \", \"\n }), _jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"\\\"enum\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": [\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"paid\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \", \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"unpaid\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \", \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"overdue\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"]},\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"line_items\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"array\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"description\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"Each line item\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"items\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"object\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"properties\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"description\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": {\"\n }), _jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"\\\"type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"string\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"},\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"quantity\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": {\"\n }), _jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"\\\"type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"integer\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"},\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"unit_price\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": {\"\n }), _jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"\\\"type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"number\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Supported types\"\n }), \": \", _jsx(_components.code, {\n children: \"string\"\n }), \", \", _jsx(_components.code, {\n children: \"number\"\n }), \", \", _jsx(_components.code, {\n children: \"integer\"\n }), \", \", _jsx(_components.code, {\n children: \"boolean\"\n }), \", \", _jsx(_components.code, {\n children: \"array\"\n }), \", \", _jsx(_components.code, {\n children: \"object\"\n })]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Supported formats\"\n }), \": PDF, DOCX, XLSX, PPTX, CSV, images (JPG, PNG),\\nand any file type supported by the markdown conversion endpoint.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Vision mode\"\n }), \": For images or scanned documents, set \", _jsx(_components.code, {\n children: \"use_vision=true\"\n }), \"\\nfor highest accuracy on visual content.\"]\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};\nfunction _missingMdxReference(id, component) {\n throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\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":"Extract Structured Data","description":"Extract structured data from a file or URL using AI.\n\nUpload a file (or provide a URL) along with a typed JSON schema describing the\nfields you want extracted. Each field must have a `type` and `description`.\nReturns structured data matching your schema with **guaranteed type conformance**.\n\n**Example schema**:\n```json\n{\n \"invoice_number\": {\"type\": \"string\", \"description\": \"The invoice number\"},\n \"total_amount\": {\"type\": \"number\", \"description\": \"Total amount due\", \"required\": true},\n \"status\": {\"type\": \"string\", \"enum\": [\"paid\", \"unpaid\", \"overdue\"]},\n \"line_items\": {\n \"type\": \"array\",\n \"description\": \"Each line item\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"description\": {\"type\": \"string\"},\n \"quantity\": {\"type\": \"integer\"},\n \"unit_price\": {\"type\": \"number\"}\n }\n }\n }\n}\n```\n\n**Supported types**: `string`, `number`, `integer`, `boolean`, `array`, `object`\n\n**Supported formats**: PDF, DOCX, XLSX, PPTX, CSV, images (JPG, PNG),\nand any file type supported by the markdown conversion endpoint.\n\n**Vision mode**: For images or scanned documents, set `use_vision=true`\nfor highest accuracy on visual content.","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/extract","href":"/api-reference/extraction/extract-structured-data","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["extraction"],"summary":"Extract Structured Data","description":"Extract structured data from a file or URL using AI.\n\nUpload a file (or provide a URL) along with a typed JSON schema describing the\nfields you want extracted. Each field must have a `type` and `description`.\nReturns structured data matching your schema with **guaranteed type conformance**.\n\n**Example schema**:\n```json\n{\n \"invoice_number\": {\"type\": \"string\", \"description\": \"The invoice number\"},\n \"total_amount\": {\"type\": \"number\", \"description\": \"Total amount due\", \"required\": true},\n \"status\": {\"type\": \"string\", \"enum\": [\"paid\", \"unpaid\", \"overdue\"]},\n \"line_items\": {\n \"type\": \"array\",\n \"description\": \"Each line item\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"description\": {\"type\": \"string\"},\n \"quantity\": {\"type\": \"integer\"},\n \"unit_price\": {\"type\": \"number\"}\n }\n }\n }\n}\n```\n\n**Supported types**: `string`, `number`, `integer`, `boolean`, `array`, `object`\n\n**Supported formats**: PDF, DOCX, XLSX, PPTX, CSV, images (JPG, PNG),\nand any file type supported by the markdown conversion endpoint.\n\n**Vision mode**: For images or scanned documents, set `use_vision=true`\nfor highest accuracy on visual content.","operationId":"extract_structured_data_api_v1_extract_post","parameters":["bc21f26a-9017-469f-931a-f8bbe93ec825"],"requestBody":"3e085008-c6e9-45cf-abfa-d214874542d1","responses":{"200":"ce705a52-a11e-4aa6-934b-a51eda932d2f","400":"ca06e1b9-c804-4ffa-a278-86d2aacc7349","413":"a36c1917-226e-49c7-92c1-f59e5e4a73f8","422":"aed65031-745a-4f95-911c-3cad51ffeb5a","503":"d39d4c32-e2be-4632-9c51-55f50c7f00f4"},"method":"post","type":"path","servers":[],"security":[],"path":"/api/v1/extract","baseUrlOptions":[],"title":"Extract Structured Data","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"bc21f26a-9017-469f-931a-f8bbe93ec825":{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key","isRequired":false,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"properties":{"schema":{"type":"string","title":"Schema","description":"JSON schema defining fields to extract","isRequired":true,"uniqueKey":"schema","typeLabel":"string"},"file":{"oneOf":[{"type":"string","title":"File","description":"File to extract data from","contentMediaType":"application/octet-stream","uniqueKey":"file.oneOf.0","typeLabel":"file"},{"type":"null","title":"File","description":"File to extract data from","uniqueKey":"file.oneOf.1","typeLabel":"null"}],"uniqueKey":"file","typeLabel":"file | null"},"url":{"oneOf":[{"type":"string","title":"Url","description":"URL to fetch file from","uniqueKey":"url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Url","description":"URL to fetch file from","uniqueKey":"url.oneOf.1","typeLabel":"null"}],"uniqueKey":"url","typeLabel":"string | null"},"url_headers":{"oneOf":[{"type":"string","title":"Url Headers","description":"JSON-encoded headers for URL auth","uniqueKey":"url_headers.oneOf.0","typeLabel":"string"},{"type":"null","title":"Url Headers","description":"JSON-encoded headers for URL auth","uniqueKey":"url_headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"url_headers","typeLabel":"string | null"},"model":{"type":"string","title":"Model","description":"Model: 'fast', 'accurate', or 'auto'","default":"auto","uniqueKey":"model","typeLabel":"string"},"use_vision":{"type":"boolean","title":"Use Vision","description":"Use vision mode for images and scanned documents","default":false,"uniqueKey":"use_vision","typeLabel":"boolean"},"follow_links":{"type":"boolean","title":"Follow Links","description":"Follow internal links (e.g. /about, /contact) to find more data. URL inputs only.","default":false,"uniqueKey":"follow_links","typeLabel":"boolean"},"sync":{"type":"boolean","title":"Sync","description":"Set to false to process asynchronously. Returns a task_id to poll.","default":true,"uniqueKey":"sync","typeLabel":"boolean"},"webhook_url":{"oneOf":[{"type":"string","title":"Webhook Url","description":"URL to POST the result to when async processing completes. Signed with HMAC-SHA256 (see GET /api/v1/jobs/{task_id}/deliveries for verification docs).","uniqueKey":"webhook_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Webhook Url","description":"URL to POST the result to when async processing completes. Signed with HMAC-SHA256 (see GET /api/v1/jobs/{task_id}/deliveries for verification docs).","uniqueKey":"webhook_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook_url","typeLabel":"string | null"}},"type":"object","required":["schema"],"title":"Body_extract_structured_data_api_v1_extract_post","uniqueKey":"","typeLabel":"Body_extract_structured_data_api_v1_extract_post · object"},"examples":{"Example":{"title":"Example","value":{"schema":"\u003cstring>","file":"\u003cstring>","url":"\u003cstring>","url_headers":"\u003cstring>","model":"auto","use_vision":false,"follow_links":false,"sync":true,"webhook_url":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"ce705a52-a11e-4aa6-934b-a51eda932d2f":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"data":{"additionalProperties":true,"type":"object","title":"Data","description":"Extracted structured data matching the provided schema. Types are guaranteed when using typed schema.","isRequired":true,"uniqueKey":"data","typeLabel":"Data · object"},"filename":{"type":"string","title":"Filename","description":"Original filename or URL","isRequired":true,"uniqueKey":"filename","typeLabel":"string"},"model_used":{"type":"string","title":"Model Used","description":"Model used for extraction (fast or accurate)","isRequired":true,"uniqueKey":"model_used","typeLabel":"string"},"extraction_method":{"type":"string","title":"Extraction Method","description":"How text was extracted: text, ocr, ocr+vision, vision, or dom+text","isRequired":true,"uniqueKey":"extraction_method","typeLabel":"string"},"text_length":{"type":"integer","title":"Text Length","description":"Length of extracted text processed","isRequired":true,"uniqueKey":"text_length","typeLabel":"integer"},"success":{"type":"boolean","title":"Success","description":"True if all required fields were found. False if any required field is missing (partial data still returned).","default":true,"uniqueKey":"success","typeLabel":"boolean"},"confidence":{"additionalProperties":{"type":"number","uniqueKey":"confidence.additionalProperties","typeLabel":"number"},"type":"object","title":"Confidence","description":"Per-field calibrated confidence scores (0.0–1.0). Composite of LLM self-report, token logprobs, and OCR quality weighted by extraction method.","uniqueKey":"confidence","typeLabel":"Confidence · object"},"citations":{"additionalProperties":true,"type":"object","title":"Citations","description":"Per-field source text snippets from the document","uniqueKey":"citations","typeLabel":"Citations · object"},"content_type":{"oneOf":[{"type":"string","title":"Content Type","description":"Detected MIME type","uniqueKey":"content_type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Content Type","description":"Detected MIME type","uniqueKey":"content_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"content_type","typeLabel":"string | null"},"pages_processed":{"type":"integer","title":"Pages Processed","description":"Number of document pages actually read (0 for non-paginated files)","default":0,"uniqueKey":"pages_processed","typeLabel":"integer"},"total_pages":{"type":"integer","title":"Total Pages","description":"Total pages in the document (0 for non-paginated files)","default":0,"uniqueKey":"total_pages","typeLabel":"integer"},"credits_used":{"type":"integer","title":"Credits Used","description":"Credits consumed for this extraction","default":0,"uniqueKey":"credits_used","typeLabel":"integer"},"schema_format":{"oneOf":[{"type":"string","title":"SchemaFormat","description":"Schema format: always 'typed'. Each field has an explicit type for guaranteed type conformance.","enum":["typed"],"uniqueKey":"schema_format.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Schema format: always 'typed'. Each field has an explicit type for guaranteed type conformance.","uniqueKey":"schema_format.oneOf.1","typeLabel":"null"}],"uniqueKey":"schema_format","typeLabel":"enum\u003cstring> | null"},"field_status":{"oneOf":[{"type":"object","title":"Field Status","description":"Per-field status (typed schemas only).","additionalProperties":{"properties":{"status":{"type":"string","enum":["found","not_found"],"title":"FieldStatusValue","description":"Whether the field was found","isRequired":true,"uniqueKey":"field_status.oneOf.0.additionalProperties.status","typeLabel":"enum\u003cstring>"},"confidence":{"type":"number","maximum":1,"minimum":0,"title":"Confidence","description":"Calibrated confidence score (0.0–1.0)","isRequired":true,"uniqueKey":"field_status.oneOf.0.additionalProperties.confidence","typeLabel":"number"},"type":{"type":"string","title":"Type","description":"Expected type from schema","isRequired":true,"uniqueKey":"field_status.oneOf.0.additionalProperties.type","typeLabel":"string"},"required":{"type":"boolean","title":"Required","description":"Whether the field was marked required","isRequired":true,"uniqueKey":"field_status.oneOf.0.additionalProperties.required","typeLabel":"boolean"}},"type":"object","required":["status","confidence","type","required"],"title":"FieldStatusInfo","description":"Per-field extraction status (typed schemas only).","uniqueKey":"field_status.oneOf.0.additionalProperties","typeLabel":"FieldStatusInfo · object"},"uniqueKey":"field_status.oneOf.0","typeLabel":"Field Status · object"},{"type":"null","title":"Field Status","description":"Per-field status (typed schemas only).","uniqueKey":"field_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"field_status","typeLabel":"Field Status · object | null"},"missing_required":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"missing_required.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Missing Required","description":"List of required fields that could not be found (typed schemas only). Present only when success=false.","uniqueKey":"missing_required.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Missing Required","description":"List of required fields that could not be found (typed schemas only). Present only when success=false.","uniqueKey":"missing_required.oneOf.1","typeLabel":"null"}],"uniqueKey":"missing_required","typeLabel":"string[] | null"},"quality_signals":{"oneOf":[{"type":"object","title":"Quality Signals","description":"Raw quality signals used for confidence calibration. 'ocr_quality': blended OCR quality (0.7*mean + 0.3*p10, 0–1, absent for non-OCR). 'doc_quality': geometric mean of LLM token probs (0–1). 'signal_disagreement': mean |llm_self_report - logprob| across fields. Values above 0.3 indicate the signals disagree — the model may be confidently wrong (high logprob, low self-report) or self-deprecating.","additionalProperties":{"type":"number","uniqueKey":"quality_signals.oneOf.0.additionalProperties","typeLabel":"number"},"uniqueKey":"quality_signals.oneOf.0","typeLabel":"Quality Signals · object"},{"type":"null","title":"Quality Signals","description":"Raw quality signals used for confidence calibration. 'ocr_quality': blended OCR quality (0.7*mean + 0.3*p10, 0–1, absent for non-OCR). 'doc_quality': geometric mean of LLM token probs (0–1). 'signal_disagreement': mean |llm_self_report - logprob| across fields. Values above 0.3 indicate the signals disagree — the model may be confidently wrong (high logprob, low self-report) or self-deprecating.","uniqueKey":"quality_signals.oneOf.1","typeLabel":"null"}],"uniqueKey":"quality_signals","typeLabel":"Quality Signals · object | null"}},"type":"object","required":["data","filename","model_used","extraction_method","text_length"],"title":"ExtractionResponse","description":"Response for structured data extraction.","example":{"citations":{"invoice_number":"Invoice #: INV-2024-0042","total_amount":"Total Due: $1,234.56"},"confidence":{"invoice_number":0.96,"total_amount":0.91,"vendor_name":0.94},"content_type":"application/pdf","credits_used":7,"data":{"invoice_number":"INV-2024-0042","total_amount":1234.56,"vendor_name":"Acme Corp"},"extraction_method":"text","field_status":{"invoice_number":{"confidence":0.96,"required":false,"status":"found","type":"string"},"total_amount":{"confidence":0.91,"required":true,"status":"found","type":"number"},"vendor_name":{"confidence":0.94,"required":false,"status":"found","type":"string"}},"filename":"invoice.pdf","model_used":"fast","pages_processed":50,"schema_format":"typed","success":true,"text_length":2450,"total_pages":1200},"uniqueKey":"","typeLabel":"ExtractionResponse · object"},"examples":{"Example":{"title":"Example","value":{"citations":{"invoice_number":"Invoice #: INV-2024-0042","total_amount":"Total Due: $1,234.56"},"confidence":{"invoice_number":0.96,"total_amount":0.91,"vendor_name":0.94},"content_type":"application/pdf","credits_used":7,"data":{"invoice_number":"INV-2024-0042","total_amount":1234.56,"vendor_name":"Acme Corp"},"extraction_method":"text","field_status":{"invoice_number":{"confidence":0.96,"required":false,"status":"found","type":"string"},"total_amount":{"confidence":0.91,"required":true,"status":"found","type":"number"},"vendor_name":{"confidence":0.94,"required":false,"status":"found","type":"string"}},"filename":"invoice.pdf","model_used":"fast","pages_processed":50,"schema_format":"typed","success":true,"text_length":2450,"total_pages":1200}}},"exampleType":"generated"}},"exampleType":"generated"},"ca06e1b9-c804-4ffa-a278-86d2aacc7349":{"description":"Invalid request","content":{"application/json":{"schema":{"properties":{"error":{"type":"string","title":"Error","description":"Error type","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"detail":{"type":"string","title":"Detail","description":"Human-readable error message","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"success":{"type":"boolean","title":"Success","default":false,"uniqueKey":"success","typeLabel":"boolean"}},"type":"object","required":["error","detail"],"title":"ErrorResponse","description":"Standard error response.","example":{"detail":"File size exceeds maximum allowed (50MB)","error":"validation_error","success":false},"uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":"File size exceeds maximum allowed (50MB)","error":"validation_error","success":false}}},"exampleType":"generated"}},"exampleType":"generated"},"a36c1917-226e-49c7-92c1-f59e5e4a73f8":{"description":"File too large","content":{"application/json":{"schema":{"properties":{"error":{"type":"string","title":"Error","description":"Error type","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"detail":{"type":"string","title":"Detail","description":"Human-readable error message","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"success":{"type":"boolean","title":"Success","default":false,"uniqueKey":"success","typeLabel":"boolean"}},"type":"object","required":["error","detail"],"title":"ErrorResponse","description":"Standard error response.","example":{"detail":"File size exceeds maximum allowed (50MB)","error":"validation_error","success":false},"uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":"File size exceeds maximum allowed (50MB)","error":"validation_error","success":false}}},"exampleType":"generated"}},"exampleType":"generated"},"aed65031-745a-4f95-911c-3cad51ffeb5a":{"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"},"d39d4c32-e2be-4632-9c51-55f50c7f00f4":{"description":"AI service unavailable","content":{"application/json":{"schema":{"properties":{"error":{"type":"string","title":"Error","description":"Error type","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"detail":{"type":"string","title":"Detail","description":"Human-readable error message","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"success":{"type":"boolean","title":"Success","default":false,"uniqueKey":"success","typeLabel":"boolean"}},"type":"object","required":["error","detail"],"title":"ErrorResponse","description":"Standard error response.","example":{"detail":"File size exceeds maximum allowed (50MB)","error":"validation_error","success":false},"uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":"File size exceeds maximum allowed (50MB)","error":"validation_error","success":false}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{}},"originalFileLocation":"openapi.json"},"subdomain":"thedriveai","siteName":"The Drive AI","title":"Extract Structured Data - The Drive AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-06T05:02:03.685Z","originalFileLocation":"api-reference/extraction/extract-structured-data.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=\"Extract structured data from a file or URL using AI. Upload a file (or provide a URL) along with a typed JSON schema describing the fields you want extracted. Each field must have a type and description. Returns structured data matching your schema with guaranteed type conformance. Example schema: json { \u0026quot;invoice_number\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;string\u0026quot;, \u0026quot;description\u0026quot;: \u0026quot;The invoice number\u0026quot;}, \u0026quot;total_amount\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;number\u0026quot;, \u0026quot;description\u0026quot;: \u0026quot;Total amount due\u0026quot;, \u0026quot;required\u0026quot;: true}, \u0026quot;status\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;string\u0026quot;, \u0026quot;enum\u0026quot;: [\u0026quot;paid\u0026quot;, \u0026quot;unpaid\u0026quot;, \u0026quot;overdue\u0026quot;]}, \u0026quot;line_items\u0026quot;: { \u0026quot;type\u0026quot;: \u0026quot;array\u0026quot;, \u0026quot;description\u0026quot;: \u0026quot;Each line item\u0026quot;, \u0026quot;items\u0026quot;: { \u0026quot;type\u0026quot;: \u0026quot;object\u0026quot;, \u0026quot;properties\u0026quot;: { \u0026quot;description\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;string\u0026quot;}, \u0026quot;quantity\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;integer\u0026quot;}, \u0026quot;unit_price\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;number\u0026quot;} } } } } Supported types: string, number, integer, boolean, array, object Supported formats: PDF, DOCX, XLSX, PPTX, CSV, images (JPG, PNG), and any file type supported by the markdown conversion endpoint. Vision mode: For images or scanned documents, set use_vision=true for highest accuracy on visual content.\">\u003cmeta data-mint-head name=\"application-name\" content=\"The Drive AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/thedriveai/OKDmHqZLcGHpxgyK/_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/thedriveai/OKDmHqZLcGHpxgyK/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/thedriveai/OKDmHqZLcGHpxgyK/_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/thedriveai/OKDmHqZLcGHpxgyK/_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/thedriveai/OKDmHqZLcGHpxgyK/_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/thedriveai/OKDmHqZLcGHpxgyK/_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/thedriveai/OKDmHqZLcGHpxgyK/_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/thedriveai/OKDmHqZLcGHpxgyK/_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/thedriveai/OKDmHqZLcGHpxgyK/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Extract Structured Data - The Drive AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Extract structured data from a file or URL using AI. Upload a file (or provide a URL) along with a typed JSON schema describing the fields you want extracted. Each field must have a type and description. Returns structured data matching your schema with guaranteed type conformance. Example schema: json { \u0026quot;invoice_number\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;string\u0026quot;, \u0026quot;description\u0026quot;: \u0026quot;The invoice number\u0026quot;}, \u0026quot;total_amount\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;number\u0026quot;, \u0026quot;description\u0026quot;: \u0026quot;Total amount due\u0026quot;, \u0026quot;required\u0026quot;: true}, \u0026quot;status\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;string\u0026quot;, \u0026quot;enum\u0026quot;: [\u0026quot;paid\u0026quot;, \u0026quot;unpaid\u0026quot;, \u0026quot;overdue\u0026quot;]}, \u0026quot;line_items\u0026quot;: { \u0026quot;type\u0026quot;: \u0026quot;array\u0026quot;, \u0026quot;description\u0026quot;: \u0026quot;Each line item\u0026quot;, \u0026quot;items\u0026quot;: { \u0026quot;type\u0026quot;: \u0026quot;object\u0026quot;, \u0026quot;properties\u0026quot;: { \u0026quot;description\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;string\u0026quot;}, \u0026quot;quantity\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;integer\u0026quot;}, \u0026quot;unit_price\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;number\u0026quot;} } } } } Supported types: string, number, integer, boolean, array, object Supported formats: PDF, DOCX, XLSX, PPTX, CSV, images (JPG, PNG), and any file type supported by the markdown conversion endpoint. Vision mode: For images or scanned documents, set use_vision=true for highest accuracy on visual content.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"The Drive AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.thedrive.ai/api-reference/extraction/extract-structured-data\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://thedrive.ai/cover.png\">\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 Structured Data - The Drive AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Extract structured data from a file or URL using AI. Upload a file (or provide a URL) along with a typed JSON schema describing the fields you want extracted. Each field must have a type and description. Returns structured data matching your schema with guaranteed type conformance. Example schema: json { \u0026quot;invoice_number\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;string\u0026quot;, \u0026quot;description\u0026quot;: \u0026quot;The invoice number\u0026quot;}, \u0026quot;total_amount\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;number\u0026quot;, \u0026quot;description\u0026quot;: \u0026quot;Total amount due\u0026quot;, \u0026quot;required\u0026quot;: true}, \u0026quot;status\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;string\u0026quot;, \u0026quot;enum\u0026quot;: [\u0026quot;paid\u0026quot;, \u0026quot;unpaid\u0026quot;, \u0026quot;overdue\u0026quot;]}, \u0026quot;line_items\u0026quot;: { \u0026quot;type\u0026quot;: \u0026quot;array\u0026quot;, \u0026quot;description\u0026quot;: \u0026quot;Each line item\u0026quot;, \u0026quot;items\u0026quot;: { \u0026quot;type\u0026quot;: \u0026quot;object\u0026quot;, \u0026quot;properties\u0026quot;: { \u0026quot;description\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;string\u0026quot;}, \u0026quot;quantity\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;integer\u0026quot;}, \u0026quot;unit_price\u0026quot;: {\u0026quot;type\u0026quot;: \u0026quot;number\u0026quot;} } } } } Supported types: string, number, integer, boolean, array, object Supported formats: PDF, DOCX, XLSX, PPTX, CSV, images (JPG, PNG), and any file type supported by the markdown conversion endpoint. Vision mode: For images or scanned documents, set use_vision=true for highest accuracy on visual content.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://thedrive.ai/cover.png\">\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/thedriveai/OKDmHqZLcGHpxgyK/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"The Drive AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366F1\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.thedrive.ai/api-reference/extraction/extract-structured-data\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/extraction/extract-structured-data.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.thedrive.ai/#organization\",\"name\":\"The Drive AI\",\"url\":\"https://docs.thedrive.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/thedriveai/7p_tCtj9qAPOIRij/logo/light.svg?fit=max\u0026auto=format\u0026n=7p_tCtj9qAPOIRij\u0026q=85\u0026s=729f2cc138ce2a3bfb9f73b9dcfc25b1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.thedrive.ai#website\",\"name\":\"The Drive AI\",\"url\":\"https://docs.thedrive.ai\",\"publisher\":{\"@id\":\"https://docs.thedrive.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.thedrive.ai/api-reference/extraction/extract-structured-data#webpage\",\"url\":\"https://docs.thedrive.ai/api-reference/extraction/extract-structured-data\",\"name\":\"Extract Structured Data\",\"description\":\"Extract structured data from a file or URL using AI. Upload a file (or provide a URL) along with a typed JSON schema describing the fields you want extracted. Each field must have a type and description. Returns structured data matching your schema with guaranteed type conformance. Example schema: json { \\\"invoice_number\\\": {\\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"The invoice number\\\"}, \\\"total_amount\\\": {\\\"type\\\": \\\"number\\\", \\\"description\\\": \\\"Total amount due\\\", \\\"required\\\": true}, \\\"status\\\": {\\\"type\\\": \\\"string\\\", \\\"enum\\\": [\\\"paid\\\", \\\"unpaid\\\", \\\"overdue\\\"]}, \\\"line_items\\\": { \\\"type\\\": \\\"array\\\", \\\"description\\\": \\\"Each line item\\\", \\\"items\\\": { \\\"type\\\": \\\"object\\\", \\\"properties\\\": { \\\"description\\\": {\\\"type\\\": \\\"string\\\"}, \\\"quantity\\\": {\\\"type\\\": \\\"integer\\\"}, \\\"unit_price\\\": {\\\"type\\\": \\\"number\\\"} } } } } Supported types: string, number, integer, boolean, array, object Supported formats: PDF, DOCX, XLSX, PPTX, CSV, images (JPG, PNG), and any file type supported by the markdown conversion endpoint. Vision mode: For images or scanned documents, set use_vision=true for highest accuracy on visual content.\",\"dateModified\":\"2026-10-06T05:02:03.685Z\",\"isPartOf\":{\"@id\":\"https://docs.thedrive.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.thedrive.ai/api-reference/extraction/extract-structured-data#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.thedrive.ai/api-reference/extraction/extract-structured-data#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"The Drive AI\",\"item\":\"https://docs.thedrive.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Extract Structured Data\",\"item\":\"https://docs.thedrive.ai/api-reference/extraction/extract-structured-data\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.thedrive.ai/api-reference/extraction/extract-structured-data#apireference\",\"headline\":\"Extract Structured Data\",\"name\":\"Extract Structured Data\",\"description\":\"Extract structured data from a file or URL using AI. Upload a file (or provide a URL) along with a typed JSON schema describing the fields you want extracted. Each field must have a type and description. Returns structured data matching your schema with guaranteed type conformance. Example schema: json { \\\"invoice_number\\\": {\\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"The invoice number\\\"}, \\\"total_amount\\\": {\\\"type\\\": \\\"number\\\", \\\"description\\\": \\\"Total amount due\\\", \\\"required\\\": true}, \\\"status\\\": {\\\"type\\\": \\\"string\\\", \\\"enum\\\": [\\\"paid\\\", \\\"unpaid\\\", \\\"overdue\\\"]}, \\\"line_items\\\": { \\\"type\\\": \\\"array\\\", \\\"description\\\": \\\"Each line item\\\", \\\"items\\\": { \\\"type\\\": \\\"object\\\", \\\"properties\\\": { \\\"description\\\": {\\\"type\\\": \\\"string\\\"}, \\\"quantity\\\": {\\\"type\\\": \\\"integer\\\"}, \\\"unit_price\\\": {\\\"type\\\": \\\"number\\\"} } } } } Supported types: string, number, integer, boolean, array, object Supported formats: PDF, DOCX, XLSX, PPTX, CSV, images (JPG, PNG), and any file type supported by the markdown conversion endpoint. Vision mode: For images or scanned documents, set use_vision=true for highest accuracy on visual content.\",\"url\":\"https://docs.thedrive.ai/api-reference/extraction/extract-structured-data\",\"mainEntityOfPage\":{\"@id\":\"https://docs.thedrive.ai/api-reference/extraction/extract-structured-data#webpage\"},\"image\":\"https://thedrive.ai/cover.png\",\"dateModified\":\"2026-10-06T05:02:03.685Z\",\"publisher\":{\"@id\":\"https://docs.thedrive.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.thedrive.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"The Drive AI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"The Drive AI","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://thedrive.ai"},{"anchor":"Discord","icon":"discord","href":"https://discord.com/invite/mCnxKxyxPC"},{"anchor":"MCP Server","icon":"plug","href":"https://thedrive.ai/mcp"},{"anchor":"Android App","icon":"android","href":"https://play.google.com/store/apps/details?id=com.bigyankarki.thedriveai\u0026referrer=utm_source%3Ddocs%26utm_medium%3Ddocs%26utm_campaign%3Dandroid_launch"},{"anchor":"iOS App","icon":"apple","href":"https://apps.apple.com/us/app/the-drive-ai-file-organizer/id6758524851"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting-started/introduction"}]},{"tab":"Developer API","groups":[{"group":"Getting Started","pages":[{"title":"Developer Platform","href":"/developer/introduction"},{"title":"Quickstart","href":"/developer/quickstart"},{"title":"Schemas","href":"/developer/schemas"}]},{"group":"Guides","pages":[{"title":"Analyze","href":"/developer/analyze"},{"title":"Decide","href":"/developer/decide"},{"title":"Cross-Analyze","href":"/developer/cross-analyze"},{"title":"Async \u0026 Webhooks","description":"Process documents asynchronously with webhook notifications","href":"/developer/webhooks"}]},{"group":"Extraction","pages":[{"title":"Extract Structured Data","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/extract","href":"/api-reference/extraction/extract-structured-data"},{"title":"Batch Extract","description":"Submit multiple files or URLs for extraction with a single schema.\nEach item is processed concurrently. Returns a batch_id to poll.\n\n**Poll**: `GET /api/v1/jobs/batch/{batch_id}`\n\n**Limits**: Maximum 20 items per batch.","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/extract/batch","href":"/api-reference/batch/batch-extract"}]},{"group":"Analysis","pages":[{"title":"Analyze Document","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/analyze","href":"/api-reference/analysis/analyze-document"},{"title":"Cross-Document Analysis","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/analyze/cross","href":"/api-reference/analysis/cross-document-analysis"},{"title":"Batch Analyze","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/analyze/batch","href":"/api-reference/batch/batch-analyze"}]},{"group":"Decision","pages":[{"title":"Make a Decision","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/decide","href":"/api-reference/decision/make-a-decision"}]},{"group":"Utilities","pages":[{"title":"Convert to Markdown","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/markdown/convert","href":"/api-reference/markdown/convert-to-markdown"},{"title":"Generate Thumbnail","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/thumbnails/generate","href":"/api-reference/thumbnails/generate-thumbnail"}]},{"group":"Jobs \u0026 Webhooks","pages":[{"title":"Get Task Status","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/jobs/{task_id}","href":"/api-reference/jobs/get-task-status"},{"title":"Get Batch Status","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/jobs/batch/{batch_id}","href":"/api-reference/jobs/get-batch-status"},{"title":"Get Webhook Deliveries","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/jobs/{task_id}/deliveries","href":"/api-reference/jobs/get-webhook-deliveries"}]}]}]},"basePath":"","title":"Extract Structured Data - The Drive AI","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}