Real-time queue stats returning null for waitingCount via /api/v2/analytics/queues/realtime

Trying to pull live queue metrics for a dashboard widget. Specifically need the waitingCount and agentsAvailable fields. The documentation says /api/v2/analytics/queues/realtime should handle this. I’m sending a POST request with the queue IDs and the specific metrics array. The request succeeds with a 200 OK, but the data array inside the response has empty objects for the metrics I need.

Here’s the payload I’m sending:

{
 "queues": ["8a1b2c3d-4e5f-6g7h-8i9j-0k1l2m3n4o5p"],
 "interval": "PT1S",
 "metrics": ["waitingCount", "agentsAvailable", "tHandle"]
}

The response looks like this:

{
 "data": [
 {
 "id": "8a1b2c3d-4e5f-6g7h-8i9j-0k1l2m3n4o5p",
 "metrics": {
 "tHandle": {
 "value": 120.5
 }
 }
 }
 ]
}

Notice waitingCount and agentsAvailable are completely missing. tHandle shows up fine. I’ve checked the queue status in the admin UI, and there are definitely calls waiting. Tried adding groupTypes to the request body, no change. Also tried swapping the interval to PT5S just in case, same result. The docs mention that some metrics require specific grouping, but for a single queue query, I don’t see what else I’m missing. Is there a permission scope I’m overlooking? I have analytics:query:read and routing:queue:read. Feeling like I’m hitting a wall here.