Skip to main content
GET
/
api
/
v3
/
extract
/
{job_id}
Get extract job status
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
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.lighton.ai/llms.txt

Use this file to discover all available pages before exploring further.

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
result
ExtractResult · object
usage
ExtractUsage · object