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

This endpoint returns all policies.

##### Sample Request

```
 curl -X GET  https://console.jumpcloud.com/api/v2/policies \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}'
```

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
  | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Fields    | The comma separated fields included in the returned records.<br />If omitted, the default list of fields will be returned.                                                                                                                                                                                                                                                                                                                                                                                                            |
  | Filter    | A filter to apply to the query.<br /><br />**Filter structure**: `&lt;field&gt;:&lt;operator&gt;:&lt;value&gt;`.<br /><br />**field** = Populate with a valid field from an endpoint response.<br /><br />**operator** =  Supported operators are: eq, ne, gt, ge, lt, le, between, search, in.<br />*Note: v1 operators differ from v2 operators.*<br /><br />**value** = Populate with the value you want to search for. Is case sensitive. Supports wild cards.<br /><br />**EX:** `GET /api/v2/groups?filter=name:eq:Test+Group`. |
  | Limit     | The number of records to return at once. Limited to 100.                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter       | Description                                                                                                                 |
  | --------------- | --------------------------------------------------------------------------------------------------------------------------- |
  | Organization ID | Organization identifier that can be obtained from console settings.                                                         |
  | Skip            | The offset into the records to return.                                                                                      |
  | Sort            | The comma separated fields used to sort the collection.<br />Default sort is ascending, prefix with `-` to sort descending. |
</div>

## Example Output

```json theme={"dark"}
[
	{
		"id": "ObjectId uniquely identifying a Policy.",
		"name": "The description for this specific Policy.",
		"template": {
			"activation": "Requirements before the policy can be activated.",
			"alert": "Text to describe any risk associated with this policy.",
			"behavior": "Specifics about the behavior of the policy.",
			"deliveryTypes": [
				"agent"
			],
			"description": "The default description for the Policy.",
			"displayName": "The default display name for the Policy.",
			"id": "ObjectId uniquely identifying a Policy Template.",
			"name": "The unique name for the Policy Template.",
			"osMetaFamily": "string",
			"osRestrictions": [
				{
					"with-apple-restrictions": {
						"appleRestrictions": {
							"requiresSupervision": false,
							"supportedEnrollmentTypes": [
								"automated",
								"device",
								"user"
							]
						},
						"deprecatedVersion": "16.2",
						"earliestVersion": "14.1",
						"osName": "iPadOS"
					}
				}
			],
			"reference": "URL to visit for further information.",
			"state": ""
		}
	}
]
```

## Workflow Library Example

[Scan and Enforce Full Disk Encryption Jumpcloud Policy Daily](https://library.blinkops.com/workflows/scan-and-enforce-full-disk-encryption-jumpcloud-policy-daily)

<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/scan-and-enforce-full-disk-encryption-jumpcloud-policy-daily/canvas" />
</div>
