Get a Backup Repository

In this article

    You can get a representation of a backup repository with the specified ID.


    To get a resource representation of a specific backup repository, send the GET HTTPS request to the URL of its resource.

    HTTP Request

    GET https://<hostname>:1281/v2/backupRepositories/{ID}

    Request Headers

    The request header must contain the authorization token.


    The server returns the following response to the client.

    Response Code

    A successfully completed operation returns response code 200 OK.

    Response Headers

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




    The length of the response body.


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

    Response Body

    In the response body, Veeam Service Provider Console returns a representation of the /backupRepositories/{ID} resource.

    Example Get a Backup Repository

    The following example returns an entity representation of a backup repository with ID 7.


    GET https://localhost:1281/v2/backupRepositories/7


    Request Header:

    Authorization: Bearer <Access-Token>


    Response Code:

    200 Success


    Response Body:


       "id": 7,

       "name": "Default Backup Repository",

       "repositoryUid": "8c67a7dc-ef78-4df9-bde3-facdfa6b9b5c",

       "serverName": "BACKUP01",

       "companyName": "Alpha",

       "locationName": "Default location",

       "capacity": 119.7,

       "capacityUnits": "GB",

       "freeSpace": 86.1,

       "freeSpaceUnits": "GB",

       "backupSize": 11.5,

       "backupSizeUnits": "GB",

       "healthState": "OK",

       "backupServerId": 3,

       "isServiceProviderRepository": true,

       "_links": {

         "self": {

           "href": ""


         "backupServers": {

           "href": ""


         "tenants": {

           "href": ""


         "locations": {

           "href": ""