---
title: "Rotate Page"
method: PUT
path: "/copy-correction/{session_id}/rotate-page"
tags: ["Copy Correction"]
---

# Rotate Page

`PUT /copy-correction/{session_id}/rotate-page`

Rotate a page image by 90° and keep grading overlays aligned.

The rotated image is re-rendered server-side and swapped into
all_page_images so every consumer (review, student view, exports) sees
the corrected orientation.

## Path parameters

- `session_id` string, required

## Request body

- RotatePageBody
  - `page_index` integer, required
  - `direction` 'cw' | 'ccw', required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/2a0c1636fd3b?raw)
