Inventory Browser

The inventory contains the objects that you can protect with Veeam Backup & Replication: virtual infrastructure objects of the virtualization servers added to the backup infrastructure, objects of protection groups, unstructured data sources and Microsoft Entra ID tenants. You can also add Active Directory forests to the inventory to check whether their domain controllers are protected according to the SLA requirements. You can:

  • Retrieve virtualization servers and their virtual infrastructure objects (data centers, clusters, hosts, resource pools, vApps, VMs and so on), get the details of an inventory object and rescan the objects of a server. In this version, you can browse VMware vSphere, VMware Cloud Director, VMware Cloud Foundation Automation, Microsoft Hyper-V, Nutanix AHV, Proxmox VE, HPE Morpheus VM Essentials, Scale Computing HyperCore, oVirt KVM, Platform9, VergeOS, XCP-ng, XenServer, KubeVirt, Sangfor HCI, Red Hat OpenStack and Virtuozzo objects. For VMware vSphere, VMware Cloud Director, Microsoft Hyper-V, Nutanix AHV and Proxmox VE, you can also get the objects of the entire platform infrastructure in one list.
  • Construct a VMware vSphere tag combination (Multitag): a job that includes it processes only the objects that have all the specified tags.
  • Get protection groups and the computers, cloud machines, clusters and Microsoft Active Directory objects that they include, to add these objects to backup jobs. To add and manage protection groups, see the Agents section.
  • Manage unstructured data sources: add, edit and remove unstructured data servers, get their default settings, and browse their content within a browse session.
  • Manage Microsoft Entra ID tenants: add, edit and remove tenants. To let Veeam Backup & Replication create a new Microsoft Entra ID application for a tenant, first get a verification code and register the application, as described in the Credentials section.
  • Manage Active Directory forests: discover the forest topology and the backup jobs that already include the domain controllers, then add the forest to the inventory. You can get, edit and remove forests, get their protecting jobs and SLA compliance state, start the SLA Compliance job that rescans a forest, and enable or disable the rescan schedule. If the domain controller certificate is not trusted yet, get the certificate before you discover the forest.
  • Get the objects of an Active Directory domain. To get the domains, see the Active Directory Domains section.
  • Get the disk slots that a platform supports.

Get All VMware vSphere ServersDeprecated

The HTTP GET request to the /api/v1/inventory/vmware/hosts endpoint gets an array of all VMware vSphere servers added to the backup infrastructure.

Available to: Backup Administrator, Backup Operator, Restore Operator. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
query Parameters
skip
integer <int32>

Number of VMware vSphere servers to skip.

limit
integer <int32>
Default: 200

Maximum number of VMware vSphere servers to return.

orderColumn
string (EViRootFiltersOrderColumn)

Sorts VMware vSphere servers by one of the VMware vSphere server parameters.

Enum: "Name" "Type"
orderAsc
boolean

If true, sorts VMware vSphere servers in ascending order by the orderColumn parameter.

nameFilter
string

Filters VMware vSphere servers by the nameFilter pattern. The pattern can match the name property. To substitute one or more characters, use the asterisk (*) character at the beginning, at the end or both.

permissionScope
string (EInventoryPermissionScope)

Permission scope type in advanced role-based access control (RBAC) for filtering inventory objects. If the value is Any, inventory objects valid under any permission scope are returned.

Enum: "Backup" "Restore" "Any"
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/inventory/vmware/hosts
Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Get VMware vSphere Server ObjectsDeprecated

The HTTP GET request to the /api/v1/inventory/vmware/hosts/{name} endpoint gets an array of virtual infrastructure objects of the VMware vSphere server that has the specified name.

Available to: Backup Administrator, Backup Operator, Restore Operator. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
path Parameters
name
required
string

Name of the VMware vSphere server.

query Parameters
skip
integer <int32>

Number of objects to skip.

limit
integer <int32>
Default: 200

Maximum number of objects to return.

orderColumn
string (EvCentersInventoryFiltersOrderColumn)

Sorts objects by one of the object parameters.

Enum: "Name" "ObjectId" "Type"
orderAsc
boolean

If true, sorts objects in ascending order by the orderColumn parameter.

objectIdFilter
string

Filters objects by object ID.

hierarchyTypeFilter
string (EHierarchyType)

Filters objects by hierarchy type.

Enum: "HostsAndClusters" "DatastoresAndVms" "HostsAndDatastores" "VmsAndTemplates" "VmsAndTags" "Network" "VmwareDatastores" "HostsAndDisks" "NetworkSwitches"
nameFilter
string

Filters objects by the nameFilter pattern. The pattern can match any object parameter. To substitute one or more characters, use the asterisk (*) character at the beginning, at the end or both.

typeFilter
string (EVmwareInventoryType)

Filters objects by virtual infrastructure type.

Enum: "Unknown" "VirtualMachine" "vCenterServer" "Datacenter" "Cluster" "Host" "ResourcePool" "Folder" "Datastore" "DatastoreCluster" "StoragePolicy" "Template" "ComputeResource" "VirtualApp" "Tag" "Category" "Multitag" "Network" "DVSNetwork" "Disk" "SharedDisk" "StandardSwitch" "DistributedSwitch"
parentContainerNameFilter
string

Filters objects by name of the parent container.

permissionScope
string (EInventoryPermissionScope)

Permission scope type in advanced role-based access control (RBAC) for filtering inventory objects. If the value is Any, inventory objects valid under any permission scope are returned.

Enum: "Backup" "Restore" "Any"
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/inventory/vmware/hosts/{name}
Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Rescan Inventory ObjectsDeprecated

The HTTP POST request to the /api/v1/inventory/{hostname}/rescan endpoint rescans inventory objects of a virtualization server (or host) that has the specified hostname.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
hostname
required
string

Name of the server.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
201

A HierarchyRescan task has been started. To check the progress, track the task state.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/{hostname}/rescan
Request samples
Response samples
application/json
{
  • "type": "HierarchyRescan",
  • "id": "d4e5f6a7-8b9c-40d1-8e2f-3a4b5c6d7e8f",
  • "name": "Rescan inventory items of vcenter01.tech.local",
  • "state": "Working",
  • "progressPercent": 0,
  • "creationTime": "2026-10-22T10:30:00.4416273Z",
  • "result": "None",
  • "serverName": "vcenter01.tech.local"
}

Get All Servers

The HTTP POST request to the /api/v1/inventory endpoint gets an array of all servers and hosts added to the backup infrastructure.

TIP
To filter servers by type, use the following possible values:
  • For VMware VSphere: VCenterServer, Folder, Host
  • For VMware Cloud Director: CloudDirectorServer
  • For Microsoft Hyper-V: Scvmm, Cluster, Host
  • For Red Hat OpenStack and Virtuozzo: OpenStack
For details, see request samples.

To browse Veeam Agents inventory, run the Get All Protection Groups request.

Available to: Backup Administrator, Backup Operator, Restore Operator. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
object (PaginationFilter)

Pagination settings.

object (FilterExpressionModel)

Filter settings.

object (SortExpressionModel)

Sorting settings.

hierarchyType
string

Hierarchy type. The values that you can specify depend on the request.

  • For the Get All Servers and Get Inventory Objects requests, specify values depending on the virtualization platform:
    • For VMware vSphere: HostsAndClusters, DatastoresAndVms, HostsAndDatastores, VmsAndTemplates, VmsAndTags, Network, NetworkSwitches
    • For VMware Cloud Director: VAppsAndVms, Network, StoragePolicies, Datastores
    • For VMware Cloud Foundation Automation: Tenancy (default), StoragePolicies, Networks
    • For Microsoft Hyper-V: HostsAndVms, HostsAndVolumes, Groups, Tags, Network
  • For the Get All Protection Groups and Get Inventory Objects for Specific Protection Group requests, use the following values: Computers, Clusters

permissionScope
string (EInventoryPermissionScope)

Inventory permission scope.

Enum: "Backup" "Restore" "Any"
populateResourceTags
boolean
Default: false

If true, the resourceTags property of each returned inventory object contains the tags assigned to the object.

object (ResourceTagQuery)

Tag query. An object matches the query only if the object meets all conditions of the query. If the conditions array is empty, a resourceTagQuery filter does not filter objects, and the Get Tag Assignments by Query request returns no entities.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory
Request samples
application/json
{
  • "filter": {
    },
  • "sorting": {
    }
}
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Get Inventory Objects

The HTTP POST request to the /api/v1/inventory/{hostname} endpoint gets an array of inventory objects of a virtualization server (or host) that has the specified hostname.

Available to: Backup Administrator, Backup Operator, Restore Operator. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
path Parameters
hostname
required
string

DNS name or IP address of the server. To get this value, run the Get All Servers request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
object (PaginationFilter)

Pagination settings.

object (FilterExpressionModel)

Filter settings.

object (SortExpressionModel)

Sorting settings.

hierarchyType
string

Hierarchy type. The values that you can specify depend on the request.

  • For the Get All Servers and Get Inventory Objects requests, specify values depending on the virtualization platform:
    • For VMware vSphere: HostsAndClusters, DatastoresAndVms, HostsAndDatastores, VmsAndTemplates, VmsAndTags, Network, NetworkSwitches
    • For VMware Cloud Director: VAppsAndVms, Network, StoragePolicies, Datastores
    • For VMware Cloud Foundation Automation: Tenancy (default), StoragePolicies, Networks
    • For Microsoft Hyper-V: HostsAndVms, HostsAndVolumes, Groups, Tags, Network
  • For the Get All Protection Groups and Get Inventory Objects for Specific Protection Group requests, use the following values: Computers, Clusters

permissionScope
string (EInventoryPermissionScope)

Inventory permission scope.

Enum: "Backup" "Restore" "Any"
populateResourceTags
boolean
Default: false

If true, the resourceTags property of each returned inventory object contains the tags assigned to the object.

object (ResourceTagQuery)

Tag query. An object matches the query only if the object meets all conditions of the query. If the conditions array is empty, a resourceTagQuery filter does not filter objects, and the Get Tag Assignments by Query request returns no entities.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/{hostname}
Request samples
application/json
{
  • "filter": {
    },
  • "sorting": {
    }
}
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Get Inventory Object Details

The HTTP POST request to the /api/v1/inventory/retrieveMachineDetails endpoint returns detailed information about the specified inventory object.

Available to: Backup Administrator, Backup Operator, Restore Operator. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
object (InventoryObjectModel)

Inventory object properties.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/retrieveMachineDetails
Request samples
application/json
{
  • "object": {
    }
}
Response samples
application/json
{
  • "platform": "VSphere",
  • "disks": [
    ]
}

Get All Protection Groups

The HTTP POST request to the /api/v1/inventory/physical endpoint gets an array of protection groups added to the physical and cloud infrastructure.

NOTE
This request is only used to get protected computers in order to add them to a backup job. For more information on how to get, add and manage protection groups, see the Agents section.

Available to: Backup Administrator, Restore Operator. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
object (PaginationFilter)

Pagination settings.

object (FilterExpressionModel)

Filter settings.

object (SortExpressionModel)

Sorting settings.

hierarchyType
string

Hierarchy type. The values that you can specify depend on the request.

  • For the Get All Servers and Get Inventory Objects requests, specify values depending on the virtualization platform:
    • For VMware vSphere: HostsAndClusters, DatastoresAndVms, HostsAndDatastores, VmsAndTemplates, VmsAndTags, Network, NetworkSwitches
    • For VMware Cloud Director: VAppsAndVms, Network, StoragePolicies, Datastores
    • For VMware Cloud Foundation Automation: Tenancy (default), StoragePolicies, Networks
    • For Microsoft Hyper-V: HostsAndVms, HostsAndVolumes, Groups, Tags, Network
  • For the Get All Protection Groups and Get Inventory Objects for Specific Protection Group requests, use the following values: Computers, Clusters

permissionScope
string (EInventoryPermissionScope)

Inventory permission scope.

Enum: "Backup" "Restore" "Any"
populateResourceTags
boolean
Default: false

If true, the resourceTags property of each returned inventory object contains the tags assigned to the object.

object (ResourceTagQuery)

Tag query. An object matches the query only if the object meets all conditions of the query. If the conditions array is empty, a resourceTagQuery filter does not filter objects, and the Get Tag Assignments by Query request returns no entities.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/physical
Request samples
application/json
{
  • "filter": {
    },
  • "sorting": {
    }
}
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Get All Physical Inventory

The HTTP POST request to the /api/v1/inventory/physical/all endpoint gets an array of all protection groups together with the inventory objects of physical or cloud machines that belong to them.

NOTE
This request is only used to get protected computers in order to add them to a backup job. For more information on how to get, add and manage protection groups, see the Agents section.

Available to: Backup Administrator, Restore Operator. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
object (PaginationFilter)

Pagination settings.

object (FilterExpressionModel)

Filter settings.

object (SortExpressionModel)

Sorting settings.

hierarchyType
string

Hierarchy type. The values that you can specify depend on the request.

  • For the Get All Servers and Get Inventory Objects requests, specify values depending on the virtualization platform:
    • For VMware vSphere: HostsAndClusters, DatastoresAndVms, HostsAndDatastores, VmsAndTemplates, VmsAndTags, Network, NetworkSwitches
    • For VMware Cloud Director: VAppsAndVms, Network, StoragePolicies, Datastores
    • For VMware Cloud Foundation Automation: Tenancy (default), StoragePolicies, Networks
    • For Microsoft Hyper-V: HostsAndVms, HostsAndVolumes, Groups, Tags, Network
  • For the Get All Protection Groups and Get Inventory Objects for Specific Protection Group requests, use the following values: Computers, Clusters

permissionScope
string (EInventoryPermissionScope)

Inventory permission scope.

Enum: "Backup" "Restore" "Any"
populateResourceTags
boolean
Default: false

If true, the resourceTags property of each returned inventory object contains the tags assigned to the object.

object (ResourceTagQuery)

Tag query. An object matches the query only if the object meets all conditions of the query. If the conditions array is empty, a resourceTagQuery filter does not filter objects, and the Get Tag Assignments by Query request returns no entities.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/physical/all
Request samples
application/json
{
  • "filter": {
    },
  • "sorting": {
    }
}
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Get All Virtual Inventory

The HTTP POST request to the /api/v1/inventory/virtual/all endpoint gets an array of inventory objects of the entire infrastructure of the virtual platform specified in the request body. The response contains the objects of all servers and hosts of the platform in a single list, so you can search the whole infrastructure of the platform without browsing a specific server.

To browse a single server, run the Get Inventory Objects request. To browse Veeam Agents inventory, run the Get All Physical Inventory request.

Available to: Backup Administrator, Backup Operator, Restore Operator. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
platform
required
string (EVirtualInventoryPlatformType)

Virtual platform whose infrastructure you want to browse.

Enum: "VSphere" "HyperV" "CloudDirector" "Nutanix" "Proxmox"
object (PaginationFilter)

Pagination settings.

object (FilterExpressionModel)

Filter settings.

object (SortExpressionModel)

Sorting settings.

hierarchyType
string

Hierarchy type. Specify a value depending on the selected platform:

  • For VMware vSphere: HostsAndClusters, DatastoresAndVms, HostsAndDatastores, VmsAndTemplates, VmsAndTags, Network
  • For VMware Cloud Director: VAppsAndVms, Network, StoragePolicies, Datastores
  • For Microsoft Hyper-V: HostsAndVms, HostsAndVolumes, Groups, Tags, Network
For Nutanix AHV and Proxmox VE, the infrastructure is flat, and Veeam Backup & Replication ignores this property.

permissionScope
string (EInventoryPermissionScope)

Inventory permission scope.

Enum: "Backup" "Restore" "Any"
Responses
200

OK

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/virtual/all
Request samples
application/json
{
  • "platform": "VSphere",
  • "hierarchyType": "VmsAndTemplates",
  • "filter": {
    },
  • "sorting": {
    },
  • "pagination": {
    }
}
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "hierarchyType": "VmsAndTemplates"
}

Get Inventory Objects for Specific Protection Group

The HTTP POST request to the /api/v1/inventory/physical/{protectionGroupId} endpoint gets an array of inventory objects of physical or cloud machines for a protection group with the specified protectionGroupId.

Available to: Backup Administrator, Restore Operator. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
path Parameters
protectionGroupId
required
string <uuid>

Protection group ID. To get the ID, run the Get All Protection Groups request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
object (PaginationFilter)

Pagination settings.

object (FilterExpressionModel)

Filter settings.

object (SortExpressionModel)

Sorting settings.

hierarchyType
string

Hierarchy type. The values that you can specify depend on the request.

  • For the Get All Servers and Get Inventory Objects requests, specify values depending on the virtualization platform:
    • For VMware vSphere: HostsAndClusters, DatastoresAndVms, HostsAndDatastores, VmsAndTemplates, VmsAndTags, Network, NetworkSwitches
    • For VMware Cloud Director: VAppsAndVms, Network, StoragePolicies, Datastores
    • For VMware Cloud Foundation Automation: Tenancy (default), StoragePolicies, Networks
    • For Microsoft Hyper-V: HostsAndVms, HostsAndVolumes, Groups, Tags, Network
  • For the Get All Protection Groups and Get Inventory Objects for Specific Protection Group requests, use the following values: Computers, Clusters

permissionScope
string (EInventoryPermissionScope)

Inventory permission scope.

Enum: "Backup" "Restore" "Any"
populateResourceTags
boolean
Default: false

If true, the resourceTags property of each returned inventory object contains the tags assigned to the object.

object (ResourceTagQuery)

Tag query. An object matches the query only if the object meets all conditions of the query. If the conditions array is empty, a resourceTagQuery filter does not filter objects, and the Get Tag Assignments by Query request returns no entities.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/physical/{protectionGroupId}
Request samples
application/json
{
  • "filter": {
    },
  • "sorting": {
    }
}
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Get All Unstructured Data Servers

The HTTP GET request to the /api/v1/inventory/unstructuredDataServers endpoint gets an array of unstructured data servers available on a backup server.

Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
query Parameters
skip
integer <int32>

Number of unstructured data servers to skip.

limit
integer <int32>
Default: 200

Maximum number of unstructured data servers to return.

orderColumn
string (EUnstructuredDataServersFiltersOrderColumn)

Sorts unstructured data servers by one of the unstructured data server parameters.

Enum: "Name" "Description" "Type" "Region"
orderAsc
boolean

If true, sorts unstructured data servers in ascending order by the orderColumn parameter.

nameFilter
string

Filters unstructured data servers by the nameFilter pattern. The pattern can match the name of the unstructured data server. To substitute one or more characters, use the asterisk (*) character at the beginning, at the end or both.

typeFilter
Array of strings (EUnstructuredDataServerType)

Filters unstructured data servers by type.

Items Enum: "FileServer" "SMBShare" "NFSShare" "NASFiler" "S3Compatible" "AmazonS3" "AzureBlob" "AzureDataLake" "SANSMBShare" "SANNFSShare"
object (ResourceTagQuery)

Filters unstructured data servers by a tag query. The response contains only unstructured data servers that match all conditions of the query. Each condition matches the tag key exactly. The match property of the condition defines how the tag value is matched: Equals, StartsWith or Any (the value is ignored). Pass the query as a URL-encoded JSON object, for example, resourceTagQuery={"conditions":[{"key":"env","match":"Equals","value":"prod"}]}.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/inventory/unstructuredDataServers
Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Add Unstructured Data Servers

The HTTP POST request to the /api/v1/inventory/unstructuredDataServers endpoint adds unstructured data servers to the inventory.

Available to: Backup Administrator.

SecurityBearer
Request
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
type
required
string (EUnstructuredDataServerType)

Type of unstructured data server.

hostId
required
string <uuid>

Host ID. To get the ID, run the Get All Servers request.

required
object (FileServerProcessingModel)

File server processing settings.

Responses
201

A FileServerSave session has been created to add the unstructured data server. To check the progress, track the session state with the Get Session request.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/unstructuredDataServers
Request samples
application/json
{
  • "type": "FileServer",
  • "hostId": "a1b2c3d4-1111-4a2b-9c3d-4e5f6a7b8c9d",
  • "processing": {
    }
}
Response samples
application/json
{
  • "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  • "name": "File Share Update",
  • "jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  • "sessionType": "FileServerSave",
  • "creationTime": "2026-10-21T09:14:52.307+02:00",
  • "state": "Starting",
  • "progressPercent": 0,
  • "result": {
    },
  • "usn": 517204,
  • "initiatedBy": "veeamadmin",
  • "originalSessionId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Get Unstructured Data Server Defaults

The HTTP GET request to the /api/v1/inventory/unstructuredDataServers/defaults endpoint returns unstructured data server defaults, such as default cache repository, and so on.

Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/inventory/unstructuredDataServers/defaults
Request samples
Response samples
application/json
{ }

Get Unstructured Data Server

The HTTP GET request to the /api/v1/inventory/unstructuredDataServers/{id} endpoint gets an unstructured data server that has the specified id.

Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

ID of the unstructured data server. To get the ID, run the Get All Unstructured Data Servers request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/inventory/unstructuredDataServers/{id}
Request samples
Response samples
application/json
{
  • "id": "f2a3b4c5-9999-4c0d-9e1f-2a3b4c5d6e7f",
  • "type": "FileServer",
  • "name": "enterprise01.tech.local",
  • "hostId": "a1b2c3d4-1111-4a2b-9c3d-4e5f6a7b8c9d",
  • "hostType": "Windows",
  • "processing": {
    }
}

Edit Unstructured Data Server

The HTTP PUT request to the /api/v1/inventory/unstructuredDataServers/{id} endpoint edits an unstructured data server that has the specified id.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

ID of the unstructured data server. To get the ID, run the Get All Unstructured Data Servers request.

query Parameters
migrationType
string (EUnstructuredDataMetaMigrationType)
Default: "CopyMetaFromCache"

Meta migration type for the unstructured data server cache repository.

Enum: "CheckExistence" "CopyMetaFromCache" "DownloadMetaFromArchive"
coldStorageRetrievalMode
string (EColdStorageRetrievalMode)

Meta migration type for the unstructured data server cache repository.

Enum: "AmazonBulk" "AmazonStandard" "AmazonExpedited" "AzureStandardPriority" "AzureHighPriority"
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
id
required
string <uuid>

ID of the unstructured data server.

type
required
string (EUnstructuredDataServerType)

Type of unstructured data server.

hostId
required
string <uuid>

Host ID. To get the ID, run the Get All Servers request.

required
object (FileServerProcessingModel)

File server processing settings.

name
string

DNS name of the file server.

hostType
string (EFileServerHostType)

Type of the host that backs the file server. Identifies whether the file server is a Linux machine, a Windows machine or the Veeam Backup & Replication server itself. Set by the server; ignored on write.

Enum: "Windows" "Linux" "BackupServer"
Responses
201

A FileServerSave session has been created to edit the unstructured data server. To check the progress, track the session state with the Get Session request.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

put/api/v1/inventory/unstructuredDataServers/{id}
Request samples
application/json
{
  • "id": "f2a3b4c5-9999-4c0d-9e1f-2a3b4c5d6e7f",
  • "type": "FileServer",
  • "name": "enterprise01.tech.local",
  • "hostId": "a1b2c3d4-1111-4a2b-9c3d-4e5f6a7b8c9d",
  • "hostType": "Windows",
  • "processing": {
    }
}
Response samples
application/json
{
  • "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  • "name": "File Share Update",
  • "jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  • "sessionType": "FileServerSave",
  • "creationTime": "2026-10-21T09:41:18.664+02:00",
  • "state": "Starting",
  • "progressPercent": 0,
  • "result": {
    },
  • "usn": 517251,
  • "initiatedBy": "veeamadmin",
  • "originalSessionId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Remove Unstructured Data Server

The HTTP DELETE request to the /api/v1/inventory/unstructuredDataServers/{id} endpoint removes an unstructured data server that has the specified id.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

ID of the unstructured data server. To get the ID, run the Get All Unstructured Data Servers request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

The file server or NAS filer has been removed.

201

For SMB shares, NFS shares and object storage, an InfrastructureItemDeletion session has been created to remove the server. To check the progress, track the session state with the Get Session request.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

delete/api/v1/inventory/unstructuredDataServers/{id}
Request samples
Response samples
application/json
{
  • "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  • "name": "Infrastructure Item Deletion",
  • "jobId": "3cd03b37-7685-40d5-a63b-7fec631e2ac9",
  • "sessionType": "InfrastructureItemDeletion",
  • "creationTime": "2026-10-21T10:05:36.912+02:00",
  • "state": "Starting",
  • "progressPercent": 0,
  • "result": {
    },
  • "usn": 517318,
  • "initiatedBy": "veeamadmin",
  • "originalSessionId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Start Browsing Unstructured Data Server

The HTTP POST request to the /api/v1/inventory/unstructuredDataServers/{id}/startBrowse endpoint starts browsing an unstructured data server added to the inventory.

Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Unstructured data server ID. To get the ID, run the Get All Unstructured Data Servers request.

query Parameters
timeout
integer <int32>

Timeout in minutes.

permissionScope
string (EInventoryPermissionScope)

Permission scope type in advanced role-based access control (RBAC) for filtering the items that the browsing session returns. The parameter applies to custom roles only. If the value is Any or is not specified, items valid under any permission scope are returned.

Enum: "Backup" "Restore" "Any"
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
201

Browse session has been started.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/unstructuredDataServers/{id}/startBrowse
Request samples
Response samples
application/json
{
  • "sessionId": "10203040-6a6a-4d7e-8f8a-9b0c1d2e3f40",
  • "serverId": "f2a3b4c5-9999-4c0d-9e1f-2a3b4c5d6e7f",
  • "serverName": "enterprise01.tech.local",
  • "timeout": 600,
  • "pathSeparator": "\\",
  • "rootPath": "\\\\enterprise01.tech.local\\Share"
}

Browse Unstructured Data Server

The HTTP POST request to the /api/v1/inventory/unstructuredDataServers/sessions/{id}/browse endpoint browses the content of an unstructured data server within the browse session that has the specified id.

Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Browse session ID. To get the ID, run the Get All Unstructured Data Server Inventory Browse Sessions request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
path
required
string

Browsing path.

pathType
string (EUnstructuredDataInventoryBrowseItemType)

Unstructured data item type.

Enum: "Drive" "Folder" "File"
object (UnstructuredDataInventoryBrowseFiltrationModel)

Filter settings.

object (UnstructuredDataInventoryBrowseOrderSpec)

Sorting settings.

object (PaginationSpec)

Pagination settings.

Responses
201

OK

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/unstructuredDataServers/sessions/{id}/browse
Request samples
application/json
{
  • "path": "\\\\enterprise01.tech.local\\Share\\Documents",
  • "pathType": "Folder",
  • "pagination": {
    }
}
Response samples
application/json
{
  • "path": "\\\\enterprise01.tech.local\\Share\\Documents",
  • "items": [
    ],
  • "pagination": {
    }
}

Stop Browsing Unstructured Data Server

The HTTP POST request to the /api/v1/inventory/unstructuredDataServers/sessions/{id}/stop endpoint stops browsing an unstructured data server within the browse session that has the specified id.

Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Browse session ID. To get the ID, run the Get All Unstructured Data Server Inventory Browse Sessions request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
201

Browse session has been stopped.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/unstructuredDataServers/sessions/{id}/stop
Request samples
Response samples
application/json
{
  • "sessionId": "10203040-6a6a-4d7e-8f8a-9b0c1d2e3f40",
  • "serverId": "f2a3b4c5-9999-4c0d-9e1f-2a3b4c5d6e7f",
  • "serverName": "enterprise01.tech.local",
  • "timeout": 600,
  • "pathSeparator": "\\",
  • "rootPath": "\\\\enterprise01.tech.local\\Share"
}

Get All Unstructured Data Server Inventory Browse Sessions

The HTTP GET request to the /api/v1/inventory/unstructuredDataServers/sessions endpoint gets an array of unstructured data server inventory browse sessions available on the backup server.

Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
query Parameters
skip
integer <int32>

Number of sessions to skip.

limit
integer <int32>
Default: 200

Maximum number of sessions to return.

orderColumn
string (EUnstructuredDataInventoryBrowseSessionsFiltersOrderColumn)

Sorts sessions by one of the session parameters.

Value: "ServerName"
orderAsc
boolean

If true, sorts sessions in ascending order by the orderColumn parameter.

sessionIdFilter
string

Filters sessions by the sessionIdFilter pattern. The pattern can match any sessionId parameter.

serverIdFilter
string

Filters sessions by the serverIdFilter pattern. The pattern can match any serverId parameter.

serverNameFilter
string

Filters sessions by the serverNameFilter pattern. The pattern can match any serverName parameter. To substitute one or more characters, use the asterisk (*) character at the beginning, at the end or both.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/inventory/unstructuredDataServers/sessions
Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Get Unstructured Data Server Inventory Browse Session

The HTTP GET request to the /api/v1/inventory/unstructuredDataServers/sessions/{id} endpoint gets an unstructured data server inventory browse session that has the specified id.

Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Browse session ID. To get the ID, run the Get All Unstructured Data Server Inventory Browse Sessions request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/inventory/unstructuredDataServers/sessions/{id}
Request samples
Response samples
application/json
{
  • "sessionId": "10203040-6a6a-4d7e-8f8a-9b0c1d2e3f40",
  • "serverId": "f2a3b4c5-9999-4c0d-9e1f-2a3b4c5d6e7f",
  • "serverName": "enterprise01.tech.local",
  • "timeout": 600,
  • "pathSeparator": "\\",
  • "rootPath": "\\\\enterprise01.tech.local\\Share"
}

Get All Microsoft Entra ID Tenants

The HTTP GET request to the /api/v1/inventory/entraId/tenants endpoint gets an array of all Microsoft Entra ID tenants added to the inventory.

Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
query Parameters
skip
integer <int32>

Number of Microsoft Entra ID tenants to skip.

limit
integer <int32>
Default: 200

Maximum number of Microsoft Entra ID tenants to return.

orderColumn
string (EEntraIDTenantsFiltersOrderColumn)

Sorts Microsoft Entra ID tenants by one of the tenant parameters.

Enum: "Name" "Description"
orderAsc
boolean

If true, sorts Microsoft Entra ID tenants in ascending order by the orderColumn parameter.

nameFilter
string

Filters Microsoft Entra ID tenants by the nameFilter pattern. The pattern can match the name property. To substitute one or more characters, use the asterisk (*) character at the beginning, at the end or both.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/inventory/entraId/tenants
Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Add Microsoft Entra ID Tenant

The HTTP POST request to the /api/v1/inventory/entraId/tenants endpoint adds a Microsoft Entra ID tenant to the inventory.

When adding a tenant, specify an existing Microsoft Entra ID app registration or let Veeam Backup & Replication create a new one. If you choose to create a new app registration, you must generate a verification code and register the new application before you start adding a tenant:

  1. To generate a code, run the Get Microsoft Entra ID Verification Code request.
  2. To register the new application, run the Register Microsoft Entra ID Application request.

Available to: Backup Administrator.

SecurityBearer
Request
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
azureTenantId
required
string <uuid>

Tenant ID assigned by Microsoft Entra ID.

creationMode
required
string (EEntraIDTenantCreationMode)

Connection method that defines whether you want to connect to Microsoft Entra ID using an existing or a newly created app registration.

Enum: "NewAccount" "ExistingAccount"
description
string

Tenant description.

cacheRepositoryId
string <uuid>

ID of a backup repository that is used as a cache repository for the tenant. If you do not specify the ID, the default backup repository is used. To get the ID, run the Get All Repositories request.

region
string (EAzureRegionType)

Microsoft Azure region.

Enum: "China" "Global" "Government"
object (EntraIDTenantExistingAccountSpec)

Existing Microsoft Entra ID app registration.

object (EntraIDTenantNewAccountSpec)

New Microsoft Entra ID app registration.

protectionScope
Array of strings (EEntraIdTenantResource)

Array of tenant protection scopes.

Items Enum: "Users" "Groups" "AdministrativeUnits" "Roles" "Applications" "Logs" "ConditionalAccessPolicies" "IntunePolicies" "OrgContacts" "Devices" "DeviceManagementRoleDefinitions"
Responses
201

A FileServerSave session has been created to add the tenant. To check the progress, track the session state with the Get Session request.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/entraId/tenants
Request samples
application/json
{
  • "azureTenantId": "00000000-0000-0000-0000-000000000000",
  • "cacheRepositoryId": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",
  • "creationMode": "NewAccount",
  • "description": "Tenant 1",
  • "region": "Global",
  • "newAccount": {
    },
  • "protectionScope": [
    ]
}
Response samples
application/json
{
  • "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  • "name": "Microsoft Entra ID Tenant Update",
  • "jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  • "sessionType": "FileServerSave",
  • "creationTime": "2026-10-18T09:14:27.553+02:00",
  • "state": "Starting",
  • "progressPercent": 0,
  • "result": {
    },
  • "resourceId": "00000000-0000-0000-0000-000000000000",
  • "resourceReference": "/api/v1/inventory/entraId/tenants/00000000-0000-0000-0000-000000000000",
  • "usn": 512244,
  • "initiatedBy": "veeamadmin",
  • "originalSessionId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Get Microsoft Entra ID Tenant

The HTTP GET request to the /api/v1/inventory/entraId/tenants/{id} endpoint gets a Microsoft Entra ID tenant that has the specified id.

Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

ID of the Microsoft Entra ID tenant. To get the ID, run the Get All Microsoft Entra ID Tenants request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/inventory/entraId/tenants/{id}
Request samples
Response samples
application/json
{
  • "region": "Global",
  • "id": "a1401206-5c01-4586-aa81-573aeb027b6d",
  • "azureTenantId": "00000000-0000-0000-0000-000000000000",
  • "description": "Tenant 1",
  • "cacheRepositoryId": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",
  • "authentication": {
    },
  • "protectionScope": [
    ],
  • "name": "Organization Tenant",
  • "credentialsType": "Secret"
}

Edit Microsoft Entra ID Tenant

The HTTP PUT request to the /api/v1/inventory/entraId/tenants/{id} endpoint edits a Microsoft Entra ID tenant that has the specified id.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

ID of the Microsoft Entra ID tenant. To get the ID, run the Get All Microsoft Entra ID Tenants request.

query Parameters
migrationType
string (EUnstructuredDataMetaMigrationType)
Default: "CopyMetaFromCache"

Metadata migration type for the cache repository of the tenant. If metadata migration is available for the tenant and the cache repository specified in the request body, specify one of the available migration types. Otherwise, omit the parameter.

Enum: "CheckExistence" "CopyMetaFromCache" "DownloadMetaFromArchive"
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
id
required
string <uuid>

Tenant ID assigned by Veeam Backup & Replication.

cacheRepositoryId
required
string <uuid>

ID of a backup repository that is used as a cache repository for the tenant. To get the ID, run the Get All Repositories request.

azureTenantId
string <uuid>

Tenant ID assigned by Microsoft Entra ID.

description
string

Tenant description.

region
string (EAzureRegionType)

Microsoft Azure region.

Enum: "China" "Global" "Government"
object (EntraIDTenantAuthenticationModel)

Authentication settings.

protectionScope
Array of strings (EEntraIdTenantResource)

Array of tenant protection scopes.

Items Enum: "Users" "Groups" "AdministrativeUnits" "Roles" "Applications" "Logs" "ConditionalAccessPolicies" "IntunePolicies" "OrgContacts" "Devices" "DeviceManagementRoleDefinitions"
name
string

Tenant name.

credentialsType
string (EEntraIdTenantCredentialsType)

Credentials type.

Enum: "Secret" "Certificate"
Responses
201

A FileServerSave session has been created to edit the tenant. To check the progress, track the session state with the Get Session request.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

put/api/v1/inventory/entraId/tenants/{id}
Request samples
application/json
{
  • "region": "Global",
  • "id": "a1401206-5c01-4586-aa81-573aeb027b6d",
  • "azureTenantId": "00000000-0000-0000-0000-000000000000",
  • "description": "Tenant 1",
  • "cacheRepositoryId": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",
  • "authentication": {
    },
  • "protectionScope": [
    ],
  • "name": "Organization Tenant",
  • "credentialsType": "Secret"
}
Response samples
application/json
{
  • "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  • "name": "Microsoft Entra ID Tenant Update",
  • "jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  • "sessionType": "FileServerSave",
  • "creationTime": "2026-10-18T09:46:58.017+02:00",
  • "state": "Starting",
  • "progressPercent": 0,
  • "result": {
    },
  • "resourceId": "00000000-0000-0000-0000-000000000000",
  • "resourceReference": "/api/v1/inventory/entraId/tenants/00000000-0000-0000-0000-000000000000",
  • "usn": 512301,
  • "initiatedBy": "veeamadmin",
  • "originalSessionId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Remove Microsoft Entra ID Tenant

The HTTP DELETE request to the /api/v1/inventory/entraId/tenants/{id} endpoint removes a Microsoft Entra ID tenant that has the specified id from the backup infrastructure.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

ID of the Microsoft Entra ID tenant. To get the ID, run the Get All Microsoft Entra ID Tenants request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
201

An InfrastructureItemDeletion session has been created to remove the tenant. To check the progress, track the session state with the Get Session request.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

delete/api/v1/inventory/entraId/tenants/{id}
Request samples
Response samples
application/json
{
  • "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  • "name": "Infrastructure Item Deletion",
  • "jobId": "fc5683a4-8c25-4f8e-97cc-0a40745a5729",
  • "sessionType": "InfrastructureItemDeletion",
  • "creationTime": "2026-10-14T10:42:08.815+02:00",
  • "state": "Starting",
  • "progressPercent": 0,
  • "result": {
    },
  • "usn": 509904,
  • "initiatedBy": "veeamadmin",
  • "originalSessionId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Discover Microsoft Active Directory Forest

The HTTP POST request to the /api/v1/inventory/activeDirectory/discoverForest endpoint discovers the topology of an Active Directory forest that is not added to the inventory yet. For each discovered domain controller, Veeam Backup & Replication suggests a machine to which the domain controller can be mapped.

Veeam Backup & Replication connects to the forest over LDAPS and does not save any data, except in one case. If you confirm the certificate of an untrusted domain controller in certificateThumbprint, Veeam Backup & Replication saves the certificate authorities of the forest, so the next requests and the scheduled rescans do not require confirmation.

To add the forest, run the Add Microsoft Active Directory Forest request. In the request body, specify rootDomainFqdn, rootDomainAdId and domainControllers from the response, and the ID of the credentials record that you want to use in credentialsId. You can edit the suggested mappings before you add the forest.

To discover mappings again only for specific domain controllers, specify the objectGUIDs of these domain controllers in dcObjectGuids. In this case, the response contains mapping suggestions only for these domain controllers.

Available to: Backup Administrator.

SecurityBearer
Request
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
serverName
required
string

Full DNS name of any domain controller in the forest.

credentialsId
required
string <uuid>

ID of a standard credentials record used to connect to the domain controller. To get the ID, run the Get All Credentials request.

certificateThumbprint
string

Thumbprint of the TLS certificate of the domain controller that the user confirmed. Required if the backup server does not trust the certificate yet. If you omit the thumbprint in this case, the request fails. To get the certificate, run the Get Microsoft Active Directory Domain Controller Certificate request.

dcObjectGuids
Array of strings <uuid>

Array of Active Directory objectGUIDs (dcObjectGuid) of the domain controllers for which you want to discover mappings. Veeam Backup & Replication reads the entire forest topology but suggests mappings only for the specified domain controllers. If you omit the property, Veeam Backup & Replication discovers mappings for all domain controllers of the forest.

Responses
200

OK

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/activeDirectory/discoverForest
Request samples
application/json
{
  • "serverName": "dc01.tech.local",
  • "credentialsId": "d7cf20be-4a45-4f26-b1b8-79c25b3af6ec"
}
Response samples
application/json
{
  • "rootDomainFqdn": "tech.local",
  • "rootDomainAdId": "3f29a1d4-9c3e-4b7a-8e21-6a2f6f9c1a02",
  • "domainControllers": [
    ]
}

Get Microsoft Active Directory Domain Controller Certificate

The HTTP POST request to the /api/v1/inventory/activeDirectory/forestCertificate endpoint gets the TLS certificate that a domain controller presents for LDAPS connections. The isTrusted property of the response shows whether the backup server already trusts the certificate.

Run this request before you discover a forest whose certificate is not trusted yet. Show the certificate to the user, and specify its thumbprint in the certificateThumbprint property of the Discover Microsoft Active Directory Forest request. When you discover the forest, Veeam Backup & Replication saves the certificate authorities of the forest, so the next discoveries and rescans do not require the thumbprint.

Available to: Backup Administrator.

SecurityBearer
Request
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
serverName
required
string

Full DNS name of any domain controller in the forest.

credentialsId
required
string <uuid>

ID of a standard credentials record used to connect to the domain controller. To get the ID, run the Get All Credentials request.

Responses
200

OK

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/activeDirectory/forestCertificate
Request samples
application/json
{
  • "serverName": "dc01.tech.local",
  • "credentialsId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
Response samples
application/json
{
  • "certificate": {
    },
  • "certificateUpload": {
    }
}

Discover Microsoft Active Directory Forest Backup Jobs

The HTTP POST request to the /api/v1/inventory/activeDirectory/discoverProtectingJobs endpoint finds backup jobs that already include the specified domain controllers. The response groups the domain controllers by backup job.

The request does not save any data and does not require the forest to be added to the inventory. Run the request after you confirm the domain controller mappings returned by the Discover Microsoft Active Directory Forest request. In the request body, specify the domainControllers array from the discovery result with the mappings that you confirmed.

Available to: Backup Administrator.

SecurityBearer
Request
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
required
Array of objects (ActiveDirectoryForestDcMappingSpec)

Array of domain controllers to check, in the format that forest discovery returns and the Add Microsoft Active Directory Forest request accepts.

Responses
200

OK

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/activeDirectory/discoverProtectingJobs
Request samples
application/json
{
  • "domainControllers": [
    ]
}
Response samples
application/json
{
  • "jobs": [
    ]
}

Get All Microsoft Active Directory Forests

The HTTP GET request to the /api/v1/inventory/activeDirectory/forests endpoint gets an array of all Active Directory forests added to the inventory, with their settings and domain controller mappings. To get only the connection and SLA compliance state of the forests, run the Get States of All Microsoft Active Directory Forests request.

Available to: Backup Administrator.

SecurityBearer
Request
query Parameters
skip
integer <int32>

Number of Active Directory forests to skip.

limit
integer <int32>
Default: 200

Maximum number of Active Directory forests to return.

orderAsc
boolean

If true, sorts Active Directory forests in ascending order by the rootDomainFqdn property.

nameFilter
string

Filters Active Directory forests by the nameFilter pattern. The pattern can match the rootDomainFqdn property. To substitute one or more characters, use the asterisk (*) character at the beginning, at the end or both.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/inventory/activeDirectory/forests
Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Add Microsoft Active Directory Forest

The HTTP POST request to the /api/v1/inventory/activeDirectory/forests endpoint adds an Active Directory forest to the inventory.

In the request body, specify the forest identity (rootDomainFqdn and rootDomainAdId) returned by the Discover Microsoft Active Directory Forest request, the ID of the standard credentials record used to connect to the forest, and the domain controllers that you want to add. The request does not connect to Active Directory.

Available to: Backup Administrator.

SecurityBearer
Request
query Parameters
performRescan
boolean
Default: false

If true and the forest is added successfully, Veeam Backup & Replication automatically starts the SLA Compliance job to rescan the forest.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
rootDomainFqdn
required
string

Fully qualified domain name of the forest root domain, as returned by forest discovery. Veeam Backup & Replication uses the name to identify the forest and to connect to the forest during rescans.

credentialsId
required
string <uuid>

ID of the standard credentials record used to connect to domain controllers of the Active Directory forest over LDAPS during rescans. Veeam Backup & Replication does not use these credentials to install Veeam Agent. To specify credentials for Veeam Agent installation, use catchAllJobs.agentDeployment.credentialsId. To get the ID, run the Get All Credentials request.

rootDomainAdId
required
string <uuid>

Active Directory objectGUID of the crossRef object of the forest root domain, as returned by forest discovery. The objectGUID identifies the forest. If a forest with this objectGUID is already added, the request fails.

required
object (ActiveDirectoryForestSlaMonitoringSpec)

SLA compliance settings of the Active Directory forest. To specify the SLA requirements, use the slaRequirements property.

required
object (ActiveDirectoryForestSlaRequirementsSpec)

SLA requirements that backup jobs protecting domain controllers of the forest must meet.

description
string

Description of the Active Directory forest.

Array of objects (ActiveDirectoryForestDcMappingSpec)

Array of domain controllers that you want to add with the forest, each with an optional machine mapping. Veeam Backup & Replication adds only the specified domain controllers, so specify every domain controller returned by forest discovery that you want to add. Domain controllers without mapping are added unmapped. The request does not discover or map domain controllers automatically.

object (ActiveDirectoryForestCatchAllJobsSpec)

Backup jobs to which Veeam Backup & Replication can add unprotected domain controllers, and settings for automatic installation of Veeam Agent on unprotected domain controllers that are not mapped or are mapped to physical machines. Veeam Backup & Replication installs Veeam Agent only if jobs contains a job of the Agent platform.

object (ActiveDirectoryForestScheduleSpec)

Schedule settings for automatic rescans and SLA compliance checks of the Active Directory forest. Enable no more than one of the daily, monthly, periodically and afterThisJob options.

Responses
201

An Infrastructure session has been created to add the forest. To check the progress, track the session state with the Get Session request.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/activeDirectory/forests
Request samples
application/json
{
  • "rootDomainFqdn": "tech.local",
  • "credentialsId": "d7cf20be-4a45-4f26-b1b8-79c25b3af6ec",
  • "rootDomainAdId": "3f29a1d4-9c3e-4b7a-8e21-6a2f6f9c1a02",
  • "description": "Production forest",
  • "domainControllers": [
    ],
  • "catchAllJobs": {
    },
  • "slaMonitoring": {
    },
  • "slaRequirements": {
    },
  • "schedule": {
    }
}
Response samples
application/json
{
  • "sessionType": "Infrastructure",
  • "state": "Working",
  • "id": "5b26a520-4bb8-4390-b3e5-8b6bfa0aacbb",
  • "name": "AD Forest Registration",
  • "jobId": "5b26a520-4bb8-4390-b3e5-8b6bfa0aacbb",
  • "creationTime": "2026-07-07T13:01:27.491999+02:00",
  • "progressPercent": 0,
  • "result": {
    },
  • "usn": 331548,
  • "initiatedBy": ".\\veeam-rest-service"
}

Get States of All Microsoft Active Directory Forests

The HTTP GET request to the /api/v1/inventory/activeDirectory/forests/states endpoint gets an array of states of all Active Directory forests added to the inventory. The state of a forest includes the connection status, the last session and the SLA compliance status of the domains and domain controllers of the forest. To get the forest settings, run the Get All Microsoft Active Directory Forests request.

Available to: Backup Administrator.

SecurityBearer
Request
query Parameters
skip
integer <int32>

Number of Active Directory forests to skip.

limit
integer <int32>
Default: 200

Maximum number of Active Directory forests to return.

orderAsc
boolean

If true, sorts Active Directory forests in ascending order by the rootDomainFqdn property.

nameFilter
string

Filters Active Directory forests by the nameFilter pattern. The pattern can match the rootDomainFqdn property. To substitute one or more characters, use the asterisk (*) character at the beginning, at the end or both.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/inventory/activeDirectory/forests/states
Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Get Microsoft Active Directory Forest

The HTTP GET request to the /api/v1/inventory/activeDirectory/forests/{id} endpoint gets an Active Directory forest that has the specified id, including its domain controllers and the machines to which the domain controllers are mapped.

Veeam Backup & Replication calculates the machine mapping details (platform and path) each time you run the request.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

ID of the Active Directory forest. To get the ID, run the Get All Microsoft Active Directory Forests request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/inventory/activeDirectory/forests/{id}
Request samples
Response samples
application/json
{
  • "id": "a1401206-5c01-4586-aa81-573aeb027b6d",
  • "rootDomainFqdn": "tech.local",
  • "rootDomainAdId": "3f29a1d4-9c3e-4b7a-8e21-6a2f6f9c1a02",
  • "credentialsId": "d7cf20be-4a45-4f26-b1b8-79c25b3af6ec",
  • "description": "Production forest",
  • "lastRescanTime": "2026-07-10T08:00:00Z",
  • "lastSessionId": "0d1b9e46-7a52-4c3d-9f80-2b64c8a1e357",
  • "lastSessionTime": "2026-07-10T08:00:00Z",
  • "connectionStatus": "Connected",
  • "lastConnectionCheckTime": "2026-07-10T08:05:00Z",
  • "nextRescanTime": "2026-07-10T08:30:00Z",
  • "catchAllJobs": {
    },
  • "slaMonitoring": {
    },
  • "slaRequirements": {
    },
  • "schedule": {
    },
  • "domains": [
    ]
}

Remove Microsoft Active Directory Forest

The HTTP DELETE request to the /api/v1/inventory/activeDirectory/forests/{id} endpoint removes an Active Directory forest that has the specified id from the inventory.

The request creates an InfrastructureItemDeletion session that stops SLA compliance checks for the forest and removes the records of the forest and its domain controllers from the inventory. The request does not delete backups of the domain controllers.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

ID of the Active Directory forest. To get the ID, run the Get All Microsoft Active Directory Forests request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
201

An InfrastructureItemDeletion session has been created to remove the forest. To check the progress, track the session state with the Get Session request.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

delete/api/v1/inventory/activeDirectory/forests/{id}
Request samples
Response samples
application/json
{
  • "sessionType": "InfrastructureItemDeletion",
  • "state": "Working",
  • "id": "5b26a520-4bb8-4390-b3e5-8b6bfa0aacbb",
  • "name": "AD Forest Unregistration",
  • "jobId": "c19c9053-6ad9-4a58-a267-6a3a0ac9ab48",
  • "creationTime": "2026-07-07T13:01:27.491999+02:00",
  • "progressPercent": 0,
  • "result": {
    },
  • "usn": 331548,
  • "initiatedBy": ".\\veeam-rest-service"
}

Edit Microsoft Active Directory Forest

The HTTP PUT request to the /api/v1/inventory/activeDirectory/forests/{id} endpoint edits an Active Directory forest that has the specified id.

In the request body, specify the forest returned by the Get Microsoft Active Directory Forest request with the settings that you want to change. Veeam Backup & Replication ignores read-only properties. You cannot change the forest identity (rootDomainFqdn and rootDomainAdId). To change domain controller mappings, use domains[].domainControllers[]. You cannot add or remove domain controllers. The request does not connect to Active Directory.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

ID of the Active Directory forest. To get the ID, run the Get All Microsoft Active Directory Forests request.

query Parameters
performRescan
boolean
Default: false

If true and the forest is edited successfully, Veeam Backup & Replication automatically starts the SLA Compliance job to rescan the forest.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
id
required
string <uuid>

Forest ID assigned by Veeam Backup & Replication.

rootDomainFqdn
required
string

Fully qualified DNS name of the forest root domain. You cannot change the value when you edit the forest.

rootDomainAdId
required
string <uuid>

Active Directory objectGUID of the forest root domain. You cannot change the value when you edit the forest.

credentialsId
required
string <uuid>

ID of the standard credentials record used to connect to domain controllers of the Active Directory forest over LDAPS. Veeam Backup & Replication does not use these credentials to install Veeam Agent. To specify credentials for Veeam Agent installation, use catchAllJobs.agentDeployment.credentialsId. To get the ID, run the Get All Credentials request.

connectionStatus
required
string (EActiveDirectoryForestConnectionStatus)

Result of the connection to the Active Directory forest during the last session of the SLA Compliance job.

Enum Value Description
Disconnected The SLA Compliance job could not connect to the forest, the server that responded belongs to another forest, the automatic rescan schedule of the forest is disabled, or the forest has never been rescanned.
Connected The SLA Compliance job connected to the forest, and the server that responded belongs to this forest.

The connection status does not include SLA compliance. Veeam Backup & Replication reports the SLA compliance status for each domain in domains[].status.

Enum: "Disconnected" "Connected"
description
string

Description of the Active Directory forest.

lastRescanTime
string <date-time>

Date and time of the last successful topology rescan of the Active Directory forest. The property is null if the forest topology has never been rescanned. Veeam Backup & Replication ignores this value in the Edit Microsoft Active Directory Forest request.

lastSessionId
string <uuid>

ID of the last session of the SLA Compliance job. The property is null if the job has no sessions yet. Veeam Backup & Replication ignores this value in the Edit Microsoft Active Directory Forest request.

lastSessionTime
string <date-time>

Date and time when the last session of the SLA Compliance job started. The property is null if the job has no sessions yet. Veeam Backup & Replication ignores this value in the Edit Microsoft Active Directory Forest request.

lastConnectionCheckTime
string <date-time>

Date and time of the last attempt to connect to the Active Directory forest, whether the attempt succeeded or failed. The property is null if no rescan has run yet. Veeam Backup & Replication updates this value on every rescan attempt and updates lastRescanTime only if the rescan succeeds. If lastConnectionCheckTime is later than lastRescanTime and connectionStatus is Disconnected, the last rescan failed, and the topology in the response is outdated. Veeam Backup & Replication ignores this value in the Edit Microsoft Active Directory Forest request.

nextRescanTime
string <date-time>

Date and time of the next scheduled rescan of the Active Directory forest. The backup server calculates the value from the schedule settings. The property is null if the forest is not rescanned automatically (schedule.runAutomatically is false) or if the schedule has no next run. Veeam Backup & Replication ignores this value in the Edit Microsoft Active Directory Forest request.

object (ActiveDirectoryForestCatchAllJobsModel)

Backup jobs to which Veeam Backup & Replication can add unprotected domain controllers, and settings for automatic installation of Veeam Agent on unprotected domain controllers that are not mapped or are mapped to physical machines.

object (ActiveDirectoryForestSlaMonitoringSpec)

SLA compliance settings of the Active Directory forest. To specify the SLA requirements, use the slaRequirements property.

object (ActiveDirectoryForestSlaRequirementsSpec)

SLA requirements that backup jobs protecting domain controllers of the forest must meet.

object (ActiveDirectoryForestScheduleSpec)

Schedule settings for automatic rescans and SLA compliance checks of the Active Directory forest. Enable no more than one of the daily, monthly, periodically and afterThisJob options.

Array of objects (ActiveDirectoryForestDomainModel)

Array of root domains of the domain tree of the forest. Each domain contains its domain controllers, its SLA compliance status and its child domains in childDomains. Domains under another domain are listed in childDomains of that domain, not in this array. The status property of each domain contains the status that the last session of the SLA Compliance job set.

To change domain controller mappings when you edit the forest, specify the domain controllers in this array. Veeam Backup & Replication identifies each domain controller by dcObjectGuid and applies its mapping and machine. The domain controller must already be added to the forest. For details, see the description of ActiveDirectoryForestDomainControllerModel. Domain controllers that you do not specify keep their current mappings. You cannot add or remove domain controllers. Veeam Backup & Replication ignores the domain under which you list a domain controller.

Responses
201

An Infrastructure session has been created to edit the forest. To check the progress, track the session state with the Get Session request.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

put/api/v1/inventory/activeDirectory/forests/{id}
Request samples
application/json
{
  • "id": "a1401206-5c01-4586-aa81-573aeb027b6d",
  • "rootDomainFqdn": "tech.local",
  • "rootDomainAdId": "3f29a1d4-9c3e-4b7a-8e21-6a2f6f9c1a02",
  • "credentialsId": "d7cf20be-4a45-4f26-b1b8-79c25b3af6ec",
  • "description": "Production forest",
  • "lastRescanTime": "2026-07-10T08:00:00Z",
  • "lastSessionId": "0d1b9e46-7a52-4c3d-9f80-2b64c8a1e357",
  • "lastSessionTime": "2026-07-10T08:00:00Z",
  • "connectionStatus": "Connected",
  • "lastConnectionCheckTime": "2026-07-10T08:05:00Z",
  • "nextRescanTime": "2026-07-10T08:30:00Z",
  • "catchAllJobs": {
    },
  • "slaMonitoring": {
    },
  • "slaRequirements": {
    },
  • "schedule": {
    },
  • "domains": [
    ]
}
Response samples
application/json
{
  • "sessionType": "Infrastructure",
  • "state": "Working",
  • "id": "5b26a520-4bb8-4390-b3e5-8b6bfa0aacbb",
  • "name": "AD Forest Edit",
  • "jobId": "c19c9053-6ad9-4a58-a267-6a3a0ac9ab48",
  • "creationTime": "2026-07-07T13:01:27.491999+02:00",
  • "progressPercent": 0,
  • "result": {
    },
  • "usn": 331548,
  • "initiatedBy": ".\\veeam-rest-service"
}

Get Microsoft Active Directory Forest Protecting Jobs

The HTTP GET request to the /api/v1/inventory/activeDirectory/forests/{id}/protectingJobs endpoint gets protecting jobs of the Active Directory forest that has the specified id. A protecting job is a backup job that backs up domain controllers of the forest in a way that meets the SLA requirements of the forest. The response groups the domain controllers by job.

A job that includes a domain controller but does not meet the SLA requirements is not a protecting job, and the response does not contain this job. To get the protection status of each domain controller, run the Get Microsoft Active Directory Forest request.

Veeam Backup & Replication gets job names and domain controller details (fqdn, site and platform) each time you run the request.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

ID of the Active Directory forest. To get the ID, run the Get All Microsoft Active Directory Forests request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/inventory/activeDirectory/forests/{id}/protectingJobs
Request samples
Response samples
application/json
{
  • "jobs": [
    ]
}

Enable Microsoft Active Directory Forest Rescan Schedule

The HTTP POST request to the /api/v1/inventory/activeDirectory/forests/{id}/enable endpoint enables the automatic rescan schedule of the Active Directory forest that has the specified id. Veeam Backup & Replication rescans the forest according to the schedule settings of the forest.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

ID of the Active Directory forest. To get the ID, run the Get All Microsoft Active Directory Forests request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
204

The automatic rescan schedule has been enabled.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/activeDirectory/forests/{id}/enable
Request samples
Response samples
application/json
{
  • "errorCode": "UnexpectedContent",
  • "message": "One or more request parameters are not valid."
}

Disable Microsoft Active Directory Forest Rescan Schedule

The HTTP POST request to the /api/v1/inventory/activeDirectory/forests/{id}/disable endpoint disables the automatic rescan schedule of the Active Directory forest that has the specified id. After you disable the schedule, you can rescan the forest only with the Rescan Microsoft Active Directory Forest request.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

ID of the Active Directory forest. To get the ID, run the Get All Microsoft Active Directory Forests request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
204

The automatic rescan schedule has been disabled.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/activeDirectory/forests/{id}/disable
Request samples
Response samples
application/json
{
  • "errorCode": "UnexpectedContent",
  • "message": "One or more request parameters are not valid."
}

Rescan Microsoft Active Directory Forest

The HTTP POST request to the /api/v1/inventory/activeDirectory/forests/{id}/rescan endpoint starts the SLA Compliance job of the Active Directory forest that has the specified id. The job rescans the forest topology, checks the connection to the forest and checks the SLA compliance of the forest.

The request does not change the rescan schedule of the forest. If an operation is already starting or running for the forest, the request fails.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

ID of the Active Directory forest. To get the ID, run the Get All Microsoft Active Directory Forests request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
201

An AdForestMonitoring session has been created to rescan the forest. To check the progress, track the session state with the Get Session request.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/activeDirectory/forests/{id}/rescan
Request samples
Response samples
application/json
{
  • "sessionType": "AdForestMonitoring",
  • "state": "Starting",
  • "id": "f24442f6-d792-47ad-9b36-5f1353387208",
  • "name": "AD Forest SLA Compliance",
  • "jobId": "c19c9053-6ad9-4a58-a267-6a3a0ac9ab48",
  • "creationTime": "2026-07-07T13:01:27.491999+02:00",
  • "progressPercent": 0,
  • "result": {
    },
  • "usn": 331548,
  • "initiatedBy": ".\\veeam-rest-service"
}

Get Active Directory Objects from Domain

The HTTP GET request to the /api/v1/inventory/activeDirectory/domains/{id} endpoint gets an array of objects from the Active Directory domain that has the specified id.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

ID of Active Directory domain. To get the ID, run the Get Active Directory Domains request.

query Parameters
skip
integer <int32>

Number of Active Directory objects to skip.

limit
integer <int32>
Default: 200

Maximum number of Active Directory objects to return.

orderColumn
string (EADObjectFiltersOrderColumn)

Sorts Active Directory objects by one of the parameters.

Enum: "FullName" "Type"
orderAsc
boolean

Sorts Active Directory objects in ascending order by the orderColumn parameter.

fullNameFilter
string

Filters Active Directory objects by the fullNameFilter pattern. The pattern can match the fullName property. To substitute one or more characters, use the asterisk (*) character at the beginning, at the end or both.

typeFilter
string

Filters Active Directory objects by type.

parentIdFilter
string <uuid>

Filters Active Directory objects by parent object ID. Returns only direct children of the specified parent.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/inventory/activeDirectory/domains/{id}
Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Get Available Disk Slots for Platform

The HTTP GET request to the /api/v1/inventory/platforms/{platform}/diskSlots endpoint gets an array of available disk slots for selected platform.

Available to: Backup Administrator, Backup Operator, Restore Operator. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
path Parameters
platform
required
string (EPlatformType)

Platform for which available disk slots will be returned.

Enum: "VMware" "HyperV" "CloudDirector" "WindowsPhysical" "LinuxPhysical" "MacPhysical" "Tape" "CustomPlatform" "EntraID" "UnstructuredData" "Test" "MongoDb" "Iris" "AWS" "AzureCompute" "GCE" "Nutanix" "Proxmox" "LinuxPhysicalPpc" "ApplicationBackupRepository" "UniversalCdpWindows" "UniversalCdpLinux" "Xen" "HpeVme" "ScaleComputing" "OVirtKvm" "SangforHci" "KubeVirt" "OpenNebula" "Platform9" "VergeIo" "IbmAix" "SolarisIntel" "SolarisSparc" "UnixPhysical" "SapHana" "SapOnOracle" "OracleRman" "MicrosoftSql" "IbmDb2" "SapMaxDb" "RedHatOpenStack" "Virtuozzo"
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/inventory/platforms/{platform}/diskSlots
Request samples
Response samples
application/json
{
  • "diskSlots": [
    ]
}

Construct VMware vSphere Tag Combination (Multitag)

The HTTP POST request to the /api/v1/inventory/vSphere/constructMultitag endpoint constructs a tag combination (Multitag type) from VMware vSphere tags. A job that includes a tag combination processes only the objects that have all of the specified tags. You can add the returned object to a job.

NOTE
All specified tags must belong to the same VMware vSphere server. Veeam Backup & Replication sorts the tags, so the same set of tags always produces the same object. The request does not create any object in the VMware vSphere hierarchy. It only constructs the inventory object that you can add to a job.

Available to: Backup Administrator, Backup Operator, Restore Operator. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
required
Array of objects (VmwareObjectModel) non-empty

Array of VMware vSphere tags that the tag combination consists of. All tags must belong to the same VMware vSphere server.

Responses
200

OK

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/inventory/vSphere/constructMultitag
Request samples
application/json
{
  • "tags": [
    ]
}
Response samples
application/json
{
  • "platform": "VSphere",
  • "size": "N/A",
  • "hostName": "vcenter01.tech.local",
  • "name": "Production & Windows",
  • "type": "Multitag",
  • "objectId": "BAA9980721B6105F17CB56C092987156BB88D2FD02D9335046EB12DB0BA18675",
  • "metadata": [
    ]
}