- About Veeam Backup & Replication REST API
- Overview
- How To
- Changelog
- Login
- Service
- Services
- Credentials
- getGet All Credentials
- postAdd Credentials Record
- getGet Credentials Record
- putEdit Credentials Record
- delRemove Credentials Record
- postChange Password
- postChange Linux Private Key
- postChange Linux Root Password
- getGet All Cloud Credentials
- postAdd Cloud Credentials Record
- postGet Microsoft Azure Verification Code
- postRegister Microsoft Entra Application
- postGet Google Authentication Information
- getGet Cloud Credentials Record
- putEdit Cloud Credentials Record
- delRemove Cloud Credentials Record
- postChange Secret Key
- postChange Google Service Account
- postChange Certificate
- getGet All Helper Appliances
- postAdd or Edit Helper Appliance
- getGet Helper Appliance
- delRemove Helper Appliance
- Encryption
- Connection
- Cloud Browser
- Inventory Browser
- Traffic Rules
- General Options
- Malware Detection
- Configuration Backup
- Managed Servers
- Repositories
- getGet All Repositories
- postAdd Repository
- getGet All Repository States
- getGet Repository
- putEdit Repository
- delRemove Repository
- getGet All Scale-Out Backup Repositories
- postAdd Scale-Out Backup Repository
- getGet Scale-Out Backup Repository
- putEdit Scale-Out Backup Repository
- delRemove Scale-Out Backup Repository
- postEnable Sealed Mode
- postDisable Sealed Mode
- postEnable Maintenance Mode
- postDisable Maintenance Mode
- Proxies
- WAN Accelerators
- Jobs
- Backups
- Backup Objects
- Restore Points
- Restore
- getGet All VM Mounts
- postStart Instant Recovery
- getGet VM Mount
- postStop VM Publishing
- postStart VM Migration
- postRestore Entire VMware vSphere VM
- postRestore Entire VMware Cloud Director VM
- getGet All FCD Mounts
- postStart Instant FCD Recovery
- getGet FCD Mount
- postStop FCD Publishing
- postStart FCD Migration
- postStart File Restore
- postUnmount File System
- Backup Browsers
- getGet All File Restore Mounts
- getGet File Restore Mount
- postBrowse File System
- postCompare Attributes
- postCompare Files and Folders
- postSearch for Files and Folders
- postBrowse Search Results
- postRestore Files and Folders to Original Location
- postRestore Files and Folders to Another Location
- postPrepare Files and Folders for Download
- postDownload Files and Folders
- Tasks
- Replicas
- Replica Restore Points
- Failover
- Failback
- Sessions
- Agents
- Automation
- postImport Jobs
- postExport Jobs
- postImport Credentials
- postExport Credentials
- postImport Cloud Credentials
- postExport Cloud Credentials
- postImport Proxies
- postExport Proxies
- postImport Servers
- postExport Servers
- postImport Repositories
- postExport Repositories
- postImport Encryption Passwords
- postExport Encryption Passwords
- getGet All Automation Sessions
- getGet Automation Session
- getGet Automation Session Logs
- postStop Automation Session
The Backup Browser section defines paths and operations for browsing the file system, comparing files and folders, and performing file restore.
Get All File Restore Mounts
The HTTP GET request to the /api/v1/backupBrowser/flr
path allows you to get an array of all active file restore mounts.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
query Parameters
skip | integer <int32> Number of mounts to skip. |
limit | integer <int32> Maximum number of mounts to return. |
orderColumn | string (EFlrBrowseMountFiltersOrderColumn) Sorts mounts by one of the mount parameters. |
orderAsc | boolean Sorts mounts in the ascending order by the |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 500
{- "data": [
- {
- "type": "Linux",
- "sessionId": "1dc723e8-12a0-4480-bc34-6cb117d3d4a1",
- "properties": {
- "pathSeparator": "/"
}, - "sourceProperties": {
- "machineName": "ubuntu88",
- "restorePointName": "ubuntu88"
}
}, - {
- "type": "Windows",
- "sessionId": "f031db1c-8294-4ace-b6f1-bb7e299e9e53",
- "properties": {
- "pathSeparator": "\\"
}, - "sourceProperties": {
- "machineName": "winsp01",
- "restorePointName": "winsp01"
}
}
], - "pagination": {
- "total": 2,
- "count": 2,
- "skip": 0,
- "limit": 200
}
}
Get File Restore Mount
The HTTP GET request to the /api/v1/backupBrowser/flr/{sessionId}
path allows you to get a file restore mount that was created by a restore session that has the specified sessionId
.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
path Parameters
sessionId required | string <uuid> ID of the restore session. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 500
{- "type": "Linux",
- "sessionId": "1dc723e8-12a0-4480-bc34-6cb117d3d4a1",
- "properties": {
- "pathSeparator": "/"
}, - "sourceProperties": {
- "machineName": "ubuntu88",
- "restorePointName": "ubuntu88"
}
}
Browse File System
The HTTP POST request to the /api/v1/backupBrowser/flr/{sessionId}/browse
path allows you to browse file system items (drives, folders, files and links)(drives, folders, files and links) available in a restore session that has the specified sessionId
.
You can use this request in the following cases:
Available to: Veeam Backup Administrator, Veeam Restore Operator.
path Parameters
sessionId required | string <uuid> ID of the restore session. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
path required | string Browsing path. |
object (FlrBrowseFiltrationModel) Filter settings. | |
object (FlrBrowseOrderSpec) Sorting settings. | |
object (PaginationSpec) Pagination settings. |
OK
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "path": ""
}
- 200
- 400
- 401
- 403
- 500
{- "path": "C:\\Users",
- "items": [
- {
- "type": "File",
- "itemState": "NotAvaliable",
- "location": "C:\\Users",
- "name": "desktop.ini",
- "size": 174,
- "creationDate": "2023-09-15T09:16:48.5540496+02:00",
- "modifiedDate": "2023-09-15T09:16:48.5540496+02:00"
}, - {
- "type": "Folder",
- "itemState": "NotAvaliable",
- "location": "C:\\Users",
- "name": "Public",
- "size": 0,
- "creationDate": "2023-09-15T09:19:00.9562431+02:00",
- "modifiedDate": "2024-07-11T13:51:19.2515441+02:00"
}, - {
- "type": "Folder",
- "itemState": "NotAvaliable",
- "location": "C:\\Users",
- "name": "sheila.d.cory",
- "size": 0,
- "creationDate": "2023-07-25T20:31:51.6184821+02:00",
- "modifiedDate": "2023-07-27T18:19:45.0120786+02:00"
}
], - "pagination": {
- "total": 3,
- "count": 3,
- "skip": 0,
- "limit": 200
}
}
Compare Attributes
The HTTP POST request to the /api/v1/backupBrowser/flr/{sessionId}/compareAttributes
path allows you to compare attributes of file system items (drives, folders, files and links) from a restore session that has the specified sessionId
with attributes of original items.
The operation is allowed for Microsoft Windows machines only.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
path Parameters
sessionId required | string <uuid> ID of the restore session. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
path required | string Path to the item whose attributes you want to compare. |
showUnchangedAttributes | boolean If |
OK
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Method not allowed. Indicates that the server knows the request method, but the target resource doesn't support this method.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "path": "C:\\Users\\sheila.d.cory\\Documents",
- "showUnchangedAttributes": true
}
- 200
- 400
- 401
- 403
- 405
- 500
{- "path": "C:\\Users\\sheila.d.cory\\Documents",
- "attributes": [
- {
- "name": "Attributes",
- "valueBackup": "ReadOnly, Directory",
- "valueProduction": "ReadOnly, Directory",
- "isChanged": false
}, - {
- "name": "CreateDateUtc",
- "valueBackup": "7/25/2023 6:31:51 PM",
- "valueProduction": "7/25/2023 6:31:51 PM",
- "isChanged": false
}, - {
- "name": "ModifyDateUtc",
- "valueBackup": "11/7/2023 3:28:12 PM",
- "valueProduction": "11/7/2023 3:28:12 PM",
- "isChanged": false
}, - {
- "name": "IsArchived",
- "valueBackup": "False",
- "valueProduction": "False",
- "isChanged": false
}, - {
- "name": "IsCollected",
- "valueBackup": "True",
- "valueProduction": "True",
- "isChanged": false
}, - {
- "name": "IsEncrypted",
- "valueBackup": "False",
- "valueProduction": "False",
- "isChanged": false
}, - {
- "name": "IsHidden",
- "valueBackup": "False",
- "valueProduction": "False",
- "isChanged": false
}, - {
- "name": "IsReadonly",
- "valueBackup": "True",
- "valueProduction": "True",
- "isChanged": false
}
]
}
Compare Files and Folders
The HTTP POST request to the /api/v1/backupBrowser/flr/{sessionId}/compareToProduction
path allows you to compare file system items (drives, folders, files and links) on the production machine with the items available in a restore session that has the specified sessionId
. After the comparison completes, check the comparison results using the Browse Files and Folders request.
The operation is allowed for Microsoft Windows machines only.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
path Parameters
sessionId required | string <uuid> ID of the restore session. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
isEnabled required | boolean If |
paths required | Array of strings Array of item paths that you want to compare. |
OK
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Method not allowed. Indicates that the server knows the request method, but the target resource doesn't support this method.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "IsEnabled": true,
- "paths": [
- "C:\\Users\\sheila.d.cory\\Documents",
- "C:\\Users\\sheila.d.cory\\Downloads"
]
}
- 200
- 400
- 401
- 403
- 405
- 500
{ }
Search for Files and Folders
The HTTP POST request to the /api/v1/backupBrowser/flr/{sessionId}/search
path allows you to create a search task to find required file system items (drives, folders, files and links) available in a restore session that has the specified sessionId
.
To get the search results, use the Browse Search Results request.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
path Parameters
sessionId required | string <uuid> ID of the restore session. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
path required | string Search path. |
searchString required | string Search string. The following wildcard characters are supported: "*", "?" and "+". |
An FlrSearch
task has been created to search for file system items. To check the progress, track the task state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "path": "C:\\Users\\sheila.d.cory\\Documents",
- "searchString": "*docx"
}
- 201
- 400
- 401
- 403
- 500
{- "type": "FlrSearch",
- "state": "Starting",
- "result": "None",
- "id": "32d764f7-18b0-47d9-8e34-1be27bc32d3b",
- "name": "Search files on VM winsp01",
- "progressPercent": 0,
- "creationTime": "2023-11-07T17:41:51.32221+01:00",
- "endTime": null
}
Browse Search Results
The HTTP POST request to the /api/v1/backupBrowser/flr/{sessionId}/search/{taskId}/browse
path allows you to browse search results of a search task that has the specified taskId
.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
path Parameters
sessionId required | string <uuid> ID of the restore session. |
taskId required | string <uuid> ID of the search task. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
object (PaginationSpec) Pagination settings. | |
object (FlrSearchForResultOrderSpec) Sorting settings. |
OK
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "order": {
- "orderColumn": "Name"
}
}
- 200
- 400
- 401
- 403
- 500
{- "path": "C:\\Users\\sheila.d.cory\\Documents",
- "searchString": "*docx",
- "items": [
- {
- "type": "File",
- "itemState": "Unchanged",
- "location": "C:\\Users\\sheila.d.cory\\Documents\\Documents for SharePoint",
- "name": "Document01.docx",
- "size": 13712,
- "creationDate": "2023-11-07T16:28:12.5685143+01:00",
- "modifiedDate": "2023-07-26T20:56:32.6357349+02:00"
}, - {
- "type": "File",
- "itemState": "Unchanged",
- "location": "C:\\Users\\sheila.d.cory\\Documents\\Documents for SharePoint",
- "name": "Document02.docx",
- "size": 19484,
- "creationDate": "2023-11-07T16:28:12.5685143+01:00",
- "modifiedDate": "2023-07-26T20:58:48.9404094+02:00"
}, - {
- "type": "File",
- "itemState": "Unchanged",
- "location": "C:\\Users\\sheila.d.cory\\Documents\\Documents for SharePoint",
- "name": "Document04.docx",
- "size": 13712,
- "creationDate": "2023-11-07T16:28:12.7560357+01:00",
- "modifiedDate": "2023-07-26T20:56:32.6357349+02:00"
}, - {
- "type": "File",
- "itemState": "Unchanged",
- "location": "C:\\Users\\sheila.d.cory\\Documents\\Documents for SharePoint",
- "name": "Document06.docx",
- "size": 4897,
- "creationDate": "2023-11-07T16:28:12.7872775+01:00",
- "modifiedDate": "2023-11-07T16:36:04.413056+01:00"
}, - {
- "type": "File",
- "itemState": "Unchanged",
- "location": "C:\\Users\\sheila.d.cory\\Documents\\Documents for SharePoint",
- "name": "Document07.docx",
- "size": 18436,
- "creationDate": "2023-11-07T16:28:12.5841302+01:00",
- "modifiedDate": "2023-07-26T20:58:19.1911861+02:00"
}
], - "pagination": {
- "total": 5,
- "count": 5,
- "skip": 0,
- "limit": 200
}
}
Restore Files and Folders to Original Location
The HTTP POST request to the /api/v1/backupBrowser/flr/{sessionId}/restore
path allows you to restore file system items (folders, files and links) to the original location.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
path Parameters
sessionId required | string <uuid> ID of the restore session. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
sourcePath required | Array of strings Array of paths to the items that you want to restore. |
restoreType required | string (EFlrRestoreType) Restore type. |
credentialsId | string <uuid> ID of a credentials record used to connect to the target machine. Allowed only for Linux machines. |
An FlrRestore
task has been created to restore the items. To check the progress, track the task state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "sourcePath": [
- "C:\\Users\\sheila.d.cory\\Documents",
- "C:\\Users\\sheila.d.cory\\Downloads"
], - "restoreType": "Keep"
}
- 201
- 400
- 401
- 403
- 500
{- "type": "FlrRestore",
- "state": "Starting",
- "result": "None",
- "id": "aabc5716-417b-4761-94a8-59ef21113ed2",
- "name": "winsp01",
- "progressPercent": 0,
- "creationTime": "2023-11-07T18:22:17.8433688+01:00",
- "endTime": null
}
Restore Files and Folders to Another Location
The HTTP POST request to the /api/v1/backupBrowser/flr/{sessionId}/restoreTo
path allows you to restore file system items (folders, files and links) to another location.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
path Parameters
sessionId required | string <uuid> ID of the restore session. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
sourcePath required | Array of strings Array of paths to the items that you want to restore. |
restoreType required | string (EFlrRestoreType) Restore type. |
credentialsId required | string <uuid> ID of a credentials record used to connect to the target machine. |
required | object (FlrRestoreTargetHostModel) Target machine. To get an invetory object, use the Get Inventory Objects request. |
targetPath required | string Path to the target folder. |
An FlrRestore
task has been created to restore the items. To check the progress, track the task state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "sourcePath": [
- "C:\\Users\\sheila.d.cory\\Documents"
], - "restoreType": "Overwrite",
- "credentialsId": "c0940fba-7c6e-445e-bea3-c0fa20e9ef15",
- "targetHost": {
- "type": "VMware",
- "vmObject": {
- "type": "VirtualMachine",
- "hostName": "vcenter01.tech.local",
- "name": "enterprise03",
- "objectId": "vm-1086",
- "urn": "vc:vcenter01.tech.local;folder:group-d1;datacenter:datacenter-1001;folder:group-h1003;computeresource:domain-s1006;hostsystem:host-1008;resourcepool:resgroup-1023;virtualmachine:vm-1086",
- "platform": "VMware",
- "size": "337.6 GB"
}
}, - "targetPath": "C:\\temp"
}
- 201
- 400
- 401
- 403
- 500
{- "type": "FlrRestore",
- "state": "Starting",
- "result": "None",
- "id": "aabc5716-417b-4761-94a8-59ef21113ed2",
- "name": "winsp01",
- "progressPercent": 0,
- "creationTime": "2023-11-07T18:22:17.8433688+01:00",
- "endTime": null
}
Prepare Files and Folders for Download
The HTTP POST request to the /api/v1/backupBrowser/flr/{sessionId}/prepareDownload
path allows you to prepare files and folders for download and pack them into a ZIP file. In response, a download task is created.
To download the ZIP file, specify the task ID in the Download Files and Folders request.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
path Parameters
sessionId required | string <uuid> ID of the restore session. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
sourcePath required | Array of strings Array of paths to the items that you want to download. |
An FlrDownload
task has been created to restore the items. To check the progress, track the task state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "sourcePath": [
- "C:\\Users\\sheila.d.cory\\Documents",
- "C:\\Users\\sheila.d.cory\\Downloads"
]
}
- 201
- 400
- 401
- 403
- 500
{- "additionalInfo": null,
- "type": "FlrDownload",
- "state": "Working",
- "result": "None",
- "id": "82ac5bd1-36bb-4980-b79e-0634f90c5754",
- "name": "FLR Download from VM winsp01",
- "progressPercent": 0,
- "creationTime": "2023-11-07T21:24:36.7715523+01:00",
- "endTime": null
}
Download Files and Folders
The HTTP POST request to the /api/v1/backupBrowser/flr/{sessionId}/prepareDownload/{taskId}/download
path allows you to download a ZIP archive with files and folders of a download task that has the specified taskId
.
Available to: Veeam Backup Administrator, Veeam Restore Operator.
path Parameters
sessionId required | string <uuid> ID of the restore session. |
taskId required | string <uuid> ID of the download task. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
sourcePath required | Array of strings Array of paths to the items that you want to download. |
OK
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "sourcePath": [
- "C:\\Users\\sheila.d.cory\\Documents",
- "C:\\Users\\sheila.d.cory\\Downloads"
]
}
- 400
- 401
- 403
- 500
{- "errorCode": "AccessDenied",
- "message": "string",
- "resourceId": "string"
}