Solved: Search API graphql wallboard for webex contact center

I am creating a wallboard to display realtime stats of the webex contact center. 

There are 3 stats I need to get from the search API.

1. Total agents logged in.

2. Total agents available.

3. Total agents not available.

For total agents logged in I have attached the query I am using and the output I get when I run it. For the ‘from’ and ‘to’ section I am using from 10 seconds ago and to now as I want up to date info. I’m getting zero agents logged in even though I am logged into agent desktop. I have also attached a picture of logged into agent desktop. 

What am I doing wrong with this query.

Also I can’t find a query to get total agents available and total agents not available and also need help with that.

Read more here: Source link