Discrepancy Between Exported File Metrics and API Response Data in Genesys Platform

We have an export file from the Genesys platform containing detailed metrics, and we're also using the following API endpoint for similar data:

https://api.mypurecloud.ie/api/v2/analytics/conversations/aggregates/query

When comparing the data between the export file and the API response, we notice a significant discrepancy. The file displays fewer metrics and queue IDs, while the API returns much higher counts. I've ensured that the time Interval and region parameters match for both the file and the API request. Additionally, based on our requirement I specified the filter media type as "voice" in the API payload, as shown below:

{
"interval": "2024-08-05T00:00:00.000Z/2024-08-06T00:00:00.000Z",
"granularity": "P1D",
"groupBy": [
"queueId"
],
"metrics": [
"tAnswered",
"tAbandon",
"tHandle",
"tWait",
"nOffered",
"tAcw",
"tTalk",
"tFlowOut",
"nOverSla",
"tShortAbandon",
"oServiceLevel",
"oServiceTarget",
"tHeld",
"nTransferred",
"nConnected",
"nOutboundAbandoned"
],
"filter": {
"type": "or",
"predicates": [
{
"dimension": "mediaType",
"value": "voice"
}
]
}
}
For example, the file shows around 30 queue IDs, whereas the API response for the same day lists about 213 queue IDs.

Could you help explain why there is such a large difference between the metrics count in the export file and the API response? Any suggestions on how to address this issue would be greatly appreciated.

Thanks Genesys Team.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.