Skip to main content
GET
Get DNS Query Statistics

Authorizations

AccessKey
string
header
required

API Access Key authorization header

Scopes

User
AccessKey
UserApi
AccessKey
SubuserAPIDns
AccessKey
SubuserDns
AccessKey
SubuserManage
AccessKey
SubuserAPIManage
AccessKey
ScopedApiKey
AccessKey
User
bearer
UserApi
bearer
SubuserAPIDns
bearer
SubuserDns
bearer
SubuserManage
bearer
SubuserAPIManage
bearer
ScopedApiKey
bearer

Path Parameters

id
integer<int64>
required

The ID of the DNS Zone for which the statistics will be returned

Query Parameters

dateFrom
string<date-time> | null

(Optional) The start date of the statistics. If no value is passed, the last 30 days will be returned

dateTo
string<date-time> | null

(Optional) The end date of the statistics. If no value is passed, the last 30 days will be returned

Response

Returns the statistics for the DNS Zone with the given ID

TotalQueriesServed
integer<int64>
QueriesServedChart
object | null
NormalQueriesServedChart
object | null
SmartQueriesServedChart
object | null
QueriesByTypeChart
object | null