---
title: "Get Admin Assignment Details"
method: GET
path: "/admin/assignments/{assignment_id}"
tags: ["Admin - Assignments"]
---

# Get Admin Assignment Details

`GET /admin/assignments/{assignment_id}`

Get detailed assignment information for admin view.
This reuses most of the logic from the teacher endpoint but adds teacher context.

## Path parameters

- `assignment_id` string, required

## Response `200`

Successful Response

- AdminAssignmentDetailResponse — Extended assignment detail response with teacher information for admin view
  - `assignment` AssignmentInfo, required
    - `id` string, required
    - `title` string, required
    - `subject` 'maths' | 'physique-chimie'
    - `folder_id` string, nullable
    - `grade` 'sixieme' | 'cinquieme' | 'quatrieme' | 'troisieme' | 'seconde' | 'premiere' | 'terminale' | 'prepa', nullable
    - `school_year` string, nullable
    - `class_id` string, nullable
    - `class_ids` string[]
    - `class_name` string, nullable
    - `class_names` string[]
    - `teacher_id` string, nullable
    - `exercise_ids` string[], required
    - `status` 'draft' | 'active' | 'finished'
    - `start_date` string, date-time, nullable
    - `due_date` string, date-time, nullable
    - `class_schedules` AssignmentClassScheduleOut[]
      - `class_id` string, required
      - `class_name` string, required
      - `school_year` string, nullable
      - `is_past` boolean
      - `start_date` string, date-time, nullable
      - `due_date` string, date-time, nullable
    - `binary_grading` boolean
    - `randomize_order` boolean
    - `typing_enabled` boolean
    - `typed_work_allowed` boolean
    - `autonomy_mode` boolean
    - `autonomy_attempts_before_solution` integer
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `chat_policy` object
    - `chat_scoring_policy` object
    - `retry_policy` object
    - `justification_required` object
    - `partial_grade_percentage` number
    - `remediation_source_id` string, nullable
    - `remediation_source_title` string, nullable
  - `teacher_info` object, required
  - `exercises` ExerciseDetails[], required
    - `id` string, required
    - `themes` string[]
    - `content` string
    - `solution` string, nullable
    - `difficulty` string, nullable
    - `figure_id` string, nullable
    - `solution_figure_id` string, nullable
    - `figure_content` string, nullable
    - `figure_solution` string, nullable
    - `figures` string[]
    - `figures_solution` string[]
  - `student_sessions` StudentSessionDetails[], required
    - `session_id` string, required
    - `student_id` string, required
    - `student_name` string, required
    - `student_email` string, required
    - `class_id` string, nullable
    - `progress` string, required
    - `progress_percentage` number, required
    - `updated_at` string, date-time, required
    - `correct_count` integer
    - `partial_count` integer
    - `wrong_count` integer
    - `performance_score` number
    - `has_started` boolean
    - `completion_status` 'not_started' | 'in_progress' | 'completed', required
    - `started_at` string, date-time, nullable
    - `duration_minutes` number, nullable
    - `exercise_scores` object
  - `average_duration_minutes` number, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-02** `8d495ed916c6` — 1 info
  - added the optional property `assignment/autonomy_attempts_before_solution` to the response with the `200` status

[Change history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/admin/assignments/:assignment_id/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-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/ef67479ed898/schema)
