---
title: "Cancel the active book-generation workflow run"
method: POST
path: "/books/{bookId}/cancel"
---

# Cancel the active book-generation workflow run

`POST /books/{bookId}/cancel`

## Request

- Base URL: `https://anthra.com/api/v1`
- URL: `https://anthra.com/api/v1/books/{bookId}/cancel`
- Auth: HTTP bearer

Idempotent — returns ok:true even when no run is active. Reverts book status to `draft`.

## Response `200`

OK

---

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