---
title: "Rewrite a chapter with an editorial directive (streams)"
method: POST
path: "/books/{bookId}/chapters/{chapterId}/rewrite"
---

# Rewrite a chapter with an editorial directive (streams)

`POST /books/{bookId}/chapters/{chapterId}/rewrite`

## Request

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

## Request body

- object
  - `directive` string, required

## Response `200`

OK — streamed prose body.

---

[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)
