Hi Team,
I am using the below api : /api/v2/analytics/conversations/details/query, for fetching the active conversations for an agent. But I see there is delay of 10s, sometimes 4s to show the latest conversation in the api response.
We are logging the genesys responses and confirmed that, sometimes the latest conversation doesn't show in the api response at the time of calling. It shows in response, if I call the apo after some times. So I doubt this analytics endpoint is not having the real time updates.
Does the analytics endpoint support the real time updates ?
Is there any real time api endpoint which I can use to get the active conversation for an agent without any delay?
Here are the api endpoint and request object i am using.
API : POST /api/v2/analytics/conversations/details/query
{
"interval": "2023-09-22T16:00:00.000Z/2023-09-23T06:29:00.000Z",
"order": "desc",
"orderBy": "conversationStart",
"paging": {
"pageSize": 25,
"pageNumber": 1
},
"segmentFilters": [
{
"type": "and",
"predicates": [
{
"type": "dimension",
"dimension": "purpose",
"operator": "matches",
"value": "agent"
},
{
"type": "dimension",
"dimension": "userId",
"operator": "matches",
"value": <>
},
{
"type": "dimension",
"dimension": "segmentType",
"operator": "matches",
"value": "interact"
}
]
}
],
"conversationFilters": [
{
"type": "and",
"predicates": [
{
"type": "dimension",
"dimension": "originatingDirection",
"operator": "matches",
"value": "inbound"
},
{
"Type": "dimension",
"Dimension": "conversationend",
"Operator": "notexists",
"Value": null,
}
]
}
]
}