---
title: "Delete Run"
method: DELETE
path: "/v1/runs/{run_id}"
tags: ["Runs"]
---

# Delete Run

`DELETE /v1/runs/{run_id}`

## Request

- Base URL: `https://api.ensemble.markets` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ensemble.markets/v1/runs/{run_id}`
- Auth: HTTP bearer

Delete a finished snapshot. The live run and in-flight runs cannot be deleted (409).

## Path parameters

- `run_id` string, required: Run ID (run_... or legacy mr-/r-...). Use the returned ID; kind identifies the program type.

## Response `200`

Successful Response

- Deleted: The confirmation every DELETE returns. A silent 204 cannot be told from a swallowed error at the end of a pipeline; this can, and names what went.
  - `id` string, required: The deleted record's id (a backfill's symbol)
  - `kind` 'model' | 'run' | 'backfill' | 'optimizer' | 'webhook', required
  - `deleted` true

## Other responses

- `4XX`: The request was refused; `error.type` says why
- `5XX`: The server failed; quote `X-Request-Id` when reporting it

---

[API](https://skmtc.dev/ensemble/apis/ensemble-api.md) · [All operations](https://skmtc.dev/ensemble/apis/ensemble-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ensemble/apis/ensemble-api/revisions/4c0fbd80c197?raw)
