---
title: "OneRoster - Get all courses"
method: GET
path: "/oneroster/courses"
tags: ["Oneroster"]
---

# OneRoster - Get all courses

`GET /oneroster/courses`

**Requires permission:** *ServiceAccount*

OneRoster v1.1 GetAllCourses (optional). Maps Panoptic subjects to courses. Supports offset/limit paging and status / dateLastModified filtering.

## Response `200`

Success - courses

- CourseSetResponse
  - `courses` OrCourse[]
    - `sourcedId` string, nullable
    - `status` string
    - `dateLastModified` string, date-time, nullable
    - `title` string, nullable
    - `courseCode` string, nullable
    - `org` OrGuidRef
      - `href` string, nullable
      - `sourcedId` string, nullable
      - `type` string, nullable
    - `schoolYear` OrGuidRef
      - `href` string, nullable
      - `sourcedId` string, nullable
      - `type` string, nullable
    - `grades` string[]

## Other responses

- `401` — Unauthorized
- `403` — Caller is not an authorised service account

---

[API](https://skmtc.net/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.net/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/versions/fab57bf5558a/schema)
