Trying to pull agent utilization data broken down by 30-minute intervals using the Genesys Cloud Analytics API. Specifically looking for tHandle, tAcw, and tHold.
I’m hitting the endpoint:
/api/v2/analytics/agents/summary?interval=PT30M
The request succeeds with a 200 OK. But the returned JSON object for each interval only contains tReady and tWrap. The handle and hold times are missing from the payload.
Here is a of the response data:
{
"interval": "PT30M",
"data": [
{
"dateInterval": {
"start": "2023-10-27T14:00:00.000Z",
"end": "2023-10-27T14:30:00.000Z"
},
"tReady": {
"sum": 1200000,
"count": 5
},
"tWrap": {
"sum": 300000,
"count": 5
}
}
]
}
I’ve checked the documentation for agent-summary. It lists tHandle as an available metric. I tried adding it explicitly to the query parameters like metric=tHandle,tAcw,tHold. The API still returns 200 but the fields remain absent.
Is there a specific grouping or filter required to expose these metrics? Or does the interval parameter suppress them for performance reasons?
I’ve tried reducing the interval to PT1H. Same result. Only ready and wrap times show up.