---
title: "List a course's ratings"
method: GET
path: "/v2/analytics/courses/{course_id}/ratings/"
tags: ["Analytics"]
---

# List a course's ratings

`GET /v2/analytics/courses/{course_id}/ratings/`

List a course's student ratings, most recent first, optionally narrowed by ``filter[student.id]``.

**Required OAuth scope:** `analytics:read`

## Path parameters

- `course_id` string, required

## Query parameters

- `filter[student.id]` string, nullable — Return only ratings by the student with this opaque id. Unknown or malformed ids match nothing.

## Response `200`

OK

- PaginatedListResponseCourseRatingResource
  - `data` CourseRatingResource[], required — The resources on this page, in cursor order.
    - `type` string — Always "course-ratings".
    - `id` string, required — Opaque rating ID.
    - `attributes` CourseRatingAttributes, required — Attributes of a course-rating resource.
      - `rating` integer, required — The student's rating value on the rating's scale.
      - `scale_max` integer, required — The maximum value of the rating's scale (5 or 10).
      - `feedback` string, nullable — The student's additional feedback text, or null when none.
      - `created_at` string, date-time, required — When the rating was submitted.
    - `relationships` CourseRatingRelationships, required — Relationships of a course-rating resource.
      - `student` StudentRelationship, required — To-one linkage to a student; ``data`` is null when there is no student.
        - `data` StudentIdentifier — JSON:API resource identifier for a student.
          - `type` string — Always "students".
          - `id` string, required — Opaque student ID.
      - `course` CourseRelationship, required — To-one linkage to the course being published.
        - `data` CourseIdentifier, required — JSON:API resource identifier for a course.
          - `type` 'courses', required — Must be "courses".
          - `id` string, required — Opaque course id.
  - `meta` object, nullable — Pagination metadata, e.g. {"page_size": 25}.
  - `links` object, nullable — Pagination links, e.g. {"self": "...", "next": "...", "prev": null}.
  - `has_more` boolean, required — Whether additional pages exist after this one.
  - `next_cursor` string, nullable — Opaque cursor to pass as ``page[cursor]`` for the next page; null on the last page.
  - `included` object[], nullable — Related resources requested via ?include=. Absent when no include was requested.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.net/skilljar/apis/skilljar-api-v2.md) · [All operations](https://skmtc.net/skilljar/apis/skilljar-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/skilljar/skilljar-api-v2/revisions/f8025de20169/schema)
