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": ["550e8400-e29b-41d4-a716-446655440000"] }'
{ "ok": true, "message": "Successfully stopped 2 job(s)", "received_count": 2, "stopped_count": 2, "results": [ { "job_id": "550e8400-e29b-41d4-a716-446655440000", "ok": true, "status": 200, "message": "Job stopped" }, { "job_id": "661f9511-f30c-52e5-b827-557766885500", "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