API Reference
Stop a job run
POST
/api/job-runs/{id}/stop
Stops a running job run, cancels active task subprocesses, and marks the job run as completed. Individual task runs are stopped via SIGINT (local) or executor cancel (remote); their job-run-task rows become cancelled or skipped.
Operation IDstopJobRun
Authentication
- BearerAuth
http bearerAPI key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.
Path parameters
idintegerrequiredResource ID
Success response body
200Job run stopped
Job run stopped
Content typeapplication/json
responseobject1 property
successbooleanError responses
400Cannot stop
Cannot stop
Content typeapplication/json
responseobject2 properties
errorstringmessagestring