---
title: "Get All Teacher Assignments"
method: GET
path: "/admin/assignments"
tags: ["Admin - Assignments"]
---

# Get All Teacher Assignments

`GET /admin/assignments`

Get all teacher assignments across the platform for admin view.
Includes teacher and class information.

## Query parameters

- `skip` integer
- `limit` integer, nullable — Maximum number of assignments to return. Omit to fetch all.
- `teacher_id` string, nullable — Filter by teacher ID
- `class_id` string, nullable — Filter by class ID
- `search` string, nullable — Search in assignment titles

## Response `200`

Successful Response

- AdminAssignmentResponse[]
  - `id` string, required
  - `title` string, required
  - `teacher_id` string, required
  - `teacher_name` string, required
  - `teacher_email` string, required
  - `class_id` string, nullable
  - `class_name` string, nullable
  - `exercise_ids` string[], required
  - `start_date` string, date-time, nullable
  - `due_date` string, date-time, nullable
  - `binary_grading` boolean, required
  - `randomize_order` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `student_count` integer, required
  - `chat_policy` object, nullable
  - `chat_scoring_policy` object, nullable
  - `retry_policy` object, nullable
  - `pending_review_request_count` integer

## 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/8d495ed916c6/schema)
