CXone /api/v2/analytics/queues real-time stats returning stale data in Kotlin

We’ve been trying to pull real-time queue metrics (waiting count, agents available) from CXone using the /api/v2/analytics/queues endpoint. The goal is to update a UI indicator in our Kotlin Android app without polling the full conversation history.

Here’s the request we’re making:

val url = "https://${orgDomain}/api/v2/analytics/queues"
val request = Request.Builder()
 .url(url)
 .header("Authorization", "Bearer $accessToken")
 .header("Content-Type", "application/json")
 .get()
 .build()

val response = client.newCall(request).execute()

The response comes back with a 200 OK, but the metrics object seems to be delayed by several minutes. We’re seeing waitingCount reflect data from 5-10 minutes ago, not real-time.

Is there a specific parameter or header we need to include to get truly real-time data? Or is this endpoint inherently batched?

We’ve also tried adding interval=R10000 to the query params, but that just throws a 400 Bad Request.

Any ideas on how to get fresher data?