List Batches
List batch processing runs for document extraction at 50% of realtime cost. Filter by lifecycle status and track item counts, provider, and timing per batch.
Batch processing runs Talonic document extraction through the provider batch API at 50% of the realtime cost, in exchange for deferred results (typically within 24 hours, 48-hour SLA). Documents uploaded with processing_mode=batch run OCR and classification immediately but queue extraction. Batches accumulate items, submit to the provider on a timer or threshold, and poll for results.
Talonic supports two batch providers: the Anthropic Message Batches API (direct) and AWS Bedrock (CreateModelInvocationJob). The provider is auto-detected from your workspace configuration. Results are typically delivered within 24 hours, with a maximum SLA of 48 hours.
- Documents run Stage 1 (OCR + classification + triage) immediately on upload.
- Stage 2 (Claude extraction) is deferred to the batch API at 50% of standard cost.
- Batches require a minimum of 100 items (Bedrock requirement). Smaller uploads fall back to realtime extraction.
- Results are polled hourly. Use the sync endpoint to check sooner.
/v1/batchesQuery parameters
20descResponse
Response fields
curl
Response
{
"data": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "completed",
"provider": "anthropic",
"item_count": 142,
"succeeded_count": 142,
"errored_count": 0,
"expired_count": 0,
"submitted_at": "2024-10-01T06:00:00.000Z",
"completed_at": "2024-10-01T14:23:00.000Z",
"error_message": null,
"created_at": "2024-10-01T05:45:00.000Z",
"updated_at": "2024-10-01T14:23:00.000Z",
"links": { "self": "/v1/batches/a1b2c3d4-e5f6-7890-abcd-ef1234567890" }
}
],
"pagination": {
"total": 12,
"limit": 20,
"has_more": false,
"next_cursor": null
}
}Errors
Error responses