Cancels a running batch. This will mark the batch as cancelled and remove any pending jobs from the queue. Jobs that are already in progress will complete.
POST
/
v0.1
/
batches
/
{id}
/
cancel
Cancel Batch
Copy
curl --request POST \ --url https://api.promptloop.com/v0.1/batches/{id}/cancel \ --header 'x-api-key: <api-key>'