i Can’t imagine that this is actually missing. If you retrieve the vm using the get vm api there is no indication where the godamn vm is.
Fair point.I won't know the answer, but it will certainly help get an answer if you specify which virtualization software you are using.
Sounds like you are not the first to ask and the REST API is lacking (still)
View: https://www.reddit.com/r/vmware/comments/hj8scb/query_vcenter_rest_api_for_which_host_a_specific/
the linked workaround with guestidentity might be sufficient though?