GET
/
dns
/
v2
/
monitor
/
metrics
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
metrics = client.dns.metrics.list()
print(metrics)
"<string>"

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Query Parameters

client_ids
integer[]

Admin and technical user can specify client_id to get metrics for particular client. Ignored for client

zone_names
string[]

Admin and technical user can specify monitor_id to get metrics for particular zone. Ignored for client

Response

200 - plain/text

OK

The response is of type string.