Get the status and result of an async extract job
Changed onPoll for the status and result of an async extract job submitted via POST /api/v3/extract with options.async=true. Returns the same envelope shape as the synchronous extract endpoint once status is completed.
curl https://api.lighton.ai/api/v3/extract/ext_0196e4b2a3c14d5e \
-H 'Authorization: Bearer $TOKEN'
Pagination: when completed, result.data is paginated with a fixed page size of 15. Use the page query param (1-based) to navigate; result.pagination reports total_items, total_pages, has_next, has_prev.
Recommended polling cadence: 1s for the first 10s, then 5s, capped at 30s. Stop polling once status is in {completed, failed}.
Request
- Base URLhttps://api.lighton.ai
- URLhttps://api.lighton.ai/api/v3/extract/{job_id}
- AuthHTTP bearer
Path parameters
Query parameters
1-based page index for navigating result.data. Fixed page size of 15 items. An out-of-range page is rejected.
Response
Extract job status (pending, processing, completed, or failed).
Changes
- breaking
added the new path request parameter
job_id - info
api operation id
api_v3_extract_retrievewas added - info
the endpoint scheme security
bearerAuthwas added to the API - info
added the new optional
queryrequest parameterpage - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- breaking