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:
Documentation Index
Fetch the complete documentation index at: https://docs.docintell.com/llms.txt
Use this file to discover all available pages before exploring further.
API Key authentication. Format: dk_test_ or dk_live_
UUID of the extraction job
Full extraction results with classification and field metadata
Full job result with classification and extraction data.
Extraction job identifier
Source document identifier
Job status
"completed"Classification result with reasoning
{
"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."
}Extraction result with field metadata
{
"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": []
}
}