REST API knowledge exchange
Post Reply
CaptainAmazing
Lurker
Posts: 1
Liked: never
Joined: Aug 26, 2025 12:38 pm
Full Name: Andrew Wintermyer
Contact:

B&R api - what is a task? what is a protected computer?

Post by CaptainAmazing »

Hey all,

I’m working through some REST API testing during our Veeam trial and running into a couple issues I could use help with:

Issue 1: /api/v1/agents/protectedComputers
I’ve got two Windows VMs:

Agents installed via VBR
Added to a protection group using “Individual computers”
Included in active backup jobs
Each has 5 restore points
Despite that, the endpoint returns an empty list. I’m trying to understand what conditions need to be met for a machine to show up here — seems like everything should be in place.

Issue 2: /api/v1/tasks
I’ve triggered a few things via the GUI:

Rescan of a protection group
Manual backup job execution
Both show up in the GUI with progress and success, but /tasks returns nothing. I’m using x-api-version: 1.1-rev1 and querying immediately after the action. Still getting:


Environment
Trial license
Auth via /api/session with bearer token
Actions triggered via GUI, not API

Questions
What exactly qualifies a machine as “protected” in the API?
What is the definition of a task?
Appreciate any insight — just trying to get a clean integration going.
Post Reply

Who is online

Users browsing this forum: No registered users and 140 guests