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

---

[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/c287d434d8b2/schema)
