---
title: "Get Latest Exam Variant"
method: GET
path: "/teacher-exams/{exam_id}/variants/latest"
tags: ["Teacher Exam Variants"]
---

# Get Latest Exam Variant

`GET /teacher-exams/{exam_id}/variants/latest`

## Path parameters

- `exam_id` string, required

## Response `200`

Successful Response

- ExamVariantJobResponse
  - `id` string, required
  - `source_exam_id` string, required
  - `label` string, required
  - `instructions` string, nullable, required
  - `status` string, required
  - `error` string, nullable, required
  - `created_exam_id` string, nullable, required
  - `exercises` VariantExerciseResponse[], required
    - `source_exercise_id` integer, required
    - `source_title` string, required
    - `source_points` number, required
    - `source_figure_id` string, nullable, required
    - `source_solution_figure_id` string, nullable, required
    - `status` string, required
    - `attempts` integer, required
    - `verified` boolean, required
    - `error` string, nullable, required
    - `draft` VariantExerciseDraftResponse, required
      - `title` string, required
      - `content` string, required
      - `solution` string, required
      - `figure_action` string, required
      - `figure_description` string, nullable, required
      - `solution_figure_action` string, required
      - `solution_figure_description` string, nullable, required
      - `changes_summary` string, required
    - `verdict` VariantVerdictResponse, required
      - `ok` boolean, required
      - `same_question_count` boolean, required
      - `same_difficulty` boolean, required
      - `numbers_clean` boolean, required
      - `solution_correct` boolean, required
      - `figure_consistent` boolean, required
      - `issues` string[], required
  - `done_count` integer, required
  - `total_count` integer, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `finished_at` string, date-time, nullable, required

## Other responses

- `404` — Resource not found
- `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/b73d9bd491c3?raw)
