Analytics Conversations Aggregates returning empty buckets for interval query

Hey folks,

I’m trying to build a custom report that pulls conversation aggregates in 15-minute intervals for a specific queue. I’ve used the Analytics API before for summary data, but this interval query is giving me nothing but empty buckets.

Here’s the JSON payload I’m sending to POST /api/v2/analytics/conversations/queues/aggregates:

{
 "dateFrom": "2023-10-01T00:00:00.000Z",
 "dateTo": "2023-10-01T23:59:59.999Z",
 "groupBy": ["interval"],
 "interval": "15m",
 "selection": {
 "type": "queue",
 "id": "abc123-def456-ghi789"
 },
 "metrics": ["conversation/count", "wrapping/count"]
}

The API returns a 200 OK, which is great, but the buckets array in the response is completely empty. No errors, no warnings. Just []. I know there was traffic on that queue during that date because I checked the standard dashboard in Genesys Cloud.

I’ve tried changing the interval to 1h and 30m, but same result. I also tried removing the groupBy field entirely, thinking maybe it’s not needed for a simple time series, but then it throws a 400 validation error saying groupBy is required for interval queries.

Is there a specific metric or filter I’m missing? Or maybe the date range needs to be smaller? I’ve seen some posts mention that the analytics data might lag, but it’s been 24 hours since the date in the query.

Any ideas what I’m doing wrong here? I’ve checked the docs and it looks pretty straightforward, but I’m hitting a wall. Thanks.