---
title: "Batch delete runs"
method: POST
path: "/api/runs/delete"
---

# Batch delete runs

`POST /api/runs/delete`

## Request

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

Delete up to 100 runs by id in one call. An id it cannot delete is reported as skipped instead of failing the whole batch.

## Request body

- object
  - `runIds` string[], required

## Response `200`

OK

- object
  - `deletedIds` string[], required: The runs that were deleted.
  - `skippedIds` string[], required: The runs that were not: no such run on this account, or one still being wrapped up. Reported rather than failing the call, so a partial batch still tells you what landed.

## Other responses

- `400`: Invalid request
- `401`: Not authenticated
- `403`: Forbidden

---

[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)
