--- title: "Get Interface/Sub Interface Details" slug: "get-interface-sub-interface-details-2" tags: ["IPS 11.1.x", "Reference"] updated: 2026-11-19T12:57:33Z published: 2026-11-19T12:57:33Z canonical: "docs.trellix.com/get-interface-sub-interface-details-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 Interface/Sub Interface Details This URL gets interface or sub interface details. ### Resource URL GET /sensor//interface/ ### Request Parameters | Field Name | Description | Data Type | Mandatory | | --- | --- | --- | --- | | `sensor_id` | Sensor Id | Number | Yes | | `interface_id or subinterface_id` | Unique id of interface/sub interface | Number | Yes | ### Response Parameters Following fields are returned if the request parameters are correct, otherwise error details are returned. Details of Interfaces: | Field Name | Description | Data Type | | --- | --- | --- | | `InterfaceInfo` | List of interfaces | Array | Details of object in InterfaceInfo: | Field Name | Description | Data Type | | --- | --- | --- | | `vidsId` | Unique Id to identify interface/sub interface | Number | | `name` | Name of the interface | String | | `Description` | Interface description | String | | `InterfaceType` | Traffic type | Object | | `IPSPolicyId` | IPS policy applied on interface | Number | | `DomainId` | ID of the domain to which the interface is added | Number | | `SubInterfaces` | Sub interface details | Object | | `LastModTs` | Last modified timestamp | String | Details of InterfaceType: | Field Name | Description | Data Type | | --- | --- | --- | | `Dedicated` | Default traffic type. No segmentation of traffic | Object | | `Vlan` | Segment of interface into multiple networks by VLAN tags | Object | | `Cidr` | Enables segment of interface into multiple networks by CIDR addressing | Object | | `BridgeVlan` | Segment of interface into multiple networks by bridge VLAN tags | Object | Details of CIDR: | Field Name | Description | Data Type | | --- | --- | --- | | `CidrId` | List of CIDR IDs | Array | Details of Vlan: | Field Name | Description | Data Type | | --- | --- | --- | | `id` | List of VLAN IDs | Array | Details of Bridge Vlan: | Field Name | Description | Data Type | | --- | --- | --- | | `bridgeVlanRangeList` | List of bridge VLAN range | Array | Details of SubInterfaces: | Field Name | Description | Data Type | | --- | --- | --- | | `SubInterfaceInfo` | List of sub interfaces | Array | Details of object in SubInterfaceInfo: | Field Name | Description | Data Type | | --- | --- | --- | | `name` | Name of the interface | String | | `vidsId` | Unique Id to identify subinterface | Number | | `InterfaceType` | Traffic type. VLAN, CIDR, or BridgeVlan | String | | `IPSPolicyId` | IPS policy applied on interface | Number | | `LastModTs` | Last modified timestamp | String | ### Example **Request** GET [https:///sdkapi/sensor/1001/interface/105](https://<NSM_IP>/sdkapi/sensor/1001/interface/105) **Response** ``` { "InterfaceInfo": { "vidsId": 115, "name": "G3/7-G3/8", "Description": "", "Interfacetype": { "Dedicated": null, "Vlan": null, "Cidr": null, "BridgeVlan": { "bridgeVlanRangeList": ["4094-4095", "5-6", "3-4", "1-2"] } }, "IPSPolicyId": 19, "DomainId": 0, "SubInterfaces": { "SubInterfaceInfo": [] }, "LastModTs": "2017-12-12 16:56:11" } } ``` ### Error Information Following error codes are returned by this URL: | S.No | HTTP Error Code | SDK API errorId | SDK API errorMessage | | --- | --- | --- | --- | | 1 | 404 | 1106 | Invalid Sensor | | 2 | 404 | 1107 | Invalid interface or sub-interface id |