curl -X POST "https://nunu.ai/api/v1/runs/stop" \ -H "X-Api-Key: YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "job_ids": ["f80f6230-3a4f-431a-9d55-d11b867fed4e"] }'
{ "ok": true, "message": "Successfully stopped 2 job(s)", "received_count": 2, "stopped_count": 2, "results": [ { "job_id": "f80f6230-3a4f-431a-9d55-d11b867fed4e", "ok": true, "status": 200, "message": "Job stopped" }, { "job_id": "0a9f9c52-8917-4f47-bb72-b0093c200bed", "ok": true, "status": 200, "message": "Job stopped" } ] }
Stop one or more running tests. Only jobs belonging to your project will be stopped.
project:operate-runs
true
Show result properties
ok: true
ok: false
API key for authentication
Array of job IDs to stop
1
All jobs stopped successfully
Show child attributes