View total number of running VM/LXC

Editor

Well-Known Member
Apr 26, 2017
108
1
58
Turkey
Hi,

How can I view the total of machines running with API?

I'm trying to reach the values here;

177f04a2-d066-4aee-a564-d124b209ab1c.png


I couldn't find it in the APIs document.
 
Are you aware of that? You're always helping me :) Thank you

Code:
GET /cluster/resources
I checked, but I didn't see the "8" (number of machines currently running on my server) value in JSON file.

I wonder if the "running" is collecting the number of machines? Not a value that comes directly with JSON, right?