Reprocess Batch Endpoint
POST
/v1/batches/{batch_id}/reprocess
const url = 'http://localhost:8080/v1/batches/example/reprocess';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8080/v1/batches/example/reprocessRe-enqueue every settled job in the batch (full re-run).
The sanctioned way to regenerate a corpus after a pipeline / template upgrade — dedup-immune (existing rows are re-queued, no new submissions). Queued / processing jobs are skipped so the call is idempotent and safe while a drain is in flight.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” batch_id
required
Batch Id
string
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Response Reprocess Batch Endpoint V1 Batches Batch Id Reprocess Post
object
key
additional properties
any
Example generated
{}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}