Skip to main content
GET
/
api
/
v3
/
extract
/
{job_id}
Get the status and result of an async extract job
curl --request GET \
  --url https://api.lighton.ai/api/v3/extract/{job_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "ext_0196e4b2a3c14d5e8f7a9b2c1d0e3f4a",
  "status": "completed",
  "created_at": "2026-03-31T10:00:00+00:00",
  "completed_at": "2026-03-31T10:00:04+00:00",
  "processing_time_ms": 3200,
  "document": {
    "filename": "invoice.pdf",
    "page_count": 3,
    "file_size_bytes": 245120,
    "mime_type": "application/pdf"
  },
  "result": {
    "data": [
      {
        "invoice_number": "INV-2026-001",
        "total": null
      },
      {
        "invoice_number": null,
        "total": 1250
      },
      {
        "invoice_number": null,
        "total": null
      }
    ],
    "pagination": {
      "page": 1,
      "page_size": 15,
      "total_items": 3,
      "total_pages": 1,
      "has_next": false,
      "has_prev": false
    }
  },
  "usage": {
    "pages_processed": 3
  },
  "progress": {
    "percentage": 100,
    "pages_processed": 3
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

job_id
string
required

Query Parameters

page
integer
default:1

1-based page index for navigating result.data. Fixed page size of 15 items. Returns 400 if the page is out of range.

Response

Extract job status (pending, processing, completed, or failed).

id
string
required
status
string
required
created_at
string<date-time> | null
completed_at
string<date-time> | null
processing_time_ms
integer | null
document
ExtractDocument · object | null
result
ExtractResult · object | null
usage
ExtractUsage · object | null
progress
JobProgress · object | null

Live progress of a long-running async job while it is in flight.

Shared by the parse (GET /api/v3/parse/<id>) and extract (GET /api/v3/extract/<id>) polling envelopes: pages_processed is the count of pages done so far and percentage is the completion percentage [0, 100] derived from it.