---
title: "Delete run"
method: DELETE
path: "/api/runs/{runId}"
---

# Delete run

`DELETE /api/runs/{runId}`

## Request

- Base URL: `https://reduck.ai`
- URL: `https://reduck.ai/api/runs/{runId}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Delete a finished run and the trace it recorded.

## Path parameters

- `runId` string, uuid, required

## Response `204`

No content

## Other responses

- `400`: Invalid request
- `401`: Not authenticated
- `403`: Forbidden
- `404`: Not found
- `409`: The run has not finished, or it has but is still being wrapped up.

---

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