--- title: "Get All Policy Assignments Device" slug: "get-all-policy-assignments-device" tags: ["Reference", "IPS 10.1.10"] updated: 2026-09-23T09:34:39Z published: 2026-09-23T09:34:39Z canonical: "docs.trellix.com/get-all-policy-assignments-device" --- > ## 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 Assignments Device This URL retrieves all policies assigned for the devices in the given domain. ## Resource URL GET domain//policyassignments/device ## 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 | | --- | --- | --- | | deviceName | Device name | String | | deviceId | Device id | Number | | firewallPolicyLast | Post firewall policy | String | | firewallPolicyFirst | Pre-firewall policy | String | | reconnaissancePolicy | Reconnaissance policy | String | ## Example **Request** GET [https:///sdkapi/domain/0/policyassignemnts/interface](https://%3CNSM_IP%3E/sdkapi/domain/0/policyassignemnts/interface) **Response** ``` policyAssignmentsList {   [       {               "deviceName": "API_2950_2",               "deviceId": 1001,               "firewallPolicyLast": "NSAT_Adv_Rules_for_Interface",               "firewallPolicyFirst": "NSAT_Adv_Rules_for_Interface        }         ]   } ```   ## Error Information Following error codes are returned by this URL: | No | HTTP Error Code | SDK API errorId | SDK API errorMessage | | --- | --- | --- | --- | | 1 | 400 | 4301 | Invalid domain id | | 2 | 400 | 1106 | Invalid Sensor id |