---
title: "GET /courses/{term}"
method: GET
path: "/courses/{term}"
---

# GET /courses/{term}

`GET /courses/{term}`

Retrieves all the courses available. If query params are passed in, they will be used to filter results.

## Path parameters

- `term` '202001' | '202005' | '202009' | '202101' | '202105' | '202109' | '202201' | '202205' | '202209' | '202301' | '202305' | '202309' | '202401', required

## Query parameters

- `in_session` boolean

## Response `200`

Ok

- Course[]
  - `pid` string, required
  - `title` string, required
  - `subject` string, required
  - `code` string, required

## Changes

- **2026-07-17** `5043f9148dcf` — 2 info
  - added the new enum value `202309` to the `path` request parameter `term`
  - added the new enum value `202401` to the `path` request parameter `term`
- **2023-03-05** `28e93e6f472a` — 1 info
  - added the new enum value `202305` to the `path` request parameter `term`
- **2022-05-16** `f757cb07724b` — 2 info
  - added the new enum value `202209` to the `path` request parameter `term`
  - added the new enum value `202301` to the `path` request parameter `term`
- **2022-03-01** `b1f53c898f30` — 1 info
  - added the new enum value `202205` to the `path` request parameter `term`
- **2021-05-30** `6b8c9d966e34` — 2 info
  - added the new enum value `202109` to the `path` request parameter `term`
  - added the new enum value `202201` to the `path` request parameter `term`

[Full history](https://skmtc.dev/vikelabs/apis/functions/changes/courses/:term/get.md)

---

[API](https://skmtc.dev/vikelabs/apis/functions.md) · [All operations](https://skmtc.dev/vikelabs/apis/functions/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vikelabs/functions/revisions/5043f9148dcf/schema)
