---
title: "Cancel Operation"
method: POST
path: "/external/operations/{operation_id}/cancel"
tags: ["External Operations"]
---

# Cancel Operation

`POST /external/operations/{operation_id}/cancel`

## Request

- Base URL: `https://api.chutes.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.chutes.ai/external/operations/{operation_id}/cancel`
- Auth: API key in header `Authorization`

Request explicit cancellation without coupling it to client disconnection.

## Path parameters

- `operation_id` string, required

## Headers

- `X-Chutes-Hotkey` string, nullable
- `X-Chutes-Signature` string, nullable
- `X-Chutes-Nonce` string, nullable
- `Authorization` string, nullable

## Response `202`

Successful Response

- string

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `23e8895b217d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/chutes/apis/fastapi/changes/external/operations/:operation_id/cancel/post.md)

---

[API](https://skmtc.dev/chutes/apis/fastapi.md) - [All operations](https://skmtc.dev/chutes/apis/fastapi/llms.txt) - [OpenAPI document](https://skmtc.dev/chutes/apis/fastapi/revisions/8add5b0e22da?raw)
