---
title: "GET /policy-elements"
method: GET
path: "/policy-elements"
tags: ["PolicyElements"]
---

# GET /policy-elements

`GET /policy-elements`

Get policies for given scope.

## Query parameters

- `scope` string, required
- `api-version` string, required
- `filter` string

## Response `200`

Success

- PolicyResponse — Represents the response for policy fetch API.
  - `count` integer — Count of elements in payload.
  - `syncToken` string — Sync token represents the checkpoint upto which this policy elements list is updated. Client need to pass this value while fetching records using policyEvents API.
  - `elements` PolicyElement[] — List of policy elements.
    - `id` string — Id of the policy element.
    - `scopes` string[] — List of scopes included in this policy.
    - `kind` string — Kind of policy element. Possible values: policy/policySet/attributeRule.
    - `updatedAt` string — Time at which this policy element is last updated.
    - `version` integer — Current version of policy element. This is auto incremented with each change. Starts with 1.
    - `elementJson` string — Policy element serialized json payload.
  - `nextLink` string — Link with skip token to fetch next set of records. This is used in case of pagination.

## Other responses

- `default` — An unexpected error occurred

---

[API](https://skmtc.dev/azure/apis/purview-pds.md) · [All operations](https://skmtc.dev/azure/apis/purview-pds/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/purview-pds/revisions/ddd2f6744549/schema)
