API Key authentication. Format: dk_test_ or dk_live_
Path Parameters
job_id
string<uuid>
required
UUID of the extraction job
Response
Full extraction results with classification and field metadata
Full job result with classification and extraction data.
job_id
string<uuid>
required
Extraction job identifier
document_id
string<uuid>
required
Source document identifier
status
string
required
Job status
Allowed value: "completed"
classification
ClassificationResponse · object | null
Classification result with reasoning
Show child attributes
Example:
{ "citation": "CAPITAL CALL NOTICE - Fund IV, L.P.", "citation_page": 1, "confidence": 0.95, "document_type": "capital_call", "reasoning": "Document is a capital call notice from a private equity fund." }
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"DocIntelll","colors":{"primary":"#2563eb","light":"#3b82f6","dark":"#4338ca"},"logo":{"light":"https://mintcdn.com/mathwerkllc/bWlWpO0IYgIfBA3d/logo/light.svg?fit=max\u0026auto=format\u0026n=bWlWpO0IYgIfBA3d\u0026q=85\u0026s=62bf8cc456e7cf525a607ea30bbcd38b","dark":"https://mintcdn.com/mathwerkllc/bWlWpO0IYgIfBA3d/logo/dark.svg?fit=max\u0026auto=format\u0026n=bWlWpO0IYgIfBA3d\u0026q=85\u0026s=091a7f16a03595cc62012ba674440976"},"favicon":"/favicon.svg","api":{"playground":{}},"navbar":{"links":[{"label":"Support","href":"mailto:support@docintell.com"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.docintell.com"}},"footer":{"socials":{"x":"https://x.com/docintell","github":"https://github.com/docintell","linkedin":"https://linkedin.com/company/docintell"}},"seo":{},"contextual":{"options":["copy","view","chatgpt","claude"]},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mathwerkllc","hasAudioNarration":false,"actualSubdomain":"mathwerkllc","customDomains":["docs.docintell.com"],"gitSource":{"type":"github","owner":"ged1182","repo":"doc2data","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae942f5cb5b4dc42461c2d6:success","clientVersion":"0.0.4352","searchFilterCounts":[{"language":"default","tag":"API Reference","count":36},{"language":"default","tag":"Guides","count":29},{"language":"default","tag":"webhooks","count":7},{"language":"default","tag":"jobs","count":5},{"language":"default","tag":"views","count":5},{"language":"default","tag":"SDKs \u0026 Examples","count":4},{"language":"default","tag":"api_keys","count":4},{"language":"default","tag":"documents","count":4},{"language":"default","tag":"stats","count":4},{"language":"default","tag":"Getting Started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/jobs/get-job-extraction-results","slug":"/api-reference/jobs/get-job-extraction-results","pageMetadata":{"title":"Get job extraction results","description":"Retrieve full extraction results for a completed job.\n\nReturns classification and extraction data with field-level metadata including\nconfidence scores, page numbers, and location hints.\n\nArgs:\n job_id: UUID of the extraction job to retrieve results for.\n session_and_auth: Database session and auth context (injected).\n\nReturns:\n JobResultResponse: Classification and extraction results with metadata.\n\nRaises:\n HTTPException 404: Job not found or not accessible by tenant.\n HTTPException 400: Job not completed (status must be 'completed').\n\nNotes:\n - Confidence scores are self-reported by LLM and directionally useful\n but not calibrated (90% confidence != 90% accuracy)\n - Field metadata includes page numbers and location hints for provenance\n - For unknown document types, extraction may be null","deprecated":null,"version":null,"openapi":"openapi.json get /v1/jobs/{job_id}/results","href":"/api-reference/jobs/get-job-extraction-results","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 li: \"li\",\n p: \"p\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Retrieve full extraction results for a completed job.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Returns classification and extraction data with field-level metadata including\\nconfidence scores, page numbers, and location hints.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Args:\\njob_id: UUID of the extraction job to retrieve results for.\\nsession_and_auth: Database session and auth context (injected).\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Returns:\\nJobResultResponse: Classification and extraction results with metadata.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Raises:\\nHTTPException 404: Job not found or not accessible by tenant.\\nHTTPException 400: Job not completed (status must be ‘completed’).\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Notes:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Confidence scores are self-reported by LLM and directionally useful\\nbut not calibrated (90% confidence != 90% accuracy)\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Field metadata includes page numbers and location hints for provenance\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"For unknown document types, extraction may be null\"\n }), \"\\n\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get job extraction results","description":"Retrieve full extraction results for a completed job.\n\nReturns classification and extraction data with field-level metadata including\nconfidence scores, page numbers, and location hints.\n\nArgs:\n job_id: UUID of the extraction job to retrieve results for.\n session_and_auth: Database session and auth context (injected).\n\nReturns:\n JobResultResponse: Classification and extraction results with metadata.\n\nRaises:\n HTTPException 404: Job not found or not accessible by tenant.\n HTTPException 400: Job not completed (status must be 'completed').\n\nNotes:\n - Confidence scores are self-reported by LLM and directionally useful\n but not calibrated (90% confidence != 90% accuracy)\n - Field metadata includes page numbers and location hints for provenance\n - For unknown document types, extraction may be null","deprecated":null,"version":null,"openapi":"openapi.json get /v1/jobs/{job_id}/results","href":"/api-reference/jobs/get-job-extraction-results","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["jobs"],"summary":"Get job extraction results","description":"Retrieve full extraction results for a completed job.\n\nReturns classification and extraction data with field-level metadata including\nconfidence scores, page numbers, and location hints.\n\nArgs:\n job_id: UUID of the extraction job to retrieve results for.\n session_and_auth: Database session and auth context (injected).\n\nReturns:\n JobResultResponse: Classification and extraction results with metadata.\n\nRaises:\n HTTPException 404: Job not found or not accessible by tenant.\n HTTPException 400: Job not completed (status must be 'completed').\n\nNotes:\n - Confidence scores are self-reported by LLM and directionally useful\n but not calibrated (90% confidence != 90% accuracy)\n - Field metadata includes page numbers and location hints for provenance\n - For unknown document types, extraction may be null","operationId":"get_job_results_v1_jobs__job_id__results_get","parameters":["9aa27f39-ee0c-4a5a-b4fd-7cdbf82a2e56"],"responses":{"200":"48bc9b4f-d6da-476b-a841-95d6983d017a","422":"30e72f59-f47a-41e0-97a3-4c3245a220d5"},"method":"get","type":"path","servers":["12ef815e-604f-4de8-a441-889c2cfadd14","02038139-6fe7-4be3-9d25-8d7eca0c837a","ba612752-9560-4bdf-84ec-ad9483d7beba"],"security":["1dc92d4c-1856-49a5-8ba1-d91587c24321"],"path":"/v1/jobs/{job_id}/results","baseUrlOptions":["http://localhost:8000","https://api.docintell.com","https://api-staging.docintell.com"],"title":"Get job extraction results","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"9aa27f39-ee0c-4a5a-b4fd-7cdbf82a2e56":{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"UUID of the extraction job","title":"Job Id","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"UUID of the extraction job"}},"responses":{"48bc9b4f-d6da-476b-a841-95d6983d017a":{"description":"Full extraction results with classification and field metadata","content":{"application/json":{"schema":{"properties":{"job_id":{"type":"string","format":"uuid","title":"Job Id","description":"Extraction job identifier","isRequired":true,"uniqueKey":"job_id","typeLabel":"string\u003cuuid>"},"document_id":{"type":"string","format":"uuid","title":"Document Id","description":"Source document identifier","isRequired":true,"uniqueKey":"document_id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","const":"completed","title":"Status","description":"Job status","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"classification":{"oneOf":[{"type":"object","title":"ClassificationResponse","description":"Classification result with reasoning","required":["document_type","confidence","reasoning"],"example":{"citation":"CAPITAL CALL NOTICE - Fund IV, L.P.","citation_page":1,"confidence":0.95,"document_type":"capital_call","reasoning":"Document is a capital call notice from a private equity fund."},"properties":{"document_type":{"type":"string","title":"Document Type","description":"Classified document type code","isRequired":true,"uniqueKey":"classification.oneOf.0.document_type","typeLabel":"string"},"confidence":{"type":"number","maximum":1,"minimum":0,"title":"Confidence","description":"Classification confidence (0-1)","isRequired":true,"uniqueKey":"classification.oneOf.0.confidence","typeLabel":"number"},"reasoning":{"type":"string","title":"Reasoning","description":"1-2 sentence explanation of classification","isRequired":true,"uniqueKey":"classification.oneOf.0.reasoning","typeLabel":"string"},"citation":{"oneOf":[{"type":"string","title":"Citation","description":"Direct quote from document supporting classification","uniqueKey":"classification.oneOf.0.citation.oneOf.0","typeLabel":"string"},{"type":"null","title":"Citation","description":"Direct quote from document supporting classification","uniqueKey":"classification.oneOf.0.citation.oneOf.1","typeLabel":"null"}],"uniqueKey":"classification.oneOf.0.citation","typeLabel":"string | null"},"citation_page":{"oneOf":[{"type":"integer","title":"Citation Page","description":"Page number where citation was found (1-indexed)","minimum":1,"uniqueKey":"classification.oneOf.0.citation_page.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Citation Page","description":"Page number where citation was found (1-indexed)","uniqueKey":"classification.oneOf.0.citation_page.oneOf.1","typeLabel":"null"}],"uniqueKey":"classification.oneOf.0.citation_page","typeLabel":"integer | null"}},"uniqueKey":"classification.oneOf.0","typeLabel":"ClassificationResponse · object"},{"type":"null","description":"Classification result with reasoning","uniqueKey":"classification.oneOf.1","typeLabel":"null"}],"uniqueKey":"classification","typeLabel":"ClassificationResponse · object | null"},"extraction":{"oneOf":[{"type":"object","title":"ExtractionResultResponse","description":"Extraction result with field metadata","required":["document_type","data"],"example":{"data":{"invoice_date":"2024-12-01","invoice_number":"INV-2024-0892","total_amount":1234.56},"document_type":"invoice","extraction_model":"google-vertex:gemini-2.5-flash","field_metadata":{"invoice_number":{"confidence":0.98,"location_hint":"top right header","page_number":1,"raw_text":"INV-2024-0892"}},"page_count":2,"processing_time_ms":3500,"validation":{"hard_violations":[],"is_valid":true,"soft_violations":[]}},"properties":{"document_type":{"type":"string","title":"Document Type","description":"Extracted document type","isRequired":true,"uniqueKey":"extraction.oneOf.0.document_type","typeLabel":"string"},"data":{"additionalProperties":true,"type":"object","title":"Data","description":"Extracted fields as key-value pairs","isRequired":true,"uniqueKey":"extraction.oneOf.0.data","typeLabel":"Data · object"},"page_count":{"oneOf":[{"type":"integer","title":"Page Count","description":"Number of pages in document","uniqueKey":"extraction.oneOf.0.page_count.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Page Count","description":"Number of pages in document","uniqueKey":"extraction.oneOf.0.page_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"extraction.oneOf.0.page_count","typeLabel":"integer | null"},"extraction_model":{"oneOf":[{"type":"string","title":"Extraction Model","description":"LLM model used","uniqueKey":"extraction.oneOf.0.extraction_model.oneOf.0","typeLabel":"string"},{"type":"null","title":"Extraction Model","description":"LLM model used","uniqueKey":"extraction.oneOf.0.extraction_model.oneOf.1","typeLabel":"null"}],"uniqueKey":"extraction.oneOf.0.extraction_model","typeLabel":"string | null"},"processing_time_ms":{"oneOf":[{"type":"integer","title":"Processing Time Ms","description":"Processing time in milliseconds","uniqueKey":"extraction.oneOf.0.processing_time_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Processing Time Ms","description":"Processing time in milliseconds","uniqueKey":"extraction.oneOf.0.processing_time_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"extraction.oneOf.0.processing_time_ms","typeLabel":"integer | null"},"field_metadata":{"additionalProperties":{"properties":{"confidence":{"oneOf":[{"type":"number","title":"Confidence","description":"Self-reported confidence (0-1, directionally useful)","maximum":1,"minimum":0,"uniqueKey":"extraction.oneOf.0.field_metadata.additionalProperties.confidence.oneOf.0","typeLabel":"number"},{"type":"null","title":"Confidence","description":"Self-reported confidence (0-1, directionally useful)","uniqueKey":"extraction.oneOf.0.field_metadata.additionalProperties.confidence.oneOf.1","typeLabel":"null"}],"uniqueKey":"extraction.oneOf.0.field_metadata.additionalProperties.confidence","typeLabel":"number | null"},"page_number":{"oneOf":[{"type":"integer","title":"Page Number","description":"Page where found (1-indexed)","minimum":1,"uniqueKey":"extraction.oneOf.0.field_metadata.additionalProperties.page_number.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Page Number","description":"Page where found (1-indexed)","uniqueKey":"extraction.oneOf.0.field_metadata.additionalProperties.page_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"extraction.oneOf.0.field_metadata.additionalProperties.page_number","typeLabel":"integer | null"},"location_hint":{"oneOf":[{"type":"string","title":"Location Hint","description":"Qualitative location description","uniqueKey":"extraction.oneOf.0.field_metadata.additionalProperties.location_hint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Location Hint","description":"Qualitative location description","uniqueKey":"extraction.oneOf.0.field_metadata.additionalProperties.location_hint.oneOf.1","typeLabel":"null"}],"uniqueKey":"extraction.oneOf.0.field_metadata.additionalProperties.location_hint","typeLabel":"string | null"},"raw_text":{"oneOf":[{"type":"string","title":"Raw Text","description":"Original text as it appeared","uniqueKey":"extraction.oneOf.0.field_metadata.additionalProperties.raw_text.oneOf.0","typeLabel":"string"},{"type":"null","title":"Raw Text","description":"Original text as it appeared","uniqueKey":"extraction.oneOf.0.field_metadata.additionalProperties.raw_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"extraction.oneOf.0.field_metadata.additionalProperties.raw_text","typeLabel":"string | null"},"extraction_notes":{"oneOf":[{"type":"string","title":"Extraction Notes","description":"Extraction issues or notes","uniqueKey":"extraction.oneOf.0.field_metadata.additionalProperties.extraction_notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Extraction Notes","description":"Extraction issues or notes","uniqueKey":"extraction.oneOf.0.field_metadata.additionalProperties.extraction_notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"extraction.oneOf.0.field_metadata.additionalProperties.extraction_notes","typeLabel":"string | null"}},"type":"object","title":"FieldMetadataResponse","description":"Metadata for an extracted field.","examples":[{"confidence":0.95,"location_hint":"top right header","page_number":1,"raw_text":"INV-2024-0892"}],"uniqueKey":"extraction.oneOf.0.field_metadata.additionalProperties","typeLabel":"FieldMetadataResponse · object"},"type":"object","title":"Field Metadata","description":"Per-field metadata","uniqueKey":"extraction.oneOf.0.field_metadata","typeLabel":"Field Metadata · object"},"validation":{"additionalProperties":true,"type":"object","title":"Validation","description":"Validation results","uniqueKey":"extraction.oneOf.0.validation","typeLabel":"Validation · object"}},"uniqueKey":"extraction.oneOf.0","typeLabel":"ExtractionResultResponse · object"},{"type":"null","description":"Extraction result with field metadata","uniqueKey":"extraction.oneOf.1","typeLabel":"null"}],"uniqueKey":"extraction","typeLabel":"ExtractionResultResponse · object | null"}},"type":"object","required":["job_id","document_id","status"],"title":"JobResultResponse","description":"Full job result with classification and extraction data.","examples":[{"classification":{"citation":"INVOICE","citation_page":1,"confidence":0.95,"document_type":"invoice","reasoning":"Document is a vendor invoice with itemized charges."},"document_id":"6789def0-abcd-4567-ef01-23456789abcd","extraction":{"data":{"invoice_number":"INV-2024-0892"},"document_type":"invoice","field_metadata":{},"page_count":2,"validation":{"is_valid":true}},"job_id":"550e8400-e29b-41d4-a716-446655440000","status":"completed"}],"uniqueKey":"","typeLabel":"JobResultResponse · object"},"examples":{"Example":{"title":"Example","value":{"classification":{"citation":"INVOICE","citation_page":1,"confidence":0.95,"document_type":"invoice","reasoning":"Document is a vendor invoice with itemized charges."},"document_id":"6789def0-abcd-4567-ef01-23456789abcd","extraction":{"data":{"invoice_number":"INV-2024-0892"},"document_type":"invoice","field_metadata":{},"page_count":2,"validation":{"is_valid":true}},"job_id":"550e8400-e29b-41d4-a716-446655440000","status":"completed"}}},"exampleType":"generated"}},"exampleType":"generated"},"30e72f59-f47a-41e0-97a3-4c3245a220d5":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"1dc92d4c-1856-49a5-8ba1-d91587c24321":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"API Key authentication. Format: dk_test_\u003ckey> or dk_live_\u003ckey>","scopes":[]}}},"servers":{"12ef815e-604f-4de8-a441-889c2cfadd14":{"url":"http://localhost:8000","description":"Local development"},"02038139-6fe7-4be3-9d25-8d7eca0c837a":{"url":"https://api.docintell.com","description":"Production API"},"ba612752-9560-4bdf-84ec-ad9483d7beba":{"url":"https://api-staging.docintell.com","description":"Staging environment"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"API Key authentication. Format: dk_test_\u003ckey> or dk_live_\u003ckey>","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API Key authentication. Format: dk_test_\u003ckey> or dk_live_\u003ckey>","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"mathwerkllc","siteName":"DocIntelll","title":"Get job extraction results - DocIntelll","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-12-14T23:24:04.692Z","originalFileLocation":"api-reference/jobs/get-job-extraction-results.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=\"Retrieve full extraction results for a completed job. Returns classification and extraction data with field-level metadata including confidence scores, page numbers, and location hints. Args: job_id: UUID of the extraction job to retrieve results for. session_and_auth: Database session and auth context (injected). Returns: JobResultResponse: Classification and extraction results with metadata. Raises: HTTPException 404: Job not found or not accessible by tenant. HTTPException 400: Job not completed (status must be \u0026#x27;completed\u0026#x27;). Notes: - Confidence scores are self-reported by LLM and directionally useful but not calibrated (90% confidence != 90% accuracy) - Field metadata includes page numbers and location hints for provenance - For unknown document types, extraction may be null\">\u003cmeta data-mint-head name=\"application-name\" content=\"DocIntelll\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mathwerkllc/C30PPlZdMUTYYcr4/_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/mathwerkllc/C30PPlZdMUTYYcr4/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mathwerkllc/C30PPlZdMUTYYcr4/_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/mathwerkllc/C30PPlZdMUTYYcr4/_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/mathwerkllc/C30PPlZdMUTYYcr4/_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/mathwerkllc/C30PPlZdMUTYYcr4/_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/mathwerkllc/C30PPlZdMUTYYcr4/_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/mathwerkllc/C30PPlZdMUTYYcr4/_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/mathwerkllc/C30PPlZdMUTYYcr4/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get job extraction results - DocIntelll\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve full extraction results for a completed job. Returns classification and extraction data with field-level metadata including confidence scores, page numbers, and location hints. Args: job_id: UUID of the extraction job to retrieve results for. session_and_auth: Database session and auth context (injected). Returns: JobResultResponse: Classification and extraction results with metadata. Raises: HTTPException 404: Job not found or not accessible by tenant. HTTPException 400: Job not completed (status must be \u0026#x27;completed\u0026#x27;). Notes: - Confidence scores are self-reported by LLM and directionally useful but not calibrated (90% confidence != 90% accuracy) - Field metadata includes page numbers and location hints for provenance - For unknown document types, extraction may be null\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"DocIntelll\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.docintell.com/api-reference/jobs/get-job-extraction-results\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mathwerkllc.mintlify.site/_mintlify/api/og/v2?division=jobs\u0026amp;title=Get+job+extraction+results\u0026amp;description=Retrieve+full+extraction+results+for+a+completed+job.%0A%0AReturns+classification+and+extraction+data+with+field-level+metadata+including%0Aconfidence+scores%2C+page+nu\u0026amp;theme=81b49b9b752cac9afde97b4c\u0026amp;signature=e937a747f1dcdfd19795347b0d49bcd909e8cc4b7aec8a9fdbc62b40d1e1df6c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get job extraction results - DocIntelll\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve full extraction results for a completed job. Returns classification and extraction data with field-level metadata including confidence scores, page numbers, and location hints. Args: job_id: UUID of the extraction job to retrieve results for. session_and_auth: Database session and auth context (injected). Returns: JobResultResponse: Classification and extraction results with metadata. Raises: HTTPException 404: Job not found or not accessible by tenant. HTTPException 400: Job not completed (status must be \u0026#x27;completed\u0026#x27;). Notes: - Confidence scores are self-reported by LLM and directionally useful but not calibrated (90% confidence != 90% accuracy) - Field metadata includes page numbers and location hints for provenance - For unknown document types, extraction may be null\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mathwerkllc.mintlify.site/_mintlify/api/og/v2?division=jobs\u0026amp;title=Get+job+extraction+results\u0026amp;description=Retrieve+full+extraction+results+for+a+completed+job.%0A%0AReturns+classification+and+extraction+data+with+field-level+metadata+including%0Aconfidence+scores%2C+page+nu\u0026amp;theme=81b49b9b752cac9afde97b4c\u0026amp;signature=e937a747f1dcdfd19795347b0d49bcd909e8cc4b7aec8a9fdbc62b40d1e1df6c\">\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/mathwerkllc/C30PPlZdMUTYYcr4/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"DocIntelll\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563eb\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.docintell.com/api-reference/jobs/get-job-extraction-results\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/jobs/get-job-extraction-results.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.docintell.com/#organization\",\"name\":\"DocIntelll\",\"url\":\"https://docs.docintell.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mathwerkllc/bWlWpO0IYgIfBA3d/logo/light.svg?fit=max\u0026auto=format\u0026n=bWlWpO0IYgIfBA3d\u0026q=85\u0026s=62bf8cc456e7cf525a607ea30bbcd38b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.docintell.com#website\",\"name\":\"DocIntelll\",\"url\":\"https://docs.docintell.com\",\"publisher\":{\"@id\":\"https://docs.docintell.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.docintell.com/api-reference/jobs/get-job-extraction-results#webpage\",\"url\":\"https://docs.docintell.com/api-reference/jobs/get-job-extraction-results\",\"name\":\"Get job extraction results\",\"description\":\"Retrieve full extraction results for a completed job. Returns classification and extraction data with field-level metadata including confidence scores, page numbers, and location hints. Args: job_id: UUID of the extraction job to retrieve results for. session_and_auth: Database session and auth context (injected). Returns: JobResultResponse: Classification and extraction results with metadata. Raises: HTTPException 404: Job not found or not accessible by tenant. HTTPException 400: Job not completed (status must be 'completed'). Notes: - Confidence scores are self-reported by LLM and directionally useful but not calibrated (90% confidence != 90% accuracy) - Field metadata includes page numbers and location hints for provenance - For unknown document types, extraction may be null\",\"dateModified\":\"2025-12-14T23:24:04.692Z\",\"isPartOf\":{\"@id\":\"https://docs.docintell.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.docintell.com/api-reference/jobs/get-job-extraction-results#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.docintell.com/api-reference/jobs/get-job-extraction-results#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"jobs\",\"item\":\"https://docs.docintell.com/api-reference/jobs/get-document-extraction-status\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get job extraction results\",\"item\":\"https://docs.docintell.com/api-reference/jobs/get-job-extraction-results\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.docintell.com/api-reference/jobs/get-job-extraction-results#apireference\",\"headline\":\"Get job extraction results\",\"name\":\"Get job extraction results\",\"description\":\"Retrieve full extraction results for a completed job. Returns classification and extraction data with field-level metadata including confidence scores, page numbers, and location hints. Args: job_id: UUID of the extraction job to retrieve results for. session_and_auth: Database session and auth context (injected). Returns: JobResultResponse: Classification and extraction results with metadata. Raises: HTTPException 404: Job not found or not accessible by tenant. HTTPException 400: Job not completed (status must be 'completed'). Notes: - Confidence scores are self-reported by LLM and directionally useful but not calibrated (90% confidence != 90% accuracy) - Field metadata includes page numbers and location hints for provenance - For unknown document types, extraction may be null\",\"url\":\"https://docs.docintell.com/api-reference/jobs/get-job-extraction-results\",\"mainEntityOfPage\":{\"@id\":\"https://docs.docintell.com/api-reference/jobs/get-job-extraction-results#webpage\"},\"dateModified\":\"2025-12-14T23:24:04.692Z\",\"publisher\":{\"@id\":\"https://docs.docintell.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.docintell.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"DocIntelll\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"DocIntelll\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/jobs/get-job-extraction-results.md","siteName":"DocIntelll","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Root","deprecated":null,"version":null,"openapi":"openapi.json get /","href":"/api-reference/root"}]},{"group":"health","pages":[{"title":"Health check","deprecated":null,"version":null,"openapi":"openapi.json get /health","href":"/api-reference/health/health-check"},{"title":"Health check (Kubernetes convention)","deprecated":null,"version":null,"openapi":"openapi.json get /healthz","href":"/api-reference/health/health-check-kubernetes-convention"}]},{"group":"api_keys","pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"openapi.json get /v1/keys","href":"/api-reference/api_keys/list-api-keys"},{"title":"Create API key","deprecated":null,"version":null,"openapi":"openapi.json post /v1/keys","href":"/api-reference/api_keys/create-api-key"},{"title":"Rotate API key","deprecated":null,"version":null,"openapi":"openapi.json post /v1/keys/rotate","href":"/api-reference/api_keys/rotate-api-key"},{"title":"Revoke API key","deprecated":null,"version":null,"openapi":"openapi.json delete /v1/keys/{key_id}","href":"/api-reference/api_keys/revoke-api-key"}]},{"group":"documents","pages":[{"title":"List all documents","deprecated":null,"version":null,"openapi":"openapi.json get /v1/documents","href":"/api-reference/documents/list-all-documents"},{"title":"Upload a document for extraction","deprecated":null,"version":null,"openapi":"openapi.json post /v1/documents","href":"/api-reference/documents/upload-a-document-for-extraction"},{"title":"Get document details","deprecated":null,"version":null,"openapi":"openapi.json get /v1/documents/{document_id}","href":"/api-reference/documents/get-document-details"},{"title":"Get extracted document data","deprecated":null,"version":null,"openapi":"openapi.json get /v1/documents/{document_id}/data","href":"/api-reference/documents/get-extracted-document-data"}]},{"group":"jobs","pages":[{"title":"Get document extraction status","deprecated":null,"version":null,"openapi":"openapi.json get /v1/documents/{document_id}/status","href":"/api-reference/jobs/get-document-extraction-status"},{"title":"List extraction jobs","deprecated":null,"version":null,"openapi":"openapi.json get /v1/jobs","href":"/api-reference/jobs/list-extraction-jobs"},{"title":"Get job details","description":"Retrieve details for a specific extraction job.\n\nReturns comprehensive information about an extraction job including status,\ntimestamps, processing time, and error messages if applicable.\n\nArgs:\n job_id: UUID of the extraction job to retrieve.\n session_and_auth: Database session and auth context (injected).\n\nReturns:\n JobDetailResponse: Full job details including all timestamps and error info.\n\nRaises:\n HTTPException 404: Job not found or not accessible by tenant.\n\nEdge Cases:\n - **Tenant isolation**: RLS ensures 404 (not 403) for other tenants' jobs.\n - **Null timestamps**: processing_started_at and processing_completed_at\n are null for pending jobs; processing_completed_at is null for processing jobs.\n - **Error messages**: error_message is only populated for failed jobs.\n - **Processing time**: processing_time_seconds is null until job completes.","deprecated":null,"version":null,"openapi":"openapi.json get /v1/jobs/{job_id}","href":"/api-reference/jobs/get-job-details"},{"title":"Get job extraction results","deprecated":null,"version":null,"openapi":"openapi.json get /v1/jobs/{job_id}/results","href":"/api-reference/jobs/get-job-extraction-results"},{"title":"List jobs for a document","description":"List all extraction jobs for a specific document.\n\nReturns the extraction history for a document, including any re-processing attempts.\nJobs are ordered from newest to oldest.\n\nArgs:\n document_id: UUID of the document to list jobs for.\n session_and_auth: Database session and auth context (injected).\n page: Page number (1-indexed). Values \u003c 1 are normalized to 1.\n per_page: Items per page (1-100). Values outside range are clamped.\n\nReturns:\n JobListResponse: Paginated list of jobs for this document.\n\nRaises:\n HTTPException 404: Document not found or not accessible by tenant.\n\nEdge Cases:\n - **Document without jobs**: Document exists but returns empty jobs list (rare).\n - **Re-processing history**: Multiple jobs show extraction history over time.\n - **Latest job**: First item (page=1, index=0) is the most recent job.\n - **Tenant isolation**: Verifies document ownership before listing jobs.","deprecated":null,"version":null,"openapi":"openapi.json get /v1/documents/{document_id}/jobs","href":"/api-reference/jobs/list-jobs-for-a-document"}]},{"group":"document-types","pages":[{"title":"List available document types","deprecated":null,"version":null,"openapi":"openapi.json get /v1/document-types","href":"/api-reference/document-types/list-available-document-types"},{"title":"List document type categories","deprecated":null,"version":null,"openapi":"openapi.json get /v1/document-types/categories","href":"/api-reference/document-types/list-document-type-categories"},{"title":"Get document type details","deprecated":null,"version":null,"openapi":"openapi.json get /v1/document-types/{code}","href":"/api-reference/document-types/get-document-type-details"}]},{"group":"webhooks","pages":[{"title":"List webhook configurations","deprecated":null,"version":null,"openapi":"openapi.json get /v1/webhooks","href":"/api-reference/webhooks/list-webhook-configurations"},{"title":"Create webhook configuration","deprecated":null,"version":null,"openapi":"openapi.json post /v1/webhooks","href":"/api-reference/webhooks/create-webhook-configuration"},{"title":"Get webhook configuration","deprecated":null,"version":null,"openapi":"openapi.json get /v1/webhooks/{webhook_config_id}","href":"/api-reference/webhooks/get-webhook-configuration"},{"title":"Delete webhook configuration","deprecated":null,"version":null,"openapi":"openapi.json delete /v1/webhooks/{webhook_config_id}","href":"/api-reference/webhooks/delete-webhook-configuration"},{"title":"Update webhook configuration","deprecated":null,"version":null,"openapi":"openapi.json patch /v1/webhooks/{webhook_config_id}","href":"/api-reference/webhooks/update-webhook-configuration"},{"title":"Rotate webhook signing secret","deprecated":null,"version":null,"openapi":"openapi.json post /v1/webhooks/{webhook_config_id}/rotate","href":"/api-reference/webhooks/rotate-webhook-signing-secret"},{"title":"Test webhook endpoint","deprecated":null,"version":null,"openapi":"openapi.json post /v1/webhooks/{webhook_config_id}/test","href":"/api-reference/webhooks/test-webhook-endpoint"}]},{"group":"stats","pages":[{"title":"Get stats overview","deprecated":null,"version":null,"openapi":"openapi.json get /v1/stats/overview","href":"/api-reference/stats/get-stats-overview"},{"title":"Get document stats over time","deprecated":null,"version":null,"openapi":"openapi.json get /v1/stats/documents","href":"/api-reference/stats/get-document-stats-over-time"},{"title":"Get job stats over time","deprecated":null,"version":null,"openapi":"openapi.json get /v1/stats/jobs","href":"/api-reference/stats/get-job-stats-over-time"},{"title":"Get processing performance statistics","deprecated":null,"version":null,"openapi":"openapi.json get /v1/stats/processing","href":"/api-reference/stats/get-processing-performance-statistics"}]},{"group":"views","pages":[{"title":"List views","deprecated":null,"version":null,"openapi":"openapi.json get /v1/views","href":"/api-reference/views/list-views"},{"title":"Create a view","deprecated":null,"version":null,"openapi":"openapi.json post /v1/views","href":"/api-reference/views/create-a-view"},{"title":"Get view details","deprecated":null,"version":null,"openapi":"openapi.json get /v1/views/{view_id}","href":"/api-reference/views/get-view-details"},{"title":"Update a view","deprecated":null,"version":null,"openapi":"openapi.json put /v1/views/{view_id}","href":"/api-reference/views/update-a-view"},{"title":"Delete a view","deprecated":null,"version":null,"openapi":"openapi.json delete /v1/views/{view_id}","href":"/api-reference/views/delete-a-view"}]}]}]},"basePath":"","title":"Get job extraction results - DocIntelll","deploymentId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","buildId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B564ZPEC.js","snippetPresets-L1o8HcxD.js","utils-CztB6GTn.js","style-to-object-BY3JEAdk.js","utils-CvVTgJWk.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DYi6_847.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DthbVJn_.js","_Uint8Array-G4MDMcnE.js","isObject-FP1Yky1u.js","ApiExamples-BnQo4SxZ.js","usePlaygroundInputsStore-Dsmj0Yg6.js","shallow-Bp_wEvgz.js","isEqual-BwXlkqOR.js","CodeSnippets-D6Fi8DmN.js","CodeSnippet-DANVAYTI.js","use-playground-group-access-DaUWE1Sg.js","Page-Cwg6gQ2F.js","api-description-markdown-DFvICuUq.js","DynamicMarkdown-DHV3eOcf.js","SectionHeading-DLRZDaDn.js","MethodPill-CgqQYk5N.js","getPastedJson-k_txzq3J.js","Check2Icon-CO8ho5Tt.js","axios-CsQoIw0U.js","Markdown-C8ZpmBko.js","AssistantPageLink-AWAGfbYY.js","dist-CAcI43Vk.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}