Extraction Attempts

List extraction attempts for a document

Review every extraction attempt for a document, newest first, including status, timing, extracted output, and failure details. Use Get document for the source document and Get job for its extraction job.

get/documents/{document_id}/attempts

Request

  • Base URL: https://api.pdfparse.net/v1
  • URL: https://api.pdfparse.net/v1/documents/{document_id}/attempts
  • Auth: HTTP bearer

Path parameters

document_idstring required

Response

Success

idnumber required
document_idnumber required
job_idnumber nullable required
workflow_instance_idstring required
workflow_typestring required
statusstring required
extracted_dataunknown
error_messagestring nullable required
error_detailsstring nullable required
attempt_numbernumber required
started_atstring nullable required
completed_atstring nullable required
processing_duration_msnumber nullable required
table_idstring required
tableNamestring nullable required
created_atstring nullable required

Example response

[
  {
    "id": 42,
    "document_id": 128,
    "job_id": 73,
    "workflow_instance_id": "extract-01J9X2F6A8",
    "workflow_type": "document-extraction",
    "status": "completed",
    "extracted_data": {
      "invoice_number": "INV-1042",
      "total": 184.5
    },
    "attempt_number": 1,
    "started_at": "2026-09-06T14:31:02.000Z",
    "completed_at": "2026-09-06T14:31:08.000Z",
    "processing_duration_ms": 6234,
    "table_id": "01J9X1ZT5TQ1W0R7NM7GX3A2V5",
    "tableName": "Invoices",
    "created_at": "2026-09-06T14:31:02.000Z"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.