Rest Api V3 - Get Host Usage Stats | Nutanix Community
Skip to main content
Hi,



I'm already consuming API V3.0 to retrieve data from Nutanix Element. But i',m not figure how can i get usage stats info (CPU, RAM, DISK) from hosts or VMs.



There's a way to do that on V3 or i need to call v2 or v1?

Hello @BrunoR 

Sorry for the late reply. 

I’m searching for a way to achieve this using V3 but I know for sure you can achieve this using V2.

Try the following link to see the end-points. 
https://www.nutanix.dev/reference/prism_element/v2/


To get details regarding host 
https://www.nutanix.dev/reference/prism_element/v2/api/hosts/get-hosts-uuid-gethost

To get details of the VM 
https://www.nutanix.dev/reference/prism_element/v2/api/vms/get-vms-uuid-getvm