Returns a traffic summary (e.g. the number of total DNS requests, blocked DNS requests, and risky DNS requests) for each site under a given GSM.

GET {{baseUrl}}/api/console/gsm/:gsmKey/dnsp/trafficsummary?startDate=2022-10-30T10:36:05.059843Z&endDate=2022-11-29T10:36:05.059843Z

NOTE: The maximum allowed time difference between 'startDate' and 'endDate' is 30 days.

Request Params

KeyDatatypeRequiredDescription
startDatestringIf specified, returns DNS traffic summary after (or at) the given date. If omitted, defaults to 'endDate' minus 24 hours.
endDatestringIf specified, returns DNS traffic summary before (or at) the given date. If omitted, defaults to the current date and time.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"StartDate":"2022-11-28T10:36:05.059843Z","EndDate":"2022-11-29T10:36:05.059843Z","Sites":[{"SiteId":"9ec04f8b-9064-4249-9775-c3326cde4087","SiteName":"Site 1","DNSRequests":10830,"BlockedDNSRequests":122,"RiskyDNSRequests":188},{"SiteId":"443e9fa6-521b-44c1-8c53-b512347be304","SiteName":"Site 2","DNSRequests":10939,"BlockedDNSRequests":107,"RiskyDNSRequests":110}]}