---
title: "Retrieve identity"
method: GET
path: "/identity/{id}"
tags: ["policy"]
---

# Retrieve identity

`GET /identity/{id}`

## Path parameters

- `id` string, required

## Response `200`

Success

- Identity — Security identity
  - `id` integer — Unique identifier
  - `labels` string[] — Set of labels
  - `labelsSHA256` string — SHA256 of labels

## Other responses

- `400` — Invalid identity provided
- `404` — Identity not found
- `520` — Identity storage unreachable. Likely a network problem.
- `521` — Invalid identity format in storage

---

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