cURL
curl --request POST \ --url https://api.valyu.ai/v1/deepresearch/batches/{id}/cancel \ --header 'x-api-key: <api-key>'
{ "batch_id": "<string>", "status": "cancelled", "cancelled_count": 123 }
Reference for cancelling a batch via POST /v1/deepresearch/batches//cancel.
Your Valyu API key. Get one at platform.valyu.ai
Batch ID
Batch cancelled successfully
Batch ID that was cancelled
Status of the batch after cancellation
cancelled
Number of tasks cancelled
Was this page helpful?