---
title: "Cancel Task Run"
method: POST
path: "/public/v1/task-runs/{run_id}/cancel"
tags: ["public"]
---

# Cancel Task Run

`POST /public/v1/task-runs/{run_id}/cancel`

## Request

- Base URL: `https://api.komos.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.komos.ai/public/v1/task-runs/{run_id}/cancel`
- Auth: none declared

## Path parameters

- `run_id` string, required

## Headers

- `Authorization` string, nullable

## Request body

- CancelRunRequest
  - `reason` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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