Refreshing the getAnalytics API

How often is the https://platform.kore.ai/api/public/bot/{bot-id}/getAnalytics API refresh with error data from API or script calls?

Thank you!
Regards,

This is very important.

1 Like

Hello Eugenia,

May i request you to elaborate more on the use case requirement here ?

Thank you,
Srujan Madderla
Kore.ai Community Team

Hello Srujan Madderla!
Yes, of course. We’re considering actively monitoring errors in API or script calls to generate alerts when our Virtual Assistants are in production.
For this, it’s important to know how often we see updates to this API. For example, if it’s updated every minute, it’s useful for live monitoring, but if it’s updated every 20 minutes, it wouldn’t be useful.

I hope you understand the objective.
Thank you very much!
Best regards,
Eugenia.

The getAnalytics endpoint pulls straight from the live analytics index. New records (including service-node or script-node failures) are searchable roughly 30-60 seconds after the bot logs the event. There is no batch “refresh” window. Data streams in continuously, so what you can see on the XO dashboards in “real-time” is what the API returns.

2 Likes

Thank you very much, Scott.
Best regards!
Eugenia.