Hello everyone,
I am a bit confused about the Cloudflare Graphql API, and I just need to be sure that this is the right query to get total bandwidth and unique visitors for a particular site:
query = '''
{
viewer {
zones(filter: { zoneTag: $zoneTag }) {
httpRequests1dGroups( limit: 100, filter: { date_geq: $date_geq }) {
sum {
bytes
}
uniq {
uniques
}
}
}
}
}
'''
Is this the right query? if now what is?
My question came from the fact that can see some differences on both between what I get from the API and what I have on webgui.
Thank you in advance.