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

# GET /courses/{term}/{pid}

`GET /courses/{term}/{pid}`

Retrieves course details given the term and pid.

## Path parameters

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

## Response `200`

Ok

- CourseDetails
  - `pid` string, required
  - `title` string, required
  - `description` string, required
  - `dateStart` string, required
  - `credits` object, required
    - `chosen` string, required
    - `value` union, required
      - string
      - object
        - `max` string, required
        - `min` string, required
    - `credits` object, required
      - `max` string, required
      - `min` string, required
  - `hoursCatalog` object[]
    - `lab` string, required
    - `tutorial` string, required
    - `lecture` string, required
  - `preAndCorequisites` union[]
    - union
      - string
      - NestedPreCoRequisites
        - `reqList` union[]
          - union
            - NestedPreCoRequisites — recursive
            - KualiCourse
              - …
            - string
        - `unparsed` string
        - `gpa` string
        - `grade` string
        - `units` boolean
        - `coreq` boolean
        - `quantity` union
          - number, double
          - 'ALL'
      - KualiCourse
        - `pid` string
        - `code` string, required
        - `subject` string, required
  - `preOrCorequisites` union[]
    - union
      - string
      - NestedPreCoRequisites
        - `reqList` union[]
          - union
            - NestedPreCoRequisites — recursive
            - KualiCourse
              - …
            - string
        - `unparsed` string
        - `gpa` string
        - `grade` string
        - `units` boolean
        - `coreq` boolean
        - `quantity` union
          - number, double
          - 'ALL'
      - KualiCourse
        - `pid` string
        - `code` string, required
        - `subject` string, required
  - `subject` string, required — Abbriviation of the subject of the course.
  - `code` string, required — The code portion of the course.
  - `formally` string — If a course was named something else previously.

---

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