---
title: Get all Device Groups
slug: cps-guide/mdm-epmm/get-all-device-groups
createdAt: 2026-10-06T07:45:20.724Z
---

<font color="#000000">This call returns device groups information for device groups existing in the system and includes system-defined, statically or manually managed, and dynamically managed device group information. Device groups correspond to rule IDs.</font>

## HTTP Method

GET

## Request URI

/msa/v1/cps/rule?offset=\<Offset>\&limit=\<Limit>

## Request parameters

| Parameter | Description                                                                                                                                               | Sample Value |
| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| offset    | **Parameter Type:&#x20;**&#x51;uery<br />**Data Type:** String<br />**Default:&#x20;**&#x30;<br />Breaks results into chunks. The syntax is offset=value. | 5            |
| limit     | **Parameter Type:&#x20;**&#x51;uery<br />**Data Type:** String<br />**Default:** 50<br />Limits the return to the specified number of rows.               | 25           |

## Response fields

A list of device groups.

See [Rules](docId\:DK5wUaGcE74hME-EUyNkR).

## Example response

```javascript
{
  "searchResults": [
    {
      "id": 38089,
      "name": "rule1",
      "description": "Rule 1 Description",
      "definition": "PLATFORMTYPE EQ 'IOS'"
    },
    {
      "id": 38090,
      "name": "rule2",
      "description": "Rule 2 Description",
      "definition": "PLATFORMTYPE EQ 'IOS'"
    }
  ],
  "results": 2,
  "offset": 0,
  "limit": 10
}
```
