---
title: "Cancel Run"
method: POST
path: "/runs/{run_id}/cancel"
---

# Cancel Run

`POST /runs/{run_id}/cancel`

## Request

- Base URL: `https://www.clipzyn.com/v1`
- URL: `https://www.clipzyn.com/v1/runs/{run_id}/cancel`
- Auth: HTTP bearer

Request cancellation and return {run_id, cancelling, state, phase}; the call is idempotent.

Costs nothing quota-wise. Call only on an explicit cancellation intent; phase pre_mine
means quota was not spent, while post_mine remains billed. Recover from run_not_found by
calling GET /v1/runs. For rate_limited or service_unavailable, wait retry_after_sec and
retry once, then confirm terminal state with GET /v1/runs/{run_id}/progress.

## Path parameters

- `run_id` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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