---
title: "Scan Exercise"
method: POST
path: "/homework-helper/scan-exercise"
tags: ["Homework Helper"]
---

# Scan Exercise

`POST /homework-helper/scan-exercise`

Scan an image and return the transcription.

Note: Transcription logging happens via /log-transcription endpoint,
called from the frontend when accepting in the preview modal.

## Request body

- RoutersHomeworkHelperRoutesScanExerciseRequest
  - `image_url` string, required — S3 URL of the image to scan

## Response `200`

Successful Response

- RoutersHomeworkHelperRoutesScanExerciseResponse
  - `status` string, required
  - `message` string, required
  - `latex` string, nullable, required

## 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-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/8d495ed916c6/schema)
