跳至内容

Fetching the Time of the User Status

0

I am new to Amazon Connect and I want to fetch the total time for which the user was in a particular state.

Eg:

1 - After logging in, for how many time the user was in "Available" state?

2 - After logging in, for how many time the user was in "Offline" state?

Are there any API Calls to fetch these times?

Please help.

已提问 5 年前687 查看次数

1 回答
0

You can get that data from the native historical reporting. There you can run an Agent report and add the metrics required, e.g. Agent idle time, Non-Productive Time, Online time or time spend in any of the custom Status you may have defined. You can find more information about the historical metrics reports in the Administrator Guide.

Currently you cannot get the data directly via an API as the Agent channel is available in the GetMetricData API. If you require an programmatic way to access that data, you could leverage agent event streams to store and later on calculate changes to your agents states.

AWS

已回答 4 年前

AWS
专家

已审核 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。