---
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
- `filter` string
- `api-version` string, required

## Response `200`

Success

- PolicyResponseUpdated — Response model for policy bulk fetch API.
  - `syncToken` string — This sync token represents the latest checkpoint for policies. Client need to pass this value while fetching subsequent delta changes using policy-events API.
  - `nextLink` string — Link to fetch next set of policy elements.
  - `value` PolicyElementUpdated[] — List of policy elements.
    - `id` string, required — Id of the policy element.
    - `scopes` string[] — List of scopes included in this policy.
    - `version` integer, required — Current version of policy element. This is auto incremented with each change. Starts with 1.
    - `elementJson` string — Policy element serialized json payload.
    - `kind` 'Policy' | 'PolicySet' | 'AttributeRule', required — Represents the kind of policy element.
    - `updatedAt` string, date-time, required — Time at which this policy element was last updated.

## Other responses

- `default` — Error

---

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