--- title: "Get All Policy Group" slug: "get-all-policy-group-2" tags: ["IPS 11.1.x", "Reference"] updated: 2026-11-19T12:57:21Z published: 2026-11-19T12:57:21Z canonical: "docs.trellix.com/get-all-policy-group-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Get All Policy Group This URL retrieves all the policy group. ### Resource URL GET domain//policygroup ### Request Parameters URL Parameters: | Field Name | Description | Data Type | Mandatory | | --- | --- | --- | --- | | `domain_id` | Domain id | Number | Yes | ### Response Parameters Following fields are returned if the request parameters are correct, otherwise error details are returned. | Field Name | Description | Data Type | | --- | --- | --- | | `name` | Policy group name | String | | `description` | Policy group description | String | | `ipsPolicy` | IPS policy name | String | | `advancedMalwareInboundPolicy` | Advanced malware inbound policy name | String | | `advancedMalwareOutboundPolicy` | Advanced malware outbound policy name | String | | `connectionLimitingPolicy` | Connection limiting policy name | String | | `firewallPolicy` | Firewall policy name | String | | `qosInboundPolicy` | QoS inbound policy name | String | | `qosOutboundPolicy` | QoS outbound policy name | String | | `protectionOptionsPolicy` | Inspection options policy name | String | ### Example **Request** GET [https:///sdkapi/domain/0/policygroup](https://<NSM_IP>/sdkapi/domain/0/policygroup) **Response** ``` {        “policyGroups”:        [          {              “name”: “pg1”,              “policyGroupId”: 21,              “description”: “desc1”,              “ipsPolicy”: “Default Inline IPS”,              “advancedMalwareInboundPolicy”: “Default Malware Policy”,              “advancedMalwareOutboundPolicy”: “Default Malware Policy”,              “connectionLimitingPolicy”: “Test_CLP1”,              “firewallPolicy”: “FirewallPolicy1”,              “qosInboundPolicy”: “QoSPolicyAdvanced1”          }        ]      } ``` ### Error Information Following error code is returned by this URL: | No | HTTP Error Code | SDK API errorId | SDK API errorMessage | | --- | --- | --- | --- | | 1 | 400 | 4301 | Invalid domain id |