API Reference
Delete a run
DELETE
/api/runs/{id}
Deletes a completed run along with its logs, metrics, and job_run_tasks references. Cannot delete active runs.
Operation IDdeleteRun
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
204Run deleted
Run deleted
No response content schema is documented.
Error responses
400Run is currently active
Run is currently active
Content typeapplication/json
responseobject2 properties
errorstringmessagestring404Resource not found
Resource not found
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "NOT_FOUND",
"message": "Resource not found"
}