cURL
curl --request POST \ --url https://api.valyu.ai/v1/deepresearch/tasks/{id}/cancel \ --header 'X-API-Key: <api-key>'
{ "success": true, "message": "Task cancelled successfully", "deepresearch_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }
Reference for cancelling a running task via POST /v1/deepresearch/tasks/{id}/cancel.
API key for authentication. Get yours at platform.valyu.ai.
DeepResearch task ID.
Task cancelled.
Whether the operation succeeded.
true
Human-readable status message.
"Task cancelled"
ID of the affected task.
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Was this page helpful?