User Detail query not returning Routing Status

I am trying to get the user status details from the user details query and consistently the query does not return the routingStatus at all for some users.
I am using the user details query api/v2/analytics/users/details/query with the user filter "userId" matching all the available userIds.

One of the userId for which the routingStatus is not returned : 000074d6-aa4a-41c5-a61a-28fcef81434e

Is there any condition on when the query should return the routingStatus ?
And are there any conditions on when the routing status gets recorded in purecloud based on the users'
actions ?

  1. Are you iterating through all result pages to get the full result set?
  2. Does your interval contain the current time?

Yes, I am iterating all the pages of the result set. I only get the systemPresence for this user and no routingStatus at all. However for other users I get both systemPresence and routingStatus in the result.

If you're sure that the user has routing status events during the interval and you have retrieved all pages of data, please open a ticket with PureCloud Support to investigate the missing data.

Sure. Thank you. I have also observed that the user filters on the user details query never works. No matter what user filters are applied, the query always returns the details of all the users.... Is that a defect in the query or was it purposefully built to behave that way ?

Can you make a new post for this (it's a different issue) and provide the actual JSON body you're sending for the query?