Start typing to search.

API Reference

Delete a run

View Markdown
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 bearer·API key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.

Path parameters

idintegerrequired

Resource 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

responseobject
2 properties
errorstring
messagestring

404Resource not found

Resource not found

Content typeapplication/json

responseobject
2 properties
errorstring
messagestring
Example response
{
  "error": "NOT_FOUND",
  "message": "Resource not found"
}