v3 - vms/list - How to get full list of VMs? | Nutanix Community
Skip to main content

Hello. I faced with limitation of number VMs in API reply. There is option “length” which can be added to request, but max value is 500 (I got it into experiments). We have around 1000 VMs in our environment.

Is there solution?

It seems that i found a solution - https://www.nutanix.dev/code_samples/list-all-vms-in-a-cluster-with-more-than-500-vms/


you need to use option ‘offset’ and make one more request