Skip to main content
DELETE
/
batches
/
{batch_id}

Overview

Deletes a batch job and all associated evaluation results. Active evaluations will be cancelled.
This will permanently delete the batch and all its evaluation results. This action cannot be undone.

Path Parameters

batch_id
string
required
The unique identifier of the batch to delete

Response

Returns 204 No Content on successful deletion.

Examples

curl -X DELETE https://api.judge.example.com/batches/batch_def456 \
  -H "Authorization: Bearer YOUR_API_KEY"
curl -X DELETE https://api.judge.example.com/batches/invalid_id \
  -H "Authorization: Bearer YOUR_API_KEY"
curl -X DELETE https://api.judge.example.com/batches/batch_active \
  -H "Authorization: Bearer YOUR_API_KEY"