# Purview Distribution Service REST API Document API

> Purview Distribution Service REST API Document API on Apizie: 3 endpoints (Get Datasource Preferences for given scope., Get policies for given scope., Get policy events for given scope.) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/cloud:azure-purview-pds/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:azure-purview-pds`
- Category: Cloud
- Status: byok
- Source: https://learn.microsoft.com/rest/api/azure/
- Page: https://apizie.tech/api/cloud/azure-purview-pds
- OpenAPI: https://apizie.tech/api/cloud/azure-purview-pds/openapi.json

Purview distribution service enables various Azure RPs to fetch the policies and attributes for data governance.

## Endpoints

### Get Datasource Preferences for given scope.
`GET https://apizie.tech/v1/cloud:azure-purview-pds/datasource-preferences-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | yes | The endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. |
| scope | string | yes | Id for any resource managed by Purview. |
| api-version | string | no | The api-version of the service. |

### Get policies for given scope.
`GET https://apizie.tech/v1/cloud:azure-purview-pds/policy-elements-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | yes | The endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. |
| scope | string | yes | Id for any resource managed by Purview. |
| filter | string | no | Filter supporting full OData syntax. |
| api-version | string | no | The api-version of the service. |

### Get policy events for given scope.
`GET https://apizie.tech/v1/cloud:azure-purview-pds/policy-events-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | yes | The endpoint of your Purview account. Example: https://{accountName}.purview.azure.com. |
| scope | string | yes | Id for any resource managed by Purview. |
| syncToken | string | yes | This sync token represents the latest checkpoint for policies. Client need to pass this value while fetching subsequent delta changes. |
| api-version | string | no | The api-version of the service. |

## Example
```
curl "https://apizie.tech/v1/cloud:azure-purview-pds/datasource-preferences-list" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Purview Distribution Service REST API Document API?
Create a free Apizie key, then send GET https://apizie.tech/v1/cloud:azure-purview-pds/datasource-preferences-list with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Purview Distribution Service REST API Document API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Purview Distribution Service REST API Document itself also needs your own key from azure.com.

### Can AI agents use the Purview Distribution Service REST API Document API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:azure-purview-pds.

### What is the status of the Purview Distribution Service REST API Document API?
Needs your own provider key (bring your own key)
