Actually, making an API call that validates the amount of "On Queue" agent will return the amount of agents that are in the "On Queue" status, but will not discriminate if the agent is actually available to receive an interaction, or interacting on an ACD interaction...
The requirement there is to filter by routingStatus = Idle, which will validate that there are idle (available) agents in the queue.
------------------------------
Eric Dauphinais
Solution Architect
Quovim C3
edauphinais@quovimc3.com------------------------------