---
title: "Changes to Rewrite Unit With Ai"
method: PUT
path: "/teacher/courses/{course_id}/units/{unit_id}/rewrite"
---

# Changes to Rewrite Unit With Ai

`PUT /teacher/courses/{course_id}/units/{unit_id}/rewrite`

> Every recorded change to this operation, newest first.
> 55 revisions in range; 1 not diffed.

## Timeline

Changed in 2 of 55 revisions.

- **2026-10-15** `7925dd21e4d0`: 3 warning, 6 info
- **2026-09-19** `c81ed506912f`: 1 info

## Changes

- **2026-10-15** `7925dd21e4d0`: 3 warning, 6 info
  - added the new `excellence_course` enum value to the `course/source_type/anyOf[subschema #1]/` response property for the response status `200`
  - added the new `interactive` enum value to the `course/units/anyOf[subschema #1]/items/blocks/anyOf[subschema #1]/items/type` response property for the response status `200`
  - added the new `video` enum value to the `course/units/anyOf[subschema #1]/items/blocks/anyOf[subschema #1]/items/type` response property for the response status `200`
  - added the optional property `course/append_error_message` to the response with the `200` status
  - added the optional property `course/append_started_at` to the response with the `200` status
  - added the optional property `course/append_status` to the response with the `200` status
  - added the optional property `course/excellence_content_signature` to the response with the `200` status
  - added the optional property `course/excellence_course_key` to the response with the `200` status
  - added the optional property `course/excellence_unmodified` to the response with the `200` status
- **2026-09-19** `c81ed506912f`: 1 info
  - added the optional property `course/units/anyOf[subschema #1]/items/blocks` to the response with the `200` status

---

[Operation](https://skmtc.dev/excellence-ai/apis/excellence-learning/docs/teacher/courses/:course_id/units/:unit_id/rewrite/put.md) - [API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) - [Page](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/teacher/courses/:course_id/units/:unit_id/rewrite/put)
