---
title: "See what subject selectors match which identities on the local node"
method: GET
path: "/policy/subject-selectors"
tags: ["policy"]
---

# See what subject selectors match which identities on the local node

`GET /policy/subject-selectors`

## Response `200`

Success

- SelectorIdentityMapping[] — cache of which identities match selectors in the policy repository
  - `selector` string — string form of selector
  - `labels` LabelArray[] — LabelArrayList is an array of LabelArrays forming a set
    - Label[] — LabelArray is an array of labels forming a set
      - `key` string
      - `value` string
      - `source` string — Source can be one of the above values (e.g. LabelSourceK8s)
  - `identities` integer[] — identities mapping to this selector
  - `users` integer — number of users of this selector in the cache

## Changes

- **2025-12-18** (v1) `7d9d287bf104` — 1 info
  - endpoint added
- **2024-09-03** (v1) `5b32623f4b87` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/cilium/apis/cilium-api/changes/policy/subject-selectors/get.md)

---

[API](https://skmtc.dev/cilium/apis/cilium-api.md) · [All operations](https://skmtc.dev/cilium/apis/cilium-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cilium/cilium-api/revisions/c287d434d8b2/schema)
