Retrieves a list of recorded URL actions on endpoints in the given site.
GET {{baseUrl}}/api/console/gsm/:gsmKey/sites/:siteId/blockedurls/data?includeDeactivated=true&includeHidden=true&pageNr=4909774&pageSize=84822845&startDate=2022-10-30T10:36:04.6223353Z&endDate=2022-11-29T10:36:04.6223353Z
NOTE: Blocked URLs data is generally available for as far as 90 days in the past. However, the maximum allowed time range between 'startDate' and 'endDate' is 30 days.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
includeDeactivated | boolean | Value indicating whether URL actions of endpoints that are currently deactivated should be included in the response. |
Default is false |
| includeHidden | boolean | | Value indicating whether URL actions of endpoints that are currently hidden should be included in the response.
Default is false |
| pageNr | number | | The number of the page of data which should be returned.
Default value is 1 |
| pageSize | number | | The number of data entries which should be returned for the page. Valid values are between 50 and 1000.
Default value is 100 |
| startDate | string | | The start date of the time range for which data is queried.
Default value is endDate minus 24 hours |
| endDate | string | | The end date of the time range for which data is queried.
Default value is the current date and time. |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"MoreAvailable":false,"IncludeDeactivated":false,"IncludeHidden":false,"PageNr":1,"PageSize":100,"StartDate":"2022-11-27T10:36:04.6067222Z","EndDate":"2022-11-28T10:36:04.6067222Z","BlockedURLs":[{"BlockedUrl":"https://www.suspicious.com/page0.html","BlockReasonId":10,"BlockReasonName":"Abused Drugs","BCRI":null,"Timestamp":"2022-11-28T10:35:00.6067222Z","ActionTaken":"WHITELIST","HostName":"Computer0","EndpointId":"526255bf-0bec-42fd-ba4a-d4e5c8504e14"},{"BlockedUrl":"https://www.malicious.com/page0.html","BlockReasonId":10,"BlockReasonName":"Abused Drugs","BCRI":19,"Timestamp":"2022-11-28T10:34:11.6067222Z","ActionTaken":"BLOCK","HostName":"Computer0","EndpointId":"a05b2a6e-e535-4142-b191-5cf8ec9a6b89"}]}