We are building a reporting module using the Genesys Cloud Analytics API (/api/v2/analytics/conversations/details/query) to extract historical data. The goal is to aggregate interaction volumes grouped by routing.queue.id and mediaType.
The query body looks like this:
{
"dateFrom": "2023-10-01T00:00:00.000Z",
"dateTo": "2023-10-08T00:00:00.000Z",
"viewId": "interactions",
"groupBy": [
"routing.queue.id",
"mediaType"
],
"select": [
"count"
]
}
When we send this via the Python SDK or raw HTTP, the response returns a 200 OK but the entities array is empty. If we remove mediaType from the groupBy array, the query returns valid data for queues. Adding mediaType back in causes the result set to vanish entirely.
We’ve verified that mediaType is a valid dimension for the interactions view in the documentation. There are no error codes returned, just an empty list. Is there a specific constraint on combining queue IDs with media types in the aggregation engine? Or is the syntax for the groupBy array incorrect when handling multiple dimensions?
The environment is running the latest version of the genesys-cloud-python SDK. We’ve tried using the raw REST endpoint as well with the same outcome.