Returns a resource representation of a collection of sessions performed for Veeam Agent backup jobs configured in Veeam Backup & Replication on all Veeam backup servers connected to Veeam Backup Enterprise Manager. Veeam Agent backup job sessions are also displayed in the representation of the /backupSessions resource collection.
To get a list of sessions performed for Veeam Agent backup jobs configured in Veeam Backup & Replication, you need to send the GET HTTP request to the URL of the/agents/backupSessions resource.
The request contains the following headers:
The request requires authorization. In the header, the client must send a session ID copied from the server reply to the request creating a new logon session. To learn more, see Authentication and Security.
Identifies the format of the response. Possible values:
application/xml — the client can send this value in the header to accept response in the XML format.
application/json — the client must send this value in the header to accept the request in the JSON format.
If the request does not contain the header, the server will return the response in the XML format.
The server returns the following response to the client.
A successfully completed operation returns response code 200 OK.
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. Possible values:
In the response body, Veeam Backup Enterprise Manager returns a representation of the /agents/backupSessions resource.
The example below returns a list of sessions for Veeam Agent backup jobs configured in Veeam Backup & Replication on all Veeam backup servers connected to Veeam Backup Enterprise Manager.