where are the performance "stats" in the v3 api | Nutanix Community
Skip to main content

I posted this earlier in the wrong forum. (Sorry about that. I’m a newb.) I am reposing here. I cannot seem to find the the performance stats in the v3 API that are available by default in the v2 get APIs for vms, clusters, hosts, etc.? Are the performance stats available in v3? If so does anyone know the endpoints. I’ve searched but cannot find them. I suspect v2 is going to be supported for quite a while so I can just use v2 but didn’t what to rule out v3 until I had a good reason to.

v2 API is Prism Element only you get information and tell it how to apply changes. v3 API is Prism Central only it’s intentful so you declare the state you would like and PC builds it for you. I think neither of them are going away anytime soon. See Nutanix API versions – What are they and what does each one do? For more info.


To add to waddles’ response, APIs of different versions are complementary to each other at the moment. Many things that exist in one version are not present in the other two.


Thank you. That is helpful. The one odd thing I can’t reconcile is that it indicates v2 is for element only but I “THINK” I am sending the queries to prism central and they still return successfully. I do the API call to central and get the v2 results without issue. That is confusing me. Perhaps it’s passing them through? Thanks again for the help!


Yup, yup, API v2 calls can be processed by both PE and PC. API v3 are recognized by PC only. If you go to PC > Username > REST API Explorer there is an option to try/test different APIs as well as choose the version. Every API call has a version parameter in it, that’s how PC “knows” which way to respond.