---
title: "Get Teacher Assignments"
method: GET
path: "/teacher/assignments"
tags: ["teacher_assignments"]
---

# Get Teacher Assignments

`GET /teacher/assignments`

Get all assignments created by this teacher, optionally filtered by folder.

## Query parameters

- `folder_id` string, nullable

## Response `200`

Successful Response

- TeacherAssignmentResponse[]
  - `id` string, required
  - `title` string, required
  - `subject` 'maths' | 'physique-chimie'
  - `grade` 'sixieme' | 'cinquieme' | 'quatrieme' | 'troisieme' | 'seconde' | 'premiere' | 'terminale' | 'prepa', nullable
  - `folder_id` string, nullable
  - `class_id` string, nullable
  - `class_ids` 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
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `student_count` integer, required
  - `pending_review_request_count` integer
  - `chat_policy` object
  - `chat_scoring_policy` object
  - `retry_policy` object
  - `sharing_options` SharingOptions — Model for sharing configuration across folders, exams, and exercises
    - `shared_with_school` boolean
    - `shared_with` string[]
    - `read_only` boolean
  - `access` object, nullable
  - `teacher_name` string, nullable
  - `locked_by_sharing` boolean
  - `locked_by_teacher_names` string[]
  - `locked_by_me` boolean
  - `has_assigned_classes` boolean

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-14** `0a41d91c9d20` — 7 info
  - added the optional property `items/access` to the response with the `200` status
  - added the optional property `items/has_assigned_classes` to the response with the `200` status
  - added the optional property `items/locked_by_me` to the response with the `200` status
  - added the optional property `items/locked_by_sharing` to the response with the `200` status
  - …3 more

[Change history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/teacher/assignments/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/2a0c1636fd3b?raw)
