Batch
Cancel a batch
Stop a batch from starting new pages. In-progress pages finish, and unused credits are refunded.
post/batch/{batch_id}/cancel
Path parameters
batch_idstring required
ID of the batch to retrieve or cancel.
Example:batch_9f2c8a
ID of the batch to retrieve or cancel.
Response
Cancellation started
Example response
{
"id": "batch_9f2c8a",
"tags": [
"docs"
],
"input": {
"submitted": 25000,
"accepted": 24817,
"duplicates": 183
},
"progress": {
"succeeded": 18091,
"failed": 311,
"pending": 6415
},
"credits": {
"estimated": 24817,
"charged": 18091
},
"errors": [
{
"code": "WEBSITE_ACCESS_ERROR",
"count": 204
}
]
}