Help Center
Choose product document...
Veeam Backup & Replication 9.5 Update 4
RESTful API Reference

(GET) /replicaTaskSessions

Returns a resource representation of a replication tasks collection. Tasks are performed on all Veeam backup servers connected to Veeam Backup Enterprise Manager.


To get a list of replication tasks, you need to send the GET HTTP request to the URL of the /replicaTaskSessions resource.

HTTP Request

GET http://<Enterprise-Manager>:9399/api/replicaTaskSessions

Request Headers

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.



The request requires a certain format in response. In the header, the client can specify one of the following formats:

  • application/xml
  • application/json

Request Body


Query Parameters



The server returns the following response to the client.

Response Codes

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.




The length of the response body.


The media type and syntax of the request body message. Possible values:

  • application/xml
  • application/json

Response Body

In the response body, Veeam Backup Enterprise Manager returns a representation of the /replicaTaskSessions collection resource.


The example below returns a list of all replication tasks performed on Veeam backup servers connected to Veeam Backup Enterprise Manager.


GET http://localhost:9399/api/replicaTaskSessions


Request Header:

X-RestSvcSessionId   NDRjZmJkYmUtNWE5NS00MTU2LTg4NjctOTFmMDY5YjdjMmNj



200 Success


Response Body:

<EntityReferences xmlns="">
 <Ref Type="ReplicaTaskSessionReference" Href="http://localhost:9399/api/repicaTaskSessions/1f2b40a8-2370-4280-a3f9-5f7c611d3f79" Name="sql02@2014-10-19 05:42:46" UID="urn:veeam:ReplicaTaskSession:1f2b40a8-2370-4280-a3f9-5f7c611d3f79">
     <Link Rel="Up" Type="BackupServerReference" Href="http://localhost:9399/api/backupServers/ce15a8c7-aa49-495e-b05b-ee3398c91018" Name="srv02.veeam.local" />
     <Link Rel="Up" Type="ReplicaJobSessionReference" Href="http://localhost:9399/api/replicaSessions/b04c217b-0538-4650-bec4-19deff4ea1ac" Name="SQL Replication" />
     <Link Rel="Alternate" Type="ReplicaTaskSession" Href="http://localhost:9399/api/repicaTaskSessions/1f2b40a8-2370-4280-a3f9-5f7c611d3f79?format=Entity" Name="sql02@2014-10-19 05:42:46" />
 <Ref Type="ReplicaTaskSessionReference" Href="http://localhost:9399/api/repicaTaskSessions/24590151-20cd-4e57-8a2f-8b65869a1879" Name="srv04@2014-10-19 06:47:21" UID="urn:veeam:ReplicaTaskSession:24590151-20cd-4e57-8a2f-8b65869a1879">
     <Link Rel="Up" Type="BackupServerReference" Href="http://localhost:9399/api/backupServers/ce15a8c7-aa49-495e-b05b-ee3398c91018" Name="srv02.veeam.local" />
     <Link Rel="Up" Type="ReplicaJobSessionReference" Href="http://localhost:9399/api/replicaSessions/2c49a44e-1e59-4527-a6bc-6b2f9b579ee1" Name="Fileserver02 Replication" />
     <Link Rel="Alternate" Type="ReplicaTaskSession" Href="http://localhost:9399/api/repicaTaskSessions/24590151-20cd-4e57-8a2f-8b65869a1879?format=Entity" Name="srv04@2014-10-19 06:47:21" />


Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions Reference

Veeam Availability for Nutanix AHV Documentation

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation