isamu | 2024-12-19 03:00:49 UTC | #1
Hi everyone, I'm sorry if I posted in the wrong place.
I am planning to make the following API request to obtain statistics on user state transitions on GenesysCloud. By analyzing the output results of "metric" and "qualifier," I believe I can achieve this goal.
However, I am facing a problem that I cannot solve.
The API "/api/v2/analytics/users/aggregates/query" has the following limitation:
Key: aggregates.query.user.predicates.max Description: The maximum number of users allowed in filters for user status aggregate queries. Limit: 100
If anyone knows, please advise.
1.Is there a way to specify all users? 2.Do you know of any other APIs that can obtain statistics on user state transitions?
Thanks,Isamu
Example API Request------ { "filter": { "type": "and", "clauses": [ { "type": "or", "predicates": [ { "dimension": "userId", "value": "The specified user ID" }, { "dimension": "userId", "value": "The specified user ID" } ] } ] }, "metrics": [ "tSystemPresence", "tAgentRoutingStatus", "tOrganizationPresence" ], "groupBy": [ "userId" ], "granularity": "PT15M", "interval": "2024-12-17T00:00:00.000Z/2024-12-17T23:59:59.999Z" }
Example API Request------
Eos_Rios | 2024-12-19 18:16:36 UTC | #2
Gotta loop it.
https://developer.genesys.cloud/forum/t/getting-all-user-aggregates-from-api-v2-analytics-users-aggregates-query/24628
isamu | 2024-12-20 04:33:21 UTC | #3
Hi @Eos_Rios I’m honored to receive your comment. Ah, I didn’t realize there was a similar post before. I apologize for that. Thank you for your advice!
system | 2025-01-19 04:33:37 UTC | #4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 30911