---
title: "POST /api/hyperion/courses/{courseId}/faq/rewrite"
method: POST
path: "/api/hyperion/courses/{courseId}/faq/rewrite"
tags: ["hyperion-faq"]
---

# POST /api/hyperion/courses/{courseId}/faq/rewrite

`POST /api/hyperion/courses/{courseId}/faq/rewrite`

## Path parameters

- `courseId` integer, required

## Request body

- RewriteFaqRequest — Request to rewrite a FAQ
  - `faqText` string, required

## Response `200`

OK

- RewriteFaqResponse — Response containing rewritten FAQ
  - `rewrittenText` string, required
  - `inconsistencies` string[], required
  - `suggestions` string[], required
  - `improvement` string, required

## Changes

- **2026-02-23** `0447cb75bafb` — 1 breaking, 4 info
  - the `faqText` request property's minLength was increased from `0` to `1`
  - the response property `improvement` became required for the status `200`
  - the response property `inconsistencies` became required for the status `200`
  - the response property `rewrittenText` became required for the status `200`
  - …1 more
- **2026-02-05** `428a7b266894` — 1 info
  - endpoint added
- **2025-06-29** `afd4091eb170` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ls1intum/apis/artemis-application-server-api/changes/api/hyperion/courses/:courseId/faq/rewrite/post.md)

---

[API](https://skmtc.dev/ls1intum/apis/artemis-application-server-api.md) · [All operations](https://skmtc.dev/ls1intum/apis/artemis-application-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ls1intum/artemis-application-server-api/revisions/cecac5f6c8e5/schema)
