Legacy Dev Forum Posts

 View Only

Sign Up

How do I poll all agents+status+time in status?

  • 1.  How do I poll all agents+status+time in status?

    Posted 06-05-2025 18:22

    NeoTechni | 2022-06-20 17:30:56 UTC | #1

    I'd like to poll all of our agents on a regular basis.

    Is there a way to get an entire list?

    This looks like it might do it but it doesn't show the sample data to be sure https://developer.genesys.cloud/analyticsdatamanagement/analytics/observation/queue-query#routing-status-metrics

    Or is there a better way, like polling all status changes since a specific timestamp (ie: the last time I polled the same data)


    Eos_Rios | 2022-06-21 13:32:45 UTC | #2

    The UI does it by calling POST /api/v2/analytics/users/details/query for every single agent individually after retrieving a list from /api/v2/users with any filtering and paging, so that is probably your only option.


    tim.smith | 2022-06-22 20:52:36 UTC | #3

    NeoTechni, post:1, topic:15234
    I'd like to poll all of our agents on a regular basis.

    Poll them for what? Using real-time notifications is usually preferred over perpetual polling.


    system | 2022-07-23 20:53:01 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 15234