This is an archive version of the document. To get the most up-to-date information, see the current version.

Sessions

For every performed operation (EC2 instance backup, restore, snapshot creation and so on) Veeam Backup for AWS starts a new session.The /sessions resource collection represents statistics for any performed session.

Collection URL

The resource collection is located at the following URL:

https://<hostname>:<port>/api/v1/sessions

SessionsCollection Representation

{

 "totalCount": 57,

 "results": [

   {

     "type": "RetentionActivity",

     "status": "Succeeded",

     "result": "Success",

     "id": "f66b0bd7-033e-4a2a-bbc5-8aefb1e0cea5",

     "executionStartTime": "2020-06-19T04:00:05.901095",

     "executionStopTime": "2020-06-19T04:00:08.451697",

     "executionDuration": 550,

     "reason": "",

     "usn": 26,

     "_links": [

       {

         "method": "GET",

         "rel": "self",

         "href": "https://135.169.170.192:11005/api/v1/sessions/f66b0bd7-033e-4a2a-bbc5-8aefb1e0cea5"

       },

       {

         "method": "GET",

         "rel": "SessionLogs",

         "href": "https://135.169.170.192:11005/api/v1/sessions/f66b0bd7-033e-4a2a-bbc5-8aefb1e0cea5/log"

       }

     ],

     "_embedded": {

       "retentionJobDeletedRestorePoints": {

         "method": "GET",

         "rel": "RetentionJobDeletedRestorePoints",

         "href": "https://135.169.170.192:11005/api/v1/sessions/f66b0bd7-033e-4a2a-bbc5-8aefb1e0cea5/deletedItems"

       }

     }

   },

...

 ],

 "_links": [

   {

     "method": "GET",

     "rel": "self",

     "href": "https://135.169.170.192:11005/api/v1/sessions"

   }

 ]

}

In This Section