Legacy Dev Forum Posts

 View Only

Sign Up

Most efficient way to get Estimated Wait Time for "all queues"?

  • 1.  Most efficient way to get Estimated Wait Time for "all queues"?

    Posted 06-05-2025 18:30

    plmcgrn | 2024-02-26 20:02:53 UTC | #1

    We're currently pulling queue-related data out of Genesys Cloud and into a 3rd party monitoring platform called LogicMonitor. We're using 3 API's to get the data we need.

    /api/v2/routing/queues?pageSize=250 To get our list of queues. We have > 250, but that is the max page size, so we call this twice

    /api/v2/analytics/queues/observations/query To get queue-specific metrics like "oAlerting", "oInteracting", "oWaiting", "oMemberUsers", "oActiveUsers", "oOffQueueUsers", "oOnQueueUsers"

    We batch these to make maximum efficiency of API limits, so we do 50 queues per call to this endpoint.

    /api/v2/routing/queues/{queueId}/estimatedwaittime To get the EWT for the queue. This is the one we can't find a more efficient way to get, at scale/for all.

    Is there any way to get EWT for multiple queues in a single API call to make this more efficient? I can optimize our polling code to stay within API rate limiting, but I'd really prefer to make the actual number of calls as few as possible for overall performance.


    system | 2024-03-27 20:03:48 UTC | #2

    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: 24883