---
title: "List extraction attempts for a document"
method: GET
path: "/documents/{document_id}/attempts"
tags: ["Extraction Attempts"]
---

# List extraction attempts for a document

`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

Review every extraction attempt for a document, newest first, including status, timing, extracted output, and failure details. Use [Get document](/docs/documents/documents/document_id/get) for the source document and [Get job](/docs/jobs/jobs/job_id/get) for its extraction job.

## Path parameters

- `document_id` string, required

## Response `200`

Success

- object[]
  - `id` number, required
  - `document_id` number, required
  - `job_id` number, nullable, required
  - `workflow_instance_id` string, required
  - `workflow_type` string, required
  - `status` string, required
  - `extracted_data` unknown
  - `error_message` string, nullable, required
  - `error_details` string, nullable, required
  - `attempt_number` number, required
  - `started_at` string, nullable, required
  - `completed_at` string, nullable, required
  - `processing_duration_ms` number, nullable, required
  - `table_id` string, required
  - `tableName` string, nullable, required
  - `created_at` string, nullable, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `500`: Workflow error

---

[API](https://skmtc.dev/pdfparse/apis/pdfparse-api.md) · [All operations](https://skmtc.dev/pdfparse/apis/pdfparse-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pdfparse/apis/pdfparse-api/revisions/fb9f7c930c6d?raw)
