Real-time Queue Stats API returning empty data for waitingCount

Here is the curl command I am using to fetch real-time stats for a specific queue:

curl -X GET "https://myinstance.genesys.cloud/api/v2/analytics/queues/realtime?queuesId=queue-uuid-here&interval=PT1M" \
 -H "Authorization: Bearer <token>" \
 -H "Content-Type: application/json"

The response comes back with a 200 OK status, but the data array is completely empty. I have verified the queue ID is correct by checking the admin portal. I am trying to get the waitingCount and agentsAvailable metrics for a dashboard widget I am building in Python.

I have also tried using the Python SDK like this:

from platformclientv2 import AnalyticsApi, RealtimeQueueQuery

analytics_api = AnalyticsApi()
query = RealtimeQueueQuery(
 queues_id=['queue-uuid-here'],
 interval='PT1M'
)
data, response = analytics_api.post_analytics_queues_realtime(query=query)
print(data)

Same result. Empty list. I am wondering if I need a specific scope in my OAuth token. I am using analytics:read and user:read. I thought that should be enough. The docs are a bit sparse on the exact permissions needed for real-time endpoints versus historical ones.

I am in London, so the timezone is Europe/London. Not sure if that matters for the interval calculation, but I have tried PT5M as well. Still nothing. I am pretty sure the queue has agents logged in and calls waiting, as I can see them in the admin UI in real-time.

Is there a delay in the data propagation? Or am I missing a parameter in the query object? I have checked the network tab in the browser dev tools when looking at the admin queue view, and it seems to call a similar endpoint, but the path is slightly different. It uses /api/v2/analytics/queues/realtime but with a POST body that looks more complex. I am trying to replicate that in my code.

Any ideas on what I am missing? I am stuck on this for a day now. The historical endpoint works fine, so the connection and token are valid. Just the real-time one is failing to return data. I am using the latest version of the Python SDK. I have also tried using the REST API directly with Postman and get the same empty array. It feels like a permissions issue, but I have added queue:read as well. Still no luck.