Stuck on a problem and need help troubleshooting a request to the Analytics API for agent utilization metrics (tHandle, tAcw, tHold) broken down by 30-minute intervals.
I am constructing a POST request to /api/v2/analytics/summaries/aggregates/query with the following body:
{
"interval": "30m",
"dateRange": {
"from": "2023-10-01T00:00:00.000Z",
"to": "2023-10-01T23:59:59.999Z"
},
"groupings": {
"by": ["agent"]
},
"metrics": ["tHandle", "tAcw", "tHold"]
}
The endpoint returns a 200 OK, but the response payload lacks the granular 30-minute interval data, returning only daily aggregates instead.
“The response does not include the expected interval breakdown for the requested metrics.”
Is there a specific metric configuration or additional header required to force the API to return data at the 30m interval level for these specific interaction metrics?