---
title: "Retrieves the list of labels associated with an endpoint."
method: GET
path: "/endpoint/{id}/labels"
tags: ["endpoint"]
---

# Retrieves the list of labels associated with an endpoint.

`GET /endpoint/{id}/labels`

## Path parameters

- `id` string, required

## Response `200`

Success

- LabelConfiguration — Label configuration of an endpoint
  - `spec` LabelConfigurationSpec — User desired Label configuration of an endpoint
    - `user` string[] — Set of labels
  - `status` LabelConfigurationStatus — Labels and label configuration of an endpoint
    - `realized` LabelConfigurationSpec — User desired Label configuration of an endpoint
      - `user` string[] — Set of labels
    - `security-relevant` string[] — Set of labels
    - `derived` string[] — Set of labels
    - `disabled` string[] — Set of labels

## Other responses

- `404` — Endpoint not found
- `429` — Rate-limiting too many requests in the given time frame

---

[API](https://skmtc.net/cilium/apis/cilium-api.md) · [All operations](https://skmtc.net/cilium/apis/cilium-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cilium/cilium-api/versions/351336b27221/schema)
