---
title: "Get Exercise Versions"
method: GET
path: "/teacher_exercises/{exercise_id}/versions"
tags: ["teacher_exercises"]
---

# Get Exercise Versions

`GET /teacher_exercises/{exercise_id}/versions`

Get all versions of an exercise with author names populated.
Requires read access to the exercise.

## Path parameters

- `exercise_id` string, required

## Response `200`

Successful Response

- ExerciseVersionsListResponse — Response model for list of exercise versions.
  - `versions` ExerciseVersionResponse[], required
    - `id` string, required
    - `title` string, nullable
    - `content` string, required
    - `solution` string, nullable
    - `figure_id` string, nullable
    - `solution_figure_id` string, nullable
    - `figure_content` string, nullable
    - `figure_solution` string, nullable
    - `difficulty` string, nullable
    - `themes` string[]
    - `author_name` string, required
    - `edit_method` string, required
    - `created_at` string, date-time, required
  - `current_version_id` string, 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/ef67479ed898/schema)
