---
title: "Get All Classes"
method: GET
path: "/admin/classes"
tags: ["admin"]
---

# Get All Classes

`GET /admin/classes`

Get all classes with teacher info and student counts for admin dashboard.

## Query parameters

- `school_id` string, nullable
- `teacher_id` string, nullable
- `q` string, nullable — Substring of the class name
- `school_year` string, nullable — e.g. 2025-2026

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

> 23 revisions in range; 1 not diffed.

- **2026-09-24** `957b18a69df8` — 3 info
  - added the new optional `query` request parameter `q`
  - added the new optional `query` request parameter `school_year`
  - added the new optional `query` request parameter `teacher_id`

[Change history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/admin/classes/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/a8ae0e0c0570?raw)
