curl --location --request GET 'https://api-prod.extend.app/processor_runs/dpr_1234' \
--header 'Authorization: Bearer <API_TOKEN>'
{
"success": true,
"processorRun": {
"object": "document_processor_run",
"id": "dpr_1234",
"processorId": "dp_5678",
"processorVersionId": "dpv_91011",
"processorName": "Invoice Extractor",
"status": "PROCESSED",
"metadata": {
"internal_id": "id_1234"
},
"reviewed": true,
"edited": true,
"edits": {
"total_amount": {
"originalValue": "1000.00",
"editedValue": "1100.00",
"fieldType": "currency",
"notes": "Corrected after tax calculation"
}
},
"type": "EXTRACT",
"config": {
// Config object - see “Processor configs” for details
},
"initialOutput": {
// Output object - see “Processor output types” for details
},
"reviewedOutput": {
// Output object - see “Processor output types” for details
},
"output": {
// Output object - see “Processor output types” for details
},
"files": [
{
"name": "invoice.pdf"
}
],
"url": "https://platform.extend.app/processor-runs/dpr_1234"
}
}
Retrieve details about a specific processor run, including its status, outputs, and any edits made during review.
curl --location --request GET 'https://api-prod.extend.app/processor_runs/dpr_1234' \
--header 'Authorization: Bearer <API_TOKEN>'
{
"success": true,
"processorRun": {
"object": "document_processor_run",
"id": "dpr_1234",
"processorId": "dp_5678",
"processorVersionId": "dpv_91011",
"processorName": "Invoice Extractor",
"status": "PROCESSED",
"metadata": {
"internal_id": "id_1234"
},
"reviewed": true,
"edited": true,
"edits": {
"total_amount": {
"originalValue": "1000.00",
"editedValue": "1100.00",
"fieldType": "currency",
"notes": "Corrected after tax calculation"
}
},
"type": "EXTRACT",
"config": {
// Config object - see “Processor configs” for details
},
"initialOutput": {
// Output object - see “Processor output types” for details
},
"reviewedOutput": {
// Output object - see “Processor output types” for details
},
"output": {
// Output object - see “Processor output types” for details
},
"files": [
{
"name": "invoice.pdf"
}
],
"url": "https://platform.extend.app/processor-runs/dpr_1234"
}
}
curl --location --request GET 'https://api-prod.extend.app/processor_runs/dpr_1234' \
--header 'Authorization: Bearer <API_TOKEN>'
{
"success": true,
"processorRun": {
"object": "document_processor_run",
"id": "dpr_1234",
"processorId": "dp_5678",
"processorVersionId": "dpv_91011",
"processorName": "Invoice Extractor",
"status": "PROCESSED",
"metadata": {
"internal_id": "id_1234"
},
"reviewed": true,
"edited": true,
"edits": {
"total_amount": {
"originalValue": "1000.00",
"editedValue": "1100.00",
"fieldType": "currency",
"notes": "Corrected after tax calculation"
}
},
"type": "EXTRACT",
"config": {
// Config object - see “Processor configs” for details
},
"initialOutput": {
// Output object - see “Processor output types” for details
},
"reviewedOutput": {
// Output object - see “Processor output types” for details
},
"output": {
// Output object - see “Processor output types” for details
},
"files": [
{
"name": "invoice.pdf"
}
],
"url": "https://platform.extend.app/processor-runs/dpr_1234"
}
}