Delay in the response for the api: /api/v2/analytics/conversations/details/query

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,
}
]
}
]
}

Hello,

You can subscribe to the v2.users.{id}.conversations topic if you are looking for real-time conversation data.

Regards

Thanks, @Ebenezer_Osei for your immediate response on this.

As I need to call this logic from the server side api, I am looking for a no subscription model api.

Is there any other non subscription model api, which I can relays on ?

Is there any delay in analytics endpoint on updating the conversations ?

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