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

# Closing down - Get assignment grades

`GET /assignments/{assignment_id}/grades`

> **Deprecated.**

> [!WARNING]
> **Closing down notice:** This operation is closing down and will be removed on August 28, 2026.
> For more information, see the [GitHub Classroom sunset notice](https://gh.io/classroom-sunset).

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
- `410` — Gone

## Changes

> 62 revisions in range; 1 not diffed, 4 could not be searched.

- **2026-07-16** (2022-11-28) `68189602293a` — 1 info
  - added the non-success response with the status `410`
- **2026-07-14** (2022-11-28) `6b7bab78dc34` — 1 info
  - endpoint deprecated

[Change history](https://skmtc.dev/github/apis/rest/changes/assignments/:assignment_id/grades/get.md)

---

[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/5bded2c77b93/schema)
