I would like to obtain relative real-time (hourly) data on the amount of time spent on different user status by each agent on Purecloud. Eg. Available, On Queue, Busy etc
Is this the correct API to use?
POST/api/v2/analytics/users/aggregates/query
tSystemPresence is the high level category of the time.
tOrganizationalPresence is any custom defined sub-breakdown of that time.
tAgentRoutingStatus is the highest level routeability of them during a period.
Just remember they're three different perspectives and don't try to add them all together or mix and match them and you should be fine.