Get an extraction by ID (job ID) within the specified project.
Args: project_id: Project ID that the extraction belongs to extraction_id: Extraction ID (job ID) to retrieve
Returns: ExtractionEntity: The extraction details
Raises: HTTPException: If project or extraction not found, or extraction doesn’t belong to project
Documentation Index
Fetch the complete documentation index at: https://docs.gp.scale.com/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication
Selected Account ID
Successful Response
Extraction result response model.
ID of the entity
ID of the project
Source ID that was extracted from
The extraction result
{
"data": {
"invoice_id": {
"citations": [
{
"bbox": {
"height": 0.2058080808080808,
"left": 0.07761437908496732,
"top": 0.42045454545454547,
"width": 0.8415032679738562
},
"content": "INV-2023-001",
"page": 1
}
],
"confidence": 0.95,
"value": "INV-2023-001"
},
"total_amount": {
"citations": [
{
"bbox": {
"height": 0.2058080808080808,
"left": 0.07761437908496732,
"top": 0.42045454545454547,
"width": 0.8415032679738562
},
"content": "119.99",
"page": 1
}
],
"confidence": 0.95,
"value": 119.99
}
}
}Parameters used for extraction
When the extraction was completed
"extraction"Processing time in milliseconds