Genesys Cloud Statistics API returning empty queue metrics for real-time observation

We are attempting to pull real-time queue observation data, specifically the waiting count and agents available, via the Statistics API. The goal is to feed this into our Terraform-driven alerting pipeline.

I have constructed the request to hit /api/v2/analytics/stats/queues/query. The documentation suggests that setting intervalType to REAL_TIME should yield the current snapshot. Here is the JSON payload we are sending in the POST body:

{
 "dateFrom": "2024-05-20T08:00:00.000Z",
 "dateTo": "2024-05-20T09:00:00.000Z",
 "intervalType": "REAL_TIME",
 "groupBy": ["queueId"],
 "metrics": [
 "queueWaitCount",
 "agentsAvailableCount"
 ],
 "filter": {
 "type": "AND",
 "clauses": [
 {
 "dimension": "queueId",
 "operator": "IN",
 "values": ["abc-123-def-456"]
 }
 ]
 }
}

The API returns a 200 OK status. The response structure is valid, yet the entity array is consistently empty. We have confirmed the queue ID is correct and that agents are actively logging in. The state file shows no drift on the queue configuration itself.

Is there a specific permission scope missing in the OAuth token? We are using analytics:read. Or perhaps the REAL_TIME interval requires a different date range configuration? The system clock is synchronized to UTC. We are seeing this behavior across multiple queues, not just the one listed. The latency on the request is under 200ms, so it is not a timeout issue.