---
title: "Get assignment grades"
method: GET
path: "/assignments/{assignment_id}/grades"
tags: ["classroom"]
---

# Get assignment grades

`GET /assignments/{assignment_id}/grades`

Gets grades for a GitHub Classroom assignment. Grades will only be returned if the current user is an administrator of the GitHub Classroom for the assignment.

## Path parameters

- `assignment_id` integer, required

## Response `200`

Response

- ClassroomAssignmentGrade[]
  - `assignment_name` string, required — Name of the assignment
  - `assignment_url` string, required — URL of the assignment
  - `starter_code_url` string, required — URL of the starter code for the assignment
  - `github_username` string, required — GitHub username of the student
  - `roster_identifier` string, required — Roster identifier of the student
  - `student_repository_name` string, required — Name of the student's assignment repository
  - `student_repository_url` string, required — URL of the student's assignment repository
  - `submission_timestamp` string, required — Timestamp of the student's assignment submission
  - `points_awarded` integer, required — Number of points awarded to the student
  - `points_available` integer, required — Number of points available for the assignment
  - `group_name` string — If a group assignment, name of the group the student is in

## Other responses

- `404` — Resource not found

---

[API](https://skmtc.dev/github/apis/rest.md) · [All operations](https://skmtc.dev/github/apis/rest/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/github/rest/revisions/2da668dda928/schema)
