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

## 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)
