GET
/batch/extract/{id}
Get Batch Extract Job Status

Check status and retrieve extracted data from a batch extraction job.

Response States:

  • processing: Extraction in progress
  • completed: All extractions finished
  • failed: Job failed (check error details)

Results Format: Each URL in the results array contains:

  • Extracted data matching your schema
  • Success/failure status
  • Individual error messages if applicable
  • Confidence scores for extraction quality

Authorization

YOUR_API_KEY
AuthorizationBearer <token>

Enter your API key from the Thunderbit Dashboard. The header format will be: Authorization: Bearer YOUR_API_KEY

In: header

Path Parameters

id*stringrequired

Batch task ID

Query Parameters

pageintegerdefault:0

Page number (0-based), default 0

Required range:0 <= x
pageSizeintegerdefault:20

Number of results per page (1-100), default 20

Required range:1 <= x <= 100

Response

application/json

Success response

successboolean
dataobject
Show child attributes
idstring
statusstring
Value in"PENDING" | "PROCESSING" | "COMPLETED" | "FAILED" | "CANCELLED" | "UNKNOWN"
totalinteger
completedinteger
creditsUsedinteger
resultsobject[]
Show child attributes
urlstring
successboolean
dataobject[]

Extracted structured data for this URL (present when success is true)

errorobject
Show child attributes
codestring
Example:EXTRACT_FAILED
messagestring
createdAtstring

Timestamp when the job was created

completedAtstring

Timestamp when the job completed (null if still processing)

Pagination

  • pageSize defaults to 20 and caps at 100 per request. Set pageSize=100 to fetch the maximum per call.
  • For batches with more than 100 results, increment page (0-based) until results is empty: page=0, page=1, etc.
  • total in the response tells you how many results exist overall.

On this page