---
title: "Get One Person's Sets"
method: GET
path: "/Timetable/Admin/Sets"
tags: ["Timetable"]
---

# Get One Person's Sets

`GET /Timetable/Admin/Sets`

**Requires permission:** *TimetableAdmin*

The sets a pupil belongs to, or a staff member teaches, this academic year — with subject, teachers and lessons per two-week cycle. Drives the drill-down behind a row on the set-count screen, so it is a per-row user action rather than something the list runs in a loop.

## Query parameters

- `upi` string, guid, nullable
- `type` string, nullable
- `page` integer, required
- `pageSize` integer, required
- `includes` string[], nullable
- `sort` string, nullable
- `filter` string, nullable

## Response `200`

Success - Returned the person's sets

- GetTimetableAdminSetsResponse
  - `name` string
  - `sets` TimetableAdminSet[]
    - `classId` string, guid
    - `code` string, nullable
    - `name` string, nullable
    - `subject` string, nullable
    - `yearGroup` string, nullable
    - `teachers` string[]
    - `lessonsPerCycle` integer
  - `meta` Meta
    - `page` integer
    - `pageSize` integer
    - `total` integer

## Other responses

- `400` — An Error Occurred - Unknown UPI or type
- `401` — Unauthorized
- `403` — Forbidden - Requires TimetableAdmin

## Changes

- **2026-08-27** `fb36fab6825e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/tonbridge/apis/tonbridge-app-api/changes/Timetable/Admin/Sets/get.md)

---

[API](https://skmtc.dev/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.dev/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/revisions/223cb0feedeb/schema)
