User Aggregate API

Hi Team,

We are using api-https://api.mypurecloud.com/api/v2/analytics/users/aggregates/query to get data from 1st Jan 2020. We are able to get data for one user and one TimeInterval. But when trying multiple times with multiple users (less than 100), it is giving frequent 503 error.
Can we use this API to get history data? If yes then till how many days?
Is there any async api for same to get the history data.

503 responses are considered retryable. See documentation here: https://developer.genesys.cloud/api/rest/rate_limits#retrying-other-responses

You can use it to get aggregate presence information for a user. See information here: https://developer.genesys.cloud/api/rest/v2/analytics/user_aggregate

Not in aggregate, see the user detail job: https://developer.genesys.cloud/api/rest/v2/analytics/user_details_job

Thank you for your response smith. We know that we can use it to get aggregate presence information for a user.
Our case is to bring data from this api from 1st Jan 2020 using this API and API is giving error while fetching that information. It is first giving 504 error and then we wait for 1 minute to call api again and it is giving 503 error.
Question here is : Can this API get us data from 1 Jan 2020 ? Some APIs like conversation detail, they can only fetch data till 558 days backwards as mentioned here- Analytics Conversation Detail Endpoint API query interval change - Genesys Cloud Resource Center (mypurecloud.com) . is it same with this APi?

yes

No, that post is about /api/v2/analytics/conversations/details/query, which is not the resource you've mentioned in your post.

If you feel these errors are abnormal, please open a case with Genesys Cloud Care to investigate; server-side errors and customer-specific data cannot be investigated via the forum.

Thank you Smith. Conversation API example here is only for reference to get information about user aggregate API meaning if user aggregate api has any logic like 558 days backwards only we can get data from user aggregate API

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