---
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

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-3.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-3/versions/dc0584ac4e13/schema)
