Read one batch
get_batchWhere a batch got to: whether it is still running, how many of its URLs now have a verdict, how many of those the web or our policy refused, how many were never attempted, and what it has spent so far. Ask for items to get the results themselves: the pages and the refusals, in the order you submitted them, each one the same answer a single scrape would have given. You get up to 200 at a time, from wherever from says. A batch whose results have expired still answers with everything else, because somebody who paid for those pages must never be told the batch does not exist.
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": {
"id": "<id>"
},
"name": "get_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The batch's id, as create returned it. | |
| from | No | Start the results at this position. Up to 200 come back at a time, so read the next page with `from` plus however many you just got, and stop when you reach `total`. | |
| items | No | Also return the results themselves, in the order you submitted them. Off by default: most polls only want to know whether the batch has finished. |