get_batch
Retrieve a batch's overall status, per-status job counts, reserved and billed credits, and job details so you can poll progress after creating a batch and identify finished jobs for result extraction.
Instructions
Get one batch's overall status, per-status job counts, reserved and billed credits, and its jobs (id, target, status, result_count). Free and read-only. Poll it after create_batch, then read each finished job with get_extraction_result.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"batch_id": "<batch_id>"
},
"name": "get_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | Batch id returned by create_batch or listed by list_batches. |