Understand how to stop a running batch using its ID, allowing you to halt ongoing calls in the batch.
curl --request POST \ --url https://api.bolna.ai/batches/{batch_id}/stop \ --header 'Authorization: Bearer <token>'
{ "message": "success", "state": "stopped" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the batch
batch status response
The response is of type any.
any