Help querying data in Analytics GraphQL API

Hi! I'm setting up Zabbix to monitor given subdomains in Cloudflare by making API calls to get analytics data from the fields listed below for given subdomains in the zone -
requests
bytes
cachedBytes
threats
pageViews
visits

The first 5 datasets can be queried from the httpRequests1hGroups (or 1m or 1d) group and the visits dataset can be queried from httpRequestsAdaptiveGroups.

The issue I'm having is that there doesn't seem to be a supported filter object for 'subdomains' in httpRequests1hGroups even though httpRequestsAdaptiveGroups supports the applicable filter object, clientRequestHTTPHost.

I would appreciate any insight into how I can filter httpRequestsGroups data in a similar way so that I can get the data for each subdomain (or host). I see this can be done in Web Analytics dashboard but making calls to the API seems an easier route especially given that Zabbix already has a template that makes these calls though it doesn't filter the data by subdomain.
Please and Thank you!!!
Was this page helpful?