We are attempting to build a custom interval report using the Analytics Conversations Aggregates query. The goal is to pull interaction counts broken down into 15-minute buckets for a specific queue. The Terraform state is clean, but the API response is consistently returning zero rows when we specify a custom interval in the request body.
We have verified that the same query works perfectly with the default hourly interval. When we switch to 15 minutes, the response status is 200, but the data array is empty. We are using the Python SDK to make the request. Here is the payload we are sending:
{
"dateFrom": "2023-10-01T00:00:00.000Z",
"dateTo": "2023-10-01T23:59:59.999Z",
"interval": "15 minutes",
"groupings": ["queueId"],
"metrics": ["conversationCount"]
}
The environment details are as follows:
- Genesys Cloud API version: v2
- SDK: PureCloud Platform Client v145.0.0
- Timezone: Europe/Berlin
- Queue ID: Valid and active
We have tried adjusting the dateFrom and dateTo to ensure they align with 15-minute boundaries, but the result remains the same. The documentation states that custom intervals are supported for aggregates, yet the behavior suggests otherwise. Has anyone encountered this issue with sub-hourly intervals in the aggregates endpoint? The hourly bucket works fine, which makes us think the syntax for the interval string might be incorrect, but 15 minutes seems standard.