Cancel a Batch
Scrape Endpoints
Cancel a Batch
Stop a running or pending batch and refund credits for unprocessed items
DELETE
Cancel a Batch
Overview
Cancels a batch that is currentlypending or running. Credits reserved for items that have not yet started are refunded automatically. Items already being processed will complete normally.
Response
Items that were already
running when you cancelled will finish processing and consume their credits. Only pending items are cancelled and refunded.Errors
Already terminal:
Retry Failed Batch Scrapes
Re-queue failed items instead of cancelling
Get Batch Status
Check current status before cancelling
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The batch ID to cancel

