> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Policies

Retrieve a list of all policies or policies with optional filtering.

<Note>
  External Documentation

  To learn more, visit the [Bluecat Edge documentation](https://docs.bluecatnetworks.com/r/BlueCat-Edge-User-Guide/v5/api/policies-GET/Service-Point-v4.x.x).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter      | Description                                        |
  | -------------- | -------------------------------------------------- |
  | Domain List ID | A domain list ID to filter associated policies by. |
  | Site Group ID  | A site group ID to filter associated policies by.  |
  | Site ID        | A site ID to filter associated policies by.        |
</div>

## Example Output

```json theme={"dark"}
[
	{
		"id": "id",
		"timestamp": "unix timestamp ms",
		"name": "name",
		"description": "description",
		"appliedTo": [
			{
				"type": "siteName",
				"name": "name"
			}
		],
		"domain": [
			{
				"type": "list",
				"listId": "dns-list-id"
			}
		],
		"action": {
			"type": "trust | block | monitor"
		},
		"exceptionDomainLists": [
			{
				"type": "list",
				"listId": "dns-list-id"
			}
		],
		"active": "true | false",
		"sourceIps": {
			"type": "INCLUDE | EXCLUDE",
			"ranges": [
				"192.168.0.1",
				"1.2.3.4"
			]
		},
		"timeRanges": [
			{
				"start": "01:00",
				"end": "20:00",
				"days": [
					"Monday",
					"Tuesday",
					"Wednesday",
					"Thursday"
				]
			}
		],
		"queryTypes": [
			"15",
			"A"
		],
		"redirectTarget": "valid FQDN domain",
		"threats": [
			{
				"type": "DGA"
			},
			{
				"type": "DNS_Tunneling"
			}
		],
		"matchAnswer": "true |  false",
		"matchAuthority": "true | false",
		"matchResponseIpListIds": [
			"IPList1"
		],
		"exceptionResponseIpListIds": [
			"IPList2"
		]
	}
]
```

## Workflow Library Example

[List Policies with Bluecat Edge and Send Results Via Email](https://library.blinkops.com/workflows/list-policies-with-bluecat-edge-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-policies-with-bluecat-edge-and-send-results-via-email/canvas" />
</div>
