GET /service/api/console/gsm/{gsmKey}/sites/{siteId}/endpoints
?type={type}
&hostName={hostName}
&machineId={machineId}
&order={order}
&orderDirection={orderDirection}
&pageSize={pageSize}
&pageNr={pageNr}
Gets the list of endpoints on a given GSM site.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
gsmKey |
The GSM console keycode. |
string |
Required |
siteId |
The site identifier. |
string |
Required |
type |
Can be set to "active" (returns active endpoints only) or "deactivated" (returns deactivated endpoints only). If this parameter is omitted, endpoints regardless of their activation state are returned. |
string |
None. |
hostName |
Used to search for a particular hostname. |
string |
None. |
machineId |
Used to search for a particular machine. |
string |
None. |
order |
Used to determine the order field. Valid values are "hostname", "firstseen", "lastseen", "agentversion", "lastinfected". Default value is "hostname". |
string |
None. |
orderDirection |
Used to sort the data. "A" for ascending, "D" for descending. If orderDirection is omitted or invalid, the data will be sorted in ascending order. |
string |
None. |
pageSize |
Specifies the number of records being returned. |
integer |
Default value is 50 |
pageNr |
Specifies the page number. Can be used to retrieve the next batch of records. Default value is 1. |
integer |
Default value is 1 |
URI Sample(s)
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/3515-3EC8-3018-4DAB-A776/sites/3c5b599c-f244-4c7e-a78b-b3e9f252fac8/endpoints
|
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/3515-3EC8-3018-4DAB-A776/sites/3c5b599c-f244-4c7e-a78b-b3e9f252fac8/endpoints?type=active
|
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/3515-3EC8-3018-4DAB-A776/sites/3c5b599c-f244-4c7e-a78b-b3e9f252fac8/endpoints?hostName=MyComputer1
|
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/3515-3EC8-3018-4DAB-A776/sites/3c5b599c-f244-4c7e-a78b-b3e9f252fac8/endpoints?machineId=e12cee848565435b8533ec7540366f13:::9a3ff75d83634d1386af15c238b575fb:::9a3ff75d83634d1386af15c238b575fb
|
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/3515-3EC8-3018-4DAB-A776/sites/3c5b599c-f244-4c7e-a78b-b3e9f252fac8/endpoints?pageSize=100&pageNr=3
|
GET
|
https://unityapi.webrootcloudav.com/service/api/console/gsm/3515-3EC8-3018-4DAB-A776/sites/3c5b599c-f244-4c7e-a78b-b3e9f252fac8/endpoints?order=lastseen&orderDirection=A
|
Body Parameters
None.
Response Information
Resource Description
Information about the list of endpoints on a given GSM site.
GetEndpointsResponseModelName | Description | Type | Additional Information |
---|---|---|---|
TotalAvailable |
Use this value to determine if you need to retrieve additional pages of data. If TotalAvailable is larger than PageNr * PageSize then more endpoints are available. |
integer |
None. |
PageNr |
The number of the page that was request. |
integer |
None. |
PageSize |
The size of the page that was requested. |
integer |
None. |
Endpoints |
List of endpoint records. |
Collection of GetEndpointsResponseModel_Endpoint |
None. |
Sample Response
{ "TotalAvailable": 2, "PageNr": 1, "PageSize": 50, "Endpoints": [ { "Seq": 1, "EndpointId": "95d39837-d094-47ae-91a7-e8891b39606e", "HostName": "MyComputer1", "GroupName": "Test Group", "FirstSeen": "2025-04-18T13:17:42.8551858Z", "LastSeen": "2025-04-18T13:17:42.8551858Z", "AgentVersion": "9.0.13.58", "LicenseKey": "FC05-032F-D7C6-4A7A-A256", "Expired": false, "LastChangesUserId": "ec5cc9a9-fc80-45dc-9966-61793b6cb366", "MachineId": "909AFD52161D455E87F4931F8132046E:::BD919904C15C41D28800CE5EBB3F63B6:::BD919904C15C41D28800CE5EBB3F63B6", "PolicyId": "d844aa0f-8086-4f22-bda5-424b65e1b2f5", "VM": false, "AgentLanguage": "en", "FriendlyPCName": "", "GroupId": "02bf1f6e-d248-4e07-8127-350346b72ee1", "PolicyName": "Test Policy", "LastInfected": "2025-06-18T13:17:42.8551858Z", "InfectedNow": false, "NumUsers": 1, "MaxUsers": 2, "InternalIP": "10.38.151.252", "MACAddress": "FC-69-86-E1-44-B0", "ADDomain": "domain.webroot.com", "ADOU": "Webroot.Computers", "Workgroup": "WORKGROUP", "CurrentUser": "Paul", "Mac": false, "WindowsFullOS": "Windows 7 Service Pack 1 (Build 7601) 64bit", "LastPublicIP": "95.224.50.166", "Deactivated": false, "LastScanSeq": "1330996674", "ModifiedDate": "2025-09-11T13:17:42.8551858Z", "IsolationStatus": "UNISOLATED", "ActiveModules": [ "endpoint" ] }, { "Seq": 2, "EndpointId": "be558122-f4ce-4d3e-97a3-a08be8a89082", "HostName": "MyComputer2", "GroupName": "Test Group", "FirstSeen": "2024-11-18T13:17:42.8551858Z", "LastSeen": "2024-11-18T13:17:42.8551858Z", "AgentVersion": "9.0.13.58", "LicenseKey": "FC05-032F-D7C6-4A7A-A256", "Expired": false, "LastChangesUserId": "46b3abd8-41b6-401a-bd6f-8d649355a8a6", "MachineId": "C904B4122FB847AD8D7D4419C24D3EC7:::41D0264759AF4CEB835131DB50FDFF0A:::41D0264759AF4CEB835131DB50FDFF0A", "PolicyId": "f3890770-cd1f-415b-8397-78f9601a7f2b", "VM": false, "AgentLanguage": "en", "FriendlyPCName": "", "GroupId": "689418a1-1c20-41ac-ba9f-183e2be10f77", "PolicyName": "Test Policy", "LastInfected": "2025-03-18T13:17:42.8551858Z", "InfectedNow": false, "NumUsers": 1, "MaxUsers": 4, "InternalIP": "10.212.85.223", "MACAddress": "E9-25-31-FC-61-30", "ADDomain": "domain.webroot.com", "ADOU": "Webroot.Computers", "Workgroup": "WORKGROUP", "CurrentUser": "Paul", "Mac": false, "WindowsFullOS": "Windows 7 Service Pack 1 (Build 7601) 64bit", "LastPublicIP": "95.89.17.133", "Deactivated": false, "LastScanSeq": "1650809229", "ModifiedDate": "2025-09-04T13:17:42.8551858Z", "IsolationStatus": "UNISOLATED", "ActiveModules": [ "endpoint" ] } ] }
<GetEndpointsResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.Console.Models"> <Endpoints> <GetEndpointsResponseModel_Endpoint> <ADDomain>domain.webroot.com</ADDomain> <ADOU>Webroot.Computers</ADOU> <ActiveModules xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>endpoint</d4p1:string> </ActiveModules> <AgentLanguage>en</AgentLanguage> <AgentVersion>9.0.13.58</AgentVersion> <CurrentUser>Paul</CurrentUser> <Deactivated>false</Deactivated> <EndpointId>95d39837-d094-47ae-91a7-e8891b39606e</EndpointId> <Expired>false</Expired> <FirstSeen>2025-04-18T13:17:42.8551858Z</FirstSeen> <FriendlyPCName></FriendlyPCName> <GroupId>02bf1f6e-d248-4e07-8127-350346b72ee1</GroupId> <GroupName>Test Group</GroupName> <HostName>MyComputer1</HostName> <InfectedNow>false</InfectedNow> <InternalIP>10.38.151.252</InternalIP> <IsolationStatus>UNISOLATED</IsolationStatus> <LastChangesUserId>ec5cc9a9-fc80-45dc-9966-61793b6cb366</LastChangesUserId> <LastInfected>2025-06-18T13:17:42.8551858Z</LastInfected> <LastPublicIP>95.224.50.166</LastPublicIP> <LastScanSeq>1330996674</LastScanSeq> <LastSeen>2025-04-18T13:17:42.8551858Z</LastSeen> <LicenseKey>FC05-032F-D7C6-4A7A-A256</LicenseKey> <MACAddress>FC-69-86-E1-44-B0</MACAddress> <Mac>false</Mac> <MachineId>909AFD52161D455E87F4931F8132046E:::BD919904C15C41D28800CE5EBB3F63B6:::BD919904C15C41D28800CE5EBB3F63B6</MachineId> <MaxUsers>2</MaxUsers> <ModifiedDate>2025-09-11T13:17:42.8551858Z</ModifiedDate> <NumUsers>1</NumUsers> <PolicyId>d844aa0f-8086-4f22-bda5-424b65e1b2f5</PolicyId> <PolicyName>Test Policy</PolicyName> <Seq>1</Seq> <VM>false</VM> <WindowsFullOS>Windows 7 Service Pack 1 (Build 7601) 64bit</WindowsFullOS> <Workgroup>WORKGROUP</Workgroup> </GetEndpointsResponseModel_Endpoint> <GetEndpointsResponseModel_Endpoint> <ADDomain>domain.webroot.com</ADDomain> <ADOU>Webroot.Computers</ADOU> <ActiveModules xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>endpoint</d4p1:string> </ActiveModules> <AgentLanguage>en</AgentLanguage> <AgentVersion>9.0.13.58</AgentVersion> <CurrentUser>Paul</CurrentUser> <Deactivated>false</Deactivated> <EndpointId>be558122-f4ce-4d3e-97a3-a08be8a89082</EndpointId> <Expired>false</Expired> <FirstSeen>2024-11-18T13:17:42.8551858Z</FirstSeen> <FriendlyPCName></FriendlyPCName> <GroupId>689418a1-1c20-41ac-ba9f-183e2be10f77</GroupId> <GroupName>Test Group</GroupName> <HostName>MyComputer2</HostName> <InfectedNow>false</InfectedNow> <InternalIP>10.212.85.223</InternalIP> <IsolationStatus>UNISOLATED</IsolationStatus> <LastChangesUserId>46b3abd8-41b6-401a-bd6f-8d649355a8a6</LastChangesUserId> <LastInfected>2025-03-18T13:17:42.8551858Z</LastInfected> <LastPublicIP>95.89.17.133</LastPublicIP> <LastScanSeq>1650809229</LastScanSeq> <LastSeen>2024-11-18T13:17:42.8551858Z</LastSeen> <LicenseKey>FC05-032F-D7C6-4A7A-A256</LicenseKey> <MACAddress>E9-25-31-FC-61-30</MACAddress> <Mac>false</Mac> <MachineId>C904B4122FB847AD8D7D4419C24D3EC7:::41D0264759AF4CEB835131DB50FDFF0A:::41D0264759AF4CEB835131DB50FDFF0A</MachineId> <MaxUsers>4</MaxUsers> <ModifiedDate>2025-09-04T13:17:42.8551858Z</ModifiedDate> <NumUsers>1</NumUsers> <PolicyId>f3890770-cd1f-415b-8397-78f9601a7f2b</PolicyId> <PolicyName>Test Policy</PolicyName> <Seq>2</Seq> <VM>false</VM> <WindowsFullOS>Windows 7 Service Pack 1 (Build 7601) 64bit</WindowsFullOS> <Workgroup>WORKGROUP</Workgroup> </GetEndpointsResponseModel_Endpoint> </Endpoints> <PageNr>1</PageNr> <PageSize>50</PageSize> <TotalAvailable>2</TotalAvailable> </GetEndpointsResponseModel>