The Open Messaging API is specifically for the messaging. If you want to query On Queue agent counts, etc., you can use the /api/v2/analytics/queues/observations/query
There are multiple threads in the Main community regarding how to query various variations of how many agents are On Queue or Online etc. You can search there to see more info (it is related to using a Data Action in Architect, but you can see the API endpoints and logic being used)
------------------------------
George Ganahl GCCX-AI, GCP, GCSME
Technical Adoption Champion
Genesys
2024 Community Member of the Year
------------------------------