---
title: "List labels for issues in a milestone"
method: GET
path: "/repos/{owner}/{repo}/milestones/{milestone_number}/labels"
tags: ["issues"]
---

# List labels for issues in a milestone

`GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels`

Lists labels for issues in a milestone.

## Path parameters

- `owner` string, required
- `repo` string, required
- `milestone_number` integer, required

## Query parameters

- `per_page` integer
- `page` integer

## Response `200`

Response

- Label[]
  - `id` integer, required — Unique identifier for the label.
  - `node_id` string, required
  - `url` string, uri, required — URL for the label
  - `name` string, required — The name of the label.
  - `description` string, nullable, required — Optional description of the label, such as its purpose.
  - `color` string, required — 6-character hex code, without the leading #, identifying the color
  - `default` boolean, required — Whether this label comes by default in a new repository.
  - `archived_at` string, date-time, nullable, required — Timestamp indicating when the label was archived, or `null` if it has not been archived.
  - `archived_by` SimpleUser, required — A GitHub user.
    - `name` string, nullable
    - `email` string, nullable
    - `login` string, required
    - `id` integer, required
    - `node_id` string, required
    - `avatar_url` string, uri, required
    - `gravatar_id` string, nullable, required
    - `url` string, uri, required
    - `html_url` string, uri, required
    - `followers_url` string, uri, required
    - `following_url` string, required
    - `gists_url` string, required
    - `starred_url` string, required
    - `subscriptions_url` string, uri, required
    - `organizations_url` string, uri, required
    - `repos_url` string, uri, required
    - `events_url` string, required
    - `received_events_url` string, uri, required
    - `type` string, required
    - `site_admin` boolean, required
    - `starred_at` string
    - `user_view_type` string

## Changes

- **2026-09-12** (2026-03-10) `b19412c67430` — 2 info
  - added the required property `items/archived_at` to the response with the `200` status
  - added the required property `items/archived_by` to the response with the `200` status

[Change history](https://skmtc.dev/github/apis/enterprise-cloud/changes/repos/:owner/:repo/milestones/:milestone_number/labels/get.md)

---

[API](https://skmtc.dev/github/apis/enterprise-cloud.md) · [All operations](https://skmtc.dev/github/apis/enterprise-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/github/apis/enterprise-cloud/revisions/f2fe1bb39903?raw)
