Get IP addr of VMs in Option Li

Thanks for the prompt response, Senthil.
The link you shared retrieves the list of servers while I am looking for list of VMs. I got the enpoint for VMs and I even tried with that but to no avail.

I am specifically looking guidance on how to construct the REST call to retrieve ONLY the IP address of the VMs. I tried with the below request but I am getting “Bad request” error

https://CHANGE_ME/api/instances?max=25&offset=0&showDeleted=false&instances.connectionInfo[0].ip
Can you please help?