Help Center
Choose product document...
Veeam Availability Console 3.0
RESTful API Reference

Get Veeam backup agent Jobs

You can get a representation of а collection of all jobs that protect a Veeam backup agent with the specified system ID.

Request

To get a representation of backup agent jobs managed in Veeam Availability Console, send the GET HTTPS request to the URL of the /backupAgents/{id}/jobs collection.

HTTP Request

GET https://<Availability-Console>:1281/v2/backupAgents/{id}/jobs

Request Headers

The request header must contain the authorization token for the current logon session.

Response

The server returns the following response to the client.

Response Code

A successfully completed operation returns response code 200 Success.

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTP headers.

Header

Description

Content-length

The length of the response body.

Content-type

The media type and syntax of the request body message: application/json; charset=utf-8

Response Body

In the response body, Veeam Availability Console returns a representation of the /backupAgents/{id}/jobs collection.

Example Get Veeam backup agent Jobs

The following request returns a representation of Veeam backup agent jobs managed in Veeam Availability Console.

Request:

GET https://localhost:1281/v2/Jobs/backupAgents/cc52ec30-a1b0-41dd-8b24-553dab48b43f/jobs

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response Code:

200 Success

 

Response Body:

[

 {

   "id": "4610eb17-b41c-4cc5-81d1-938ee6d89b7a",

   "lastSessionStatus": "Success",

   "name": "Workstation: File level backup. Personal files. Local drive. Daily schedule.",

   "description": "",

   "operationMode": "Workstation",

   "destination": "C:\\VeeamBackup\\",

   "restorePoints": 2,

   "lastRestorePoint": 2018-12-07T08:30:17Z,

   "backupSize": 67325952,

   "scheduleType": "Daily",

   "lastRun": "2018-12-07T08:30:00.767Z",

   "lastModified": "2018-10-12T01:37:05.2423906+03:00",

   "lastModificationDoneBy": "srv5\\administrator",

   "freeSpace": 90541989888,

   "avgDuration": 116,

   "lastDuration": 98,

   "backupMode": "Folder",

   "targetType": "Local",

   "disabled": false,

   "failureMessage": "",

   "backupPolicyNote": null,

   "cloudConnectAgentUid": "3745c96c-8b7b-40e6-8be5-6de1af6b075b"

   "backupPolicyId": 0,

   "backupPolicyName": null,

   "backupPolicyStatus": "Custom",

   "nextRun": "2018-12-06T00:30:00+03:00",

   "_links": [

     {

       "rel": "self",

       "method": "GET",

       "href": "https://vac:1281/v2/backupAgents/cc52ec30-a1b0-41dd-8b24-553dab48b43f/jobs/4610eb17-b41c-4cc5-81d1-938ee6d89b7a"

     },

     {

       "rel": "startJob",

       "method": "POST",

       "href": "https://vac:1281/v2/backupAgents/cc52ec30-a1b0-41dd-8b24-553dab48b43f/jobs/4610eb17-b41c-4cc5-81d1-938ee6d89b7a/start"

     },

     {

       "rel": "delete",

       "method": "DELETE",

       "href": "https://vac:1281/v2/backupAgents/cc52ec30-a1b0-41dd-8b24-553dab48b43f/jobs/4610eb17-b41c-4cc5-81d1-938ee6d89b7a/delete"

     }

   ]

 },

 {

   "id": "ef7a3d93-c86b-48b6-bb94-7334477dbdf6",

   "jobStatus": "Success",

   "lastSessionStatus": "Success",

   "name": "Workstation: File level backup. Personal files. Local drive. Daily schedule.",

   "description": "Created by srv5\\Administrator at 10/7/2018 5:30 PM.",

   "operationMode": "Server",

   "destination": "C:\\backup\\",

   "restorePoints": 4,

   "lastRestorePoint": "2018-10-12T08:38:33Z",

   "backupSize": 131362816,

   "scheduleType": "Daily",

   "lastRun": "2018-10-12T08:38:24.727Z",

   "lastModified": "0001-01-01T00:00:00",

   "lastModificationDoneBy": "-",

   "freeSpace": 90625490944,

   "avgDuration": 97,

   "lastDuration": 85,

   "backupMode": "Folder",

   "targetType": "Local",

   "disabled": false,

   "failureMessage": "",

   "backupPolicyNote": null,

   "cloudConnectAgentUid": "3745c96c-8b7b-40e6-8be5-6de1af6b075b"

   "backupPolicyId": 0,

   "backupPolicyName": null,

   "backupPolicyStatus": "Custom",

   "nextRun": "2018-12-06T00:30:00+03:00",

   "_links": [

     {

       "rel": "self",

       "method": "GET",

       "href": "https://vac:1281/v2/backupAgents/cc52ec30-a1b0-41dd-8b24-553dab48b43f/jobs/ef7a3d93-c86b-48b6-bb94-7334477dbdf6"

     },

     {

       "rel": "startJob",

       "method": "POST",

       "href": "https://vac:1281/v2/backupAgents/cc52ec30-a1b0-41dd-8b24-553dab48b43f/jobs/ef7a3d93-c86b-48b6-bb94-7334477dbdf6/start"

     },

     {

       "rel": "delete",

       "method": "DELETE",

       "href": "https://vac:1281/v2/backupAgents/cc52ec30-a1b0-41dd-8b24-553dab48b43f/jobs/ef7a3d93-c86b-48b6-bb94-7334477dbdf6/delete"

     }

   ]

 }

]

Veeam Large Logo

Deployment Guide

Guide for Service Providers

Guide for End Users

Guide for Resellers

Usage Scenarios for Service Providers

RESTful API Reference