---
title: "Retrieve identities which are being used by local endpoints"
method: GET
path: "/identity/endpoints"
tags: ["policy"]
---

# Retrieve identities which are being used by local endpoints

`GET /identity/endpoints`

## Response `200`

Success

- IdentityEndpoints[]
  - `identity` Identity — Security identity
    - `id` integer — Unique identifier
    - `labels` string[] — Set of labels
    - `labelsSHA256` string — SHA256 of labels
  - `refCount` integer — number of endpoints consuming this identity locally (should always be > 0)

## Other responses

- `404` — Set of identities which are being used by local endpoints could not be found.

---

[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/revisions/351336b27221/schema)
