---
title: "Cancel Turn"
method: POST
path: "/v1/ask-feather/sessions/{session_id}/turns/{turn_id}/cancel"
tags: ["ask-feather"]
---

# Cancel Turn

`POST /v1/ask-feather/sessions/{session_id}/turns/{turn_id}/cancel`

## Request

- The document declares no server URL.
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/oneloop-hq/apis/feather-api/docs/v1/ask-feather/sessions/:session_id/turns/:turn_id/cancel/post.ts> (a function with typed inputs; its response is checked against the schema)

Stop button (Q11): set the Redis cancel flag for a turn the caller owns; the
worker finalizes ``cancelled`` at the next node boundary. Idempotent — a cancel
for an already-finished turn just sets a flag that self-expires.

## Path parameters

- `session_id` string, uuid, required
- `turn_id` string, uuid, required

## Response `202`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-08-12** `5a5597ebb2d6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/oneloop-hq/apis/feather-api/changes/v1/ask-feather/sessions/:session_id/turns/:turn_id/cancel/post.md)

---

[API](https://skmtc.dev/oneloop-hq/apis/feather-api.md) - [All operations](https://skmtc.dev/oneloop-hq/apis/feather-api/llms.txt) - [OpenAPI document](https://skmtc.dev/oneloop-hq/apis/feather-api/revisions/9cd7291d4228?raw)
