---
title: "Cleanup stale runs"
method: POST
path: "/runs/cleanup"
tags: ["runs"]
---

# Cleanup stale runs

`POST /runs/cleanup`

Mark runs as failed if they've been running too long without updates

## Response `200`

OK

## Changes

- **2025-09-24** `01ebcc70d5ab` — 1 info
  - endpoint added
- **2025-06-02** `0c070796939d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/marmotdata/apis/marmot-api/changes/runs/cleanup/post.md)

---

[API](https://skmtc.dev/marmotdata/apis/marmot-api.md) · [All operations](https://skmtc.dev/marmotdata/apis/marmot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/marmotdata/marmot-api/revisions/a27bbdf5acdc/schema)
