REST API knowledge exchange
Post Reply
benjaminhake
Lurker
Posts: 1
Liked: never
Joined: Feb 04, 2026 4:09 pm
Full Name: Benjamin Hake
Contact:

Endpoint to get all protected vm information

Post by benjaminhake »

Hi all!
I am attempting to utilize Veeam B&R's REST API to attain information on all protected VMs. Currently, after looking through the swagger documentation, the only place that I can find that has vms listed is through the Backup Jobs endpoint `api/v1/jobs`, and this does not seem to list all vms either regardless of whether or not they are attached to a listed job. Am i missing some endpoint? Is there a better way to get all protected VM information (IP addresses, MACs, OS version) and the job that they are attached to if they are attached to any job?
thanks,
Benjamin Hake :mrgreen:
david.domask
Veeam Software
Posts: 3300
Liked: 774 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Endpoint to get all protected vm information

Post by david.domask »

Hi Benjamin, welcome to the forums.

Try the GetAllBackupObjects endpoint -- this returns all VMs that are currently protected in Veeam, but it's fairly limited in information as these endpoints are more about managing the Backup Server than reporting. GetInventoryObjects can also help, but I think the information is similarly limited.

VeeamOne is better for this with the /api/v2.3/vSphere/vms
endpoint.
David Domask | Product Management: Principal Analyst
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest