I am constructing an aggregation query for the Analytics API to group by queue and media type. The endpoint is POST /api/v2/analytics/conversations/details/query. Here is the JSON payload I am sending:
{
"dateFrom": "2023-10-01T00:00:00Z",
"dateTo": "2023-10-31T23:59:59Z",
"groupBy": ["queue.id", "mediaType"],
"select": ["queue.name", "mediaType", "duration"]
}
The API returns a 200 OK, but the result set is empty. We have verified that data exists for this period. The query structure looks correct according to the docs. What am I missing.