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

get device group list.

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
  | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Fields    | A comma delimited list of fields. Filters the response to only include the listed fields for each object.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
  | Filter    | Filters the response according to the operator and value specified. Note that you can use \* to match on more than one character.<br />You can use the ‘.’ character to filter values within an object (e.g. custom properties), and multiple filters can be separated by a comma.<br /><br />Operators include:<br />Greater than or equals: `>:`<br />Less than or equals: `<:`<br />Greater than: `>`<br />Less than: `<`<br />Does not equal: `!:`<br />Equals: `:`<br />Includes: `~`<br />Does not include: `!~`<br /><br />For example, filter=id>100 will return the results where the resource id is greater than 100. |
  | Offset    | The number of results to offset the displayed results by.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
  | Size      | The number of results to display. Max is 1000.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
</div>

## Example Output

```json theme={"dark"}
{
	"total": 0,
	"searchId": "string",
	"items": [
		{
			"fullPath": "string",
			"groupType": "Normal",
			"numOfAWSDevices": 0,
			"description": "Linux Servers",
			"appliesTo": "isLinux()",
			"gcpTestResultCode": 0,
			"disableAlerting": true,
			"numOfKubernetesDevices": 0,
			"awsRegionsInfo": "string",
			"createdOn": 0,
			"rolePrivileges": [
				"string"
			],
			"hasNetflowEnabledDevices": true,
			"numOfAzureDevices": 0,
			"defaultCollectorDescription": "string",
			"defaultCollectorId": 1,
			"awsTestResult": {
				"noPermissionServices": [
					"string"
				],
				"detailLink": "string",
				"nonPermissionErrors": [
					"string"
				]
			},
			"extra": {},
			"numOfDirectSubGroups": 0,
			"subGroups": [
				{
					"fullPath": "string",
					"groupType": "string",
					"userPermission": "string",
					"gcpRegionsInfo": "string",
					"description": "string",
					"appliesTo": "string",
					"rolePrivileges": [
						"string"
					],
					"awsRegionsInfo": "string",
					"numOfHosts": 0,
					"name": "string",
					"numOfDirectSubGroups": 0,
					"numOfDirectDevices": 0,
					"id": 0,
					"azureRegionsInfo": "string"
				}
			],
			"numOfDirectDevices": 0,
			"id": 0,
			"enableNetflow": true,
			"azureTestResultCode": 0,
			"effectiveAlertEnabled": true,
			"defaultCollectorGroupDescription": "string",
			"userPermission": "string",
			"gcpRegionsInfo": "string",
			"saasTestResultCode": 0,
			"defaultCollectorGroupId": 0,
			"groupStatus": "string",
			"numOfGcpDevices": 0,
			"azureTestResult": {
				"noPermissionServices": {},
				"detailLink": {}
			},
			"parentId": 1,
			"awsTestResultCode": 0,
			"customProperties": [
				{
					"name": "addr",
					"value": "127.0.0.1"
				}
			],
			"numOfHosts": 0,
			"defaultAutoBalancedCollectorGroupId": 0,
			"saasTestResult": {
				"nonPermissionApisErrors": [
					"string"
				],
				"invalidStatusUrls": "string",
				"noPermissionService": "string",
				"resultCode": 0,
				"detailLink": "string",
				"noPermissionApis": [
					"string"
				]
			},
			"name": "Linux Servers",
			"gcpTestResult": {
				"noPermissionServices": [
					"string"
				],
				"detailLink": "string",
				"nonPermissionErrors": [
					"string"
				]
			},
			"azureRegionsInfo": "string"
		}
	]
}
```

## Workflow Library Example

[List Device Groups with Logicmonitor and Send Results Via Email](https://library.blinkops.com/workflows/list-device-groups-with-logicmonitor-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-device-groups-with-logicmonitor-and-send-results-via-email/canvas" />
</div>
