Hi Aaron,
the API being used by that report is `POST /api/v2/analytics/users/aggregates/query`
With a request payload like this:
{
"filter": {
"type": "and",
"clauses": [
{
"type": "or",
"predicates": [
{
"dimension": "userId",
"value": "fec34eaa-818e-4617-b317-9360a00089fc"
}
]
}
]
},
"metrics": [
"tSystemPresence",
"tAgentRoutingStatus",
"tOrganizationPresence"
],
"groupBy": [
"userId"
],
"interval": "2025-06-04T05:00:00.000Z/2025-06-04T14:30:00.000Z"
}
------------------------------
Jacob Shaw
Sr. Software Engineer
------------------------------
Original Message:
Sent: 05-19-2025 10:03
From: Aaron Becraft
Subject: Create API connections to match front end report - Agent Status Detail Report
We need some help in getting the correct API connections that will recreate the Agent Status Detail report, by Duration, like we use in the UI. Support has told me they cannot help and pointed me here. Is there anyone that can help us to get connected with the correct API's needed to re-create that front end report?
#PlatformAPI
------------------------------
Aaron Becraft
Sr. Director of Offline Operations
------------------------------