API Reference
Stop a run
POST
/api/runs/{id}/stop
Gracefully stops a running or pending task run and marks it as completed.
Operation IDstopRun
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
200Run stopped
Run stopped
Content typeapplication/json
responseobject1 property
successbooleanError responses
400Run cannot be stopped
Run cannot be stopped
Content typeapplication/json
responseobject2 properties
errorstringmessagestring