---
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`

## Request

- Base URL: `https://api.excellence-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.excellence-ai.com/teacher-exams/{exam_id}/variants/latest`
- Auth: OAuth 2 (password, token URL `api/login`)

## 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
      - `inline_figures` InlineFigureDecisionResponse[]
        - `action` string, required
        - `description` string, nullable, required
        - `figure_id` string, nullable, required
        - `label` string, 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

## Changes

> 55 revisions in range; 1 not diffed.

- **2026-10-09** `c62bb059dc54`: 1 info
  - added the optional property `exercises/items/draft/anyOf[subschema #1: VariantExerciseDraftResponse]/inline_figures` to the response with the `200` status

[Operation history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/teacher-exams/:exam_id/variants/latest/get.md)

---

[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/379e4a57dee8?raw)
