- About Veeam Backup & Replication REST API
- Overview
- How To
- Mass Deployment
- Object Storage Repositories
- External Repositories
- Storage Integration
- VMware vSphere Support
- Microsoft Hyper-V Support
- Red Hat OpenStack and Virtuozzo Support
- Continuous Data Protection
- Microsoft Entra ID Support
- Microsoft Active Directory Forest Support
- Unstructured Data Support
- Veeam Agent Management
- Application Backup Policies
- File Restore
- Bare Metal Recovery and Volume Restore
- Instant Recovery to Microsoft Azure
- Malware Detection
- Resource Tags
- Changelog
- Global Changes
- New Features
- Application Authorization
- Resource Tags
- Continuous Data Protection
- Application Backup Policies
- Storage Integration
- Red Hat OpenStack and Virtuozzo
- Microsoft Active Directory Forest Protection
- External Repositories
- Veeam Agent for Mac and Veeam Agent for IBM AIX and Oracle Solaris
- Bare Metal Recovery and Volume Restore
- Users and Roles
- Security Events
- Hypervisor Plug-ins
- Oracle Cloud Infrastructure
- VMware Cloud Foundation Automation
- New Repository Types
- File Restore
- Microsoft Entra ID
- Backup Move and Copy
- Job Operations
- Agent Management
- Inventory Browser
- Microsoft Azure Helper Appliances
- DataAI Command Platform Events
- Connection
- Replicas
- Scale-Out Backup Repositories
- Central Management Certificate
- Deprecated Requests
- Minor Non-Breaking Changes
- Breaking Changes
- Login
- Users and Roles
- getGet All Users and Groups
- postAdd User or Group
- getGet User or Group
- delRemove User or Group
- getGet Roles Assigned to User or Group
- putEdit Roles Assigned to User or Group
- postChange Service Account Mode
- postReset MFA for Specific User
- getGet All Roles
- postCreate Custom Role
- getGet Role
- putEdit Custom Role
- delDelete Custom Role
- getGet Role Permissions
- getGet Custom Role Details
- postClone Custom Role
- getGet MFA Settings
- putEdit MFA Settings
- getGet All Restore Options
- getGet All Backup Options
- Applications
- ACL
- Security
- postStart Security & Compliance Analyzer
- getGet Security & Compliance Analyzer Last Run
- getGet Security & Compliance Analyzer Schedule
- putModify Security & Compliance Analyzer Schedule
- postReset All Security & Compliance Analyzer Statuses
- getGet Security & Compliance Analyzer Results
- postSuppress Security & Compliance Analyzer Best Practice Status
- postReset Security & Compliance Analyzer Status
- getGet All Authorization Events
- getGet Authorization Event
- getGet All Approval Events
- getGet Approval Event
- getGet All Software Appliance Events
- getGet Software Appliance Event
- Service
- Services
- DataAI Command Platform
- License
- postInstall License
- getGet Installed License
- postRemove License
- postCreate License Usage Report
- postRenew Installed License
- getGet Consumption of Socket Licenses
- postRevoke Socket License
- getGet Instance Licenses Consumption
- postAssign Instance License
- postRevoke Instance License
- postRemove Instance License
- getGet Capacity License Consumption
- postRevoke Capacity License from Unstructured Data Workload
- postUpdate License
- postEnable or Disable License Auto Update
- postEnable or Disable Instance Consumption for Unlicensed Agents
- Resource Tags
- getGet All Tag Definitions
- postCreate Tag Definition
- getGet Tag Definition
- putEdit Tag Definition
- delDelete Tag Definition
- getGet Tag Values by Key
- postCreate Tag Value
- getGet Tag Value
- putRename Tag Value
- delDelete Tag Value
- postGet Tag Assignments by Query
- getGet Job Tags
- postAssign Job Tags
- putReplace Job Tags
- postRemove Job Tags
- getGet Protection Group Tags
- postAssign Protection Group Tags
- putReplace Protection Group Tags
- postRemove Protection Group Tags
- getGet Credentials Record Tags
- postAssign Credentials Record Tags
- putReplace Credentials Record Tags
- postRemove Credentials Record Tags
- getGet Encryption Password Tags
- postAssign Encryption Password Tags
- putReplace Encryption Password Tags
- postRemove Encryption Password Tags
- getGet KMS Server Tags
- postAssign KMS Server Tags
- putReplace KMS Server Tags
- postRemove KMS Server Tags
- getGet Backup Tags
- postAssign Backup Tags
- putReplace Backup Tags
- postRemove Backup Tags
- getGet Replica Tags
- postAssign Replica Tags
- putReplace Replica Tags
- postRemove Replica Tags
- getGet Backup Repository Tags
- postAssign Backup Repository Tags
- putReplace Backup Repository Tags
- postRemove Backup Repository Tags
- getGet Scale-Out Backup Repository Tags
- postAssign Scale-Out Backup Repository Tags
- putReplace Scale-Out Backup Repository Tags
- postRemove Scale-Out Backup Repository Tags
- getGet Managed Server Tags
- postAssign Managed Server Tags
- putReplace Managed Server Tags
- postRemove Managed Server Tags
- getGet Role Tags
- postAssign Role Tags
- putReplace Role Tags
- postRemove Role Tags
- getGet Unstructured Data Server Tags
- postAssign Unstructured Data Server Tags
- putReplace Unstructured Data Server Tags
- postRemove Unstructured Data Server Tags
- postGet Inventory Object Tags
- getGet Inventory Tag Assignments
- postAssign Inventory Object Tags
- putReplace Inventory Object Tags
- postRemove Inventory Object Tags
- Traffic Rules
- General Options
- getGet General Options
- putEdit General Options
- getGet Email Settings
- putEdit Email Settings
- postSend Test Email
- postCheck SMTP Server Certificate
- getGet Host Authentication Settings
- putEdit Host Authentication Settings
- postExport Trusted Hosts List to a File
- postImport Trusted Hosts List from a File
- getGet Notification Settings
- putEdit Notification Settings
- getGet Event Forwarding Settings
- putEdit Event Forwarding Settings
- getGet Storage Latency Settings
- putEdit Storage Latency Settings
- postAdd Latency Settings for Specific Datastore
- getGet Latency Settings for Specific Datastore
- putEdit Latency Settings for Specific Datastore
- delRemove Latency Settings for Specific Datastore
- getGet VSA Event Forwarding Settings
- putEdit VSA Event Forwarding Settings
- getGet Daemon Settings for VSA Event Forwarding
- putEdit Daemon Settings for VSA Event Forwarding
- getGet Node Exporter Settings
- putUpdate Node Exporter Settings
- postSet Node Exporter Basic Authentication
- Global Exclusions
- Configuration Backup
- Deployment
- Connection
- High Availability (HA) Cluster
- Log export
- Credentials
- getGet All Credentials
- postAdd Credentials Record
- getGet Credentials Record
- putEdit Credentials Record
- delRemove Credentials Record
- postChange Password
- postChange Linux Private Key
- postChange Linux Root Password
- getGet All Cloud Credentials
- postAdd Cloud Credentials Record
- postGet Microsoft Entra ID Verification Code
- postRegister Microsoft Entra ID Application
- getGet Microsoft Entra ID Tenants Available for App Registration
- postCheck Microsoft Entra ID Tenant Sign-In Requirements
- postGet Google Authentication Information
- getGet Cloud Credentials Record
- putEdit Cloud Credentials Record
- delRemove Cloud Credentials Record
- postValidate Oracle Cloud Infrastructure Account Credentials
- getGet Available Oracle Cloud Infrastructure Regions
- postValidate New Credentials of Oracle Cloud Infrastructure Account
- postChange Secret Key
- postChange Google Service Account
- postChange Certificate
- getGet All Helper Appliances
- postAdd Helper Appliance
- getGet Helper Appliance
- putEdit Helper Appliance
- delRemove Helper Appliance
- postRemove Helper Appliances
- Encryption
- getGet All Encryption Passwords
- postAdd Encryption Password
- getGet Encryption Password
- putEdit Encryption Password Hint
- delRemove Encryption Password
- postChange Encryption Password
- postVerify Encryption Password
- getGet All KMS Servers
- postAdd KMS Server
- getGet KMS Server
- putEdit KMS Server
- delRemove KMS Server
- postChange KMS Server Certificate
- Credentials
- Malware Detection
- getGet All Malware Events
- postCreate Malware Event
- getGet Malware Event
- getGet All Malware Detection Settings
- putEdit Malware Detection Settings
- getGet Malware Suspicious File Masks Settings
- putEdit Malware Suspicious File Masks Settings
- getGet Malware Allowed Trusted Extensions
- getGet Malware File Detection Indicators of Compromise
- postEnable Monitoring of Indicators of Compromise
- postDisable Monitoring of Indicators of Compromise
- getGet Logs for SureBackup Scan Task Session
- postMark Backup Objects as Clean
- getGet All Malware Detection Objects
- getGet Malware Detection Object
- getGet All Malware Detection Exclusions
- postCreate or Update Malware Detection Exclusions
- postDelete Malware Detection Exclusions
- getGet YARA Rules
- postScan Backups with Antivirus or YARA Rules
- postStart Malware Encryption Analysis
- getDownload Malware Encryption Analysis Logs
- Malware Detection
- Cloud Browser
- Inventory Browser
- getGet All VMware vSphere Servers
- getGet VMware vSphere Server Objects
- postRescan Inventory Objects
- postGet All Servers
- postGet Inventory Objects
- postGet Inventory Object Details
- postGet All Protection Groups
- postGet All Physical Inventory
- postGet All Virtual Inventory
- postGet Inventory Objects for Specific Protection Group
- getGet All Unstructured Data Servers
- postAdd Unstructured Data Servers
- getGet Unstructured Data Server Defaults
- getGet Unstructured Data Server
- putEdit Unstructured Data Server
- delRemove Unstructured Data Server
- postStart Browsing Unstructured Data Server
- postBrowse Unstructured Data Server
- postStop Browsing Unstructured Data Server
- getGet All Unstructured Data Server Inventory Browse Sessions
- getGet Unstructured Data Server Inventory Browse Session
- getGet All Microsoft Entra ID Tenants
- postAdd Microsoft Entra ID Tenant
- getGet Microsoft Entra ID Tenant
- putEdit Microsoft Entra ID Tenant
- delRemove Microsoft Entra ID Tenant
- postDiscover Microsoft Active Directory Forest
- postGet Microsoft Active Directory Domain Controller Certificate
- postDiscover Microsoft Active Directory Forest Backup Jobs
- getGet All Microsoft Active Directory Forests
- postAdd Microsoft Active Directory Forest
- getGet States of All Microsoft Active Directory Forests
- getGet Microsoft Active Directory Forest
- delRemove Microsoft Active Directory Forest
- putEdit Microsoft Active Directory Forest
- getGet Microsoft Active Directory Forest Protecting Jobs
- postEnable Microsoft Active Directory Forest Rescan Schedule
- postDisable Microsoft Active Directory Forest Rescan Schedule
- postRescan Microsoft Active Directory Forest
- getGet Active Directory Objects from Domain
- getGet Available Disk Slots for Platform
- postConstruct VMware vSphere Tag Combination (Multitag)
- Managed Servers
- getGet All Servers
- postAdd Server
- postGet vCenter Servers Attached to Cloud Director Server
- postGet Microsoft Hyper-V Servers Managed by Microsoft Hyper-V Cluster or SCVMM Server
- getGet Server
- putEdit Server
- delRemove Server
- getGet CDP I/O Filter Status for Clusters
- postManage CDP I/O Filters on Clusters
- postChange to Single-Use Credentials
- getGet Volumes for Microsoft Hyper-V Standalone Server
- putEdit Volumes on Microsoft Hyper-V Standalone Server
- postRescan All Managed Servers
- postRescan Managed Server
- getDefault Set of Optional Managed Server Components
- postUpdate Managed Server Components
- postGet vCenter Servers Managed by VCF Automation Server
- Repositories
- getGet All Repositories
- postAdd Repository
- postRescan Repositories
- getGet All Repository States
- getGet Repository
- putEdit Repository
- delRemove Repository
- getGet Repository Access Permissions
- putEdit Repository Access Permissions
- getGet All Scale-Out Backup Repositories
- postAdd Scale-Out Backup Repository
- getGet Scale-Out Backup Repository
- putEdit Scale-Out Backup Repository
- delRemove Scale-Out Backup Repository
- postEnable Sealed Mode
- postDisable Sealed Mode
- postEnable Maintenance Mode
- postDisable Maintenance Mode
- postEvacuate Backups
- External Repositories
- Application Backup Repositories
- Mount Servers
- Proxies
- WAN Accelerators
- Helper Appliance Templates
- Jobs
- getGet All Jobs
- postCreate Job
- getGet All Job States
- postCalculate Job Objects Size
- getGet Job
- putEdit Job
- delDelete Job
- postStart Job
- postStop Job
- postRetry Job
- postDisable Job
- postEnable Job
- postApply Backup Policy Configuration
- postClear Backup Cache
- postClone Job
- postStart Quick Backup for VMware vSphere or VMware Cloud Director VM
- postStart Quick Backup for Hyper-V VM
- postStart Quick Backup for Agent-Managed Machine
- postStart Quick Backup for Agent-Managed Machines
- postStart VeeamZIP for One or More VMs
- Sessions
- Tasks
- Jobs
- Backups
- getGet All Backups
- getGet Backup
- delDelete Backup
- postView Backup Details
- getGet Backup Objects
- delDelete Backup Object
- postDownload Backup Metadata
- getGet All Backup Files
- getGet Backup File
- postMark Backup File as Clean
- postMark Backup File as Infected
- postRun Health Check and Repair
- postCopy Unstructured Data Backups to Another Repository
- postManage a Failed Copy Session of Unstructured Data Backups
- postCopy Machine Backups to Another Repository or Folder
- postMove Backup to Another Repository
- postMove Backup Objects to Another Job
- getGet Sessions of Moving or Copying Backups Awaiting Action
- postManage Session of Moving or Copying Backups Awaiting Action
- postCancel Moving or Copying Backups
- Backup Objects
- Restore Points
- Backups
- Restore
- postRestore Entire File Share
- postRestore Entire Object Storage Bucket or Container
- getGet All Mount Points for Instant File Share Recovery
- postStart Instant File Share Recovery
- getGet Mount Point for Instant File Share Recovery
- postStop File Share Publishing
- postStart File Share Migration
- postStart File Share Switchover
- getGet File Share Switchover Settings
- putUpdate File Share Switchover Settings
- postStart File Restore from Unstructured Data Backup
- postUnmount Unstructured Data FLR Volumes
- postProlong a Retrieval Operation from Cold Object Storage
- getGet Cold Object Storage Retrieval Operations
- getGet All Mount Points for Instant Recovery to VMware vSphere
- postStart Instant Recovery to VMware vSphere
- getGet Mount Point for Instant Recovery to VMware vSphere
- postStop Publishing Machine to VMware vSphere
- postStart Migrating Machine to VMware vSphere
- getGet All Mount Points for Instant Recovery to Microsoft Hyper-V
- postStart Instant Recovery to Microsoft Hyper-V
- getGet Mount Point for Instant Recovery to Microsoft Hyper-V
- postStop Publishing Machine to Microsoft Hyper-V
- postStart Migrating Machine to Microsoft Hyper-V
- getGet All Mount Points for Instant Recovery to Microsoft Azure
- postStart Instant Recovery to Microsoft Azure
- getGet Mount Point for Instant Recovery to Microsoft Azure
- getGet All Mount Sessions for Instant Recovery to Microsoft Azure
- postStop Publishing Machine to Microsoft Azure
- postStart Migrating Machine to Microsoft Azure
- getGet Settings for Switchover to Microsoft Azure
- putUpdate Settings for Switchover to Microsoft Azure
- postStart Switchover to Microsoft Azure
- postRestore Entire VMware vSphere VM
- postRestore Entire VMware Cloud Director VM
- postRestore Entire Microsoft Hyper-V VM
- getGet All FCD Mount Points
- postStart Instant FCD Recovery
- getGet FCD Mount Point
- postStop FCD Publishing
- postStart FCD Migration
- postStart File Restore
- postUnmount File System
- postGet User Code for Delegated Restore of Microsoft Entra ID Items
- postGet Credentials for Delegated Restore of Microsoft Entra ID Items
- getGet Redirect URI for Delegated Restore of Microsoft Entra ID Items
- postPerform Authorization Code Exchange for Delegated Restore of Microsoft Entra ID Items
- postMount Microsoft Entra ID Tenant
- postStart Microsoft Entra ID Tenant Restore from Copy
- postUnmount Microsoft Entra ID Tenant
- postStart Microsoft Entra ID Audit Log Restore
- postUnmount Microsoft Entra ID Audit Logs
- postStarts Volume Restore for Agent or Recovery Appliance
- postRestore Entire VM to a Platform Plug-in Server
- postStart Volume Restore for Multiple Hosts
- Application Items Restore
- DiskManagement
- postInitialize Disk Management
- postMap Backup Layout to Host Layout Automatically
- putKeep Disk Management Session Alive
- getGet Current Restore Layout of Host
- postApply Backup Layout
- postApply Disk Layout
- postErase Disk
- postRemove Partition
- postResize Partition
- postGet Partition Resize Options
- postRestore Partition
- putUnlock BitLocker-Protected Volume
- putCreate Disk Management Checkpoint
- putRevert to Disk Management Checkpoint
- putRefresh Restore Layout of Host
- Recovery Media
- Data Integration API
- Backup Browser
- postValidate Target Machine Credentials
- postValidate FLR Restore Item Target Path
- getGet All File Restore Mount Points
- getGet File Restore Mount Point
- getGet Restored Files Audit
- postBrowse File System
- postCompare Attributes
- postCompare Attributes in Batch
- postCompare Files and Folders
- postInitialize Compare Mode
- postSearch for Files and Folders
- postBrowse Search Results
- postRestore Files and Folders to Original Location
- postRestore Files and Folders to Another Location
- postPrepare Files and Folders for Download
- postDownload Files and Folders
- getDownload Files and Folders
- getGet All Unstructured Data Mount Points
- getGet Unstructured Data Mount Point
- postBrowse Unstructured Data File System
- postGet Restore Points of Unstructured Data File System Item
- postSearch for Files and Folders in Unstructured Data Mount Point
- postBrowse Search Results in Unstructured Data Mount Point
- postCopy Files and Folders to Specific Folder
- postRestore Files and Folders from Unstructured Data Backup
- postPrepare Files and Folders for Download from Unstructured Data Backup
- getDownload Files and Folders
- postCompare Attributes of Unstructured Data Backup with Source
- postCompare Files and Folders of Unstructured Data Backup with Source
- getGet Mount Points of All Microsoft Entra ID Tenants
- getGet Mount Point of Microsoft Entra ID Tenant
- postGet Restore Points of Microsoft Entra ID Tenant
- getGet Protection Scope of Microsoft Entra ID Tenant
- postGet Microsoft Entra ID Items
- postGet Microsoft Entra ID Item
- postGet Restore Points of Microsoft Entra ID Item
- postValidate Microsoft Entra ID Items
- postCheck Microsoft Entra ID Items in Production
- postGenerate Microsoft Entra ID User Passwords
- postRestore Microsoft Entra ID Items
- postRestore Microsoft Entra ID Item Properties
- postCompare Microsoft Entra ID Item Properties
- postStart Comparing Microsoft Entra ID Item Properties
- getGet Comparison Results for Microsoft Entra ID Items
- postStart Comparing Microsoft Entra ID Conditional Access Policy
- getGet Comparison Results for Microsoft Entra ID Conditional Access Policy
- postStart Exporting Microsoft Entra ID Items to JSON
- getGet JSON Export Results for Microsoft Entra ID Items
- postExport Microsoft Entra ID Tenant Objects To JSON
- postExport Microsoft Entra ID Items
- postUpload Microsoft Entra ID Users
- postUpload Microsoft Entra ID Groups
- postUpload Microsoft Entra ID Administrative Units
- postUpload Microsoft Entra ID Roles
- postUpload Microsoft Entra ID Applications
- postUpload Microsoft Entra ID Conditional Access Policies
- postUpload Microsoft Entra ID Device Configurations
- postUpload Microsoft Entra ID Organization Contacts
- postUpload Microsoft Entra ID Devices
- postUpload Microsoft Entra ID Intune Role Definitions
- getGet All Restore Sessions of Microsoft Entra ID Tenant
- getGet Restore Session of Microsoft Entra ID Tenant
- getGet Restore Session Logs of Microsoft Entra ID Tenant
- postStop Restore Session of Microsoft Entra ID Tenant
- postReveal Microsoft Entra ID BitLocker Recovery Key
- Restore
- Agents
- getGet All Recovery Tokens
- postCreate Recovery Token
- getGet Recovery Token
- putEdit Recovery Token
- delDelete Recovery Token
- getGet All Protected Linux Computers
- getGet Protected Linux Computer
- getGet All Discovered Entities
- getGet All Agent States
- getGet Agent State
- getGet Agent Backups
- postAttach Backups to Agent
- postDetach Backups from Agent
- getGet Protection Groups
- postAdd Protection Group
- getGet Protection Group
- putEdit Protection Group
- delRemove Protection Group
- postRescan Protection Group
- postEnable Protection Group
- postDisable Protection Group
- postDownload Protection Group Packages
- postPrepare Protection Group Packages Download
- getDownload Prepared Protection Group Packages
- getGet Discovered Entities
- postRescan Discovered Entities
- postReboot Discovered Entities
- postInstall Agent on Discovered Entities
- postUninstall Agent from Discovered Entities
- postUpgrade Agent on Discovered Entities
- postInstall CBT Driver on Discovered Entities
- postUninstall CBT Driver from Discovered Entities
- postInstall CDP Agent on Discovered Entities
- postUpgrade CDP Agent on Discovered Entities
- postUninstall CDP Agent from Discovered Entities
- postUninstall All Components from Discovered Entities
- postAdd Discovered Entities to Trusted Hosts List
- postPrepare Agent Hosts for Remote Bare Metal Recovery
- postRecreate Embedded Recovery Media on Agent Hosts
- getGet Discovered Entity
- delRemove Discovered Entity
- postCreate Recovery Media Task for Discovered Entity
- getCreate Recovery Media for Discovered Entity
- getGet Discovered Computer Network Adapters
- getGet Linux Agent Packages
- getGet Unix Agent Packages
- getGet Agents Recovery Appliances
- getGet Agents Recovery Appliance
- getGet Agent Recovery Appliance Devices
- postUpload Agent Recovery Appliance Drivers
- postUpload Agent Recovery Appliance Driver Files
- postInstall Existing Driver on Agent Recovery Appliance Device
- postInstall Custom Driver on Agent Recovery Appliance
- postRelease Agent Recovery Appliance Driver Upload Session
- postKeep Alive Agent Recovery Appliance Driver Upload Session
- putEdit Agent Recovery Appliance Driver Injection Settings
- postReboot Agent Recovery Appliances
- postReboot Agent Recovery Appliance
- postInstall Plug-in on Discovered Entities
- postUninstall Plug-in from Discovered Entities
- postUpgrade Plug-ins on Discovered Entities
- postDownload Logs from Agent Recovery Appliances
- postDownload Logs from Agent Recovery Appliance
- getDownload Agent Recovery Appliance Logs
- Active Directory Domains
- Agents
- Automation
- postImport Jobs
- postExport Jobs
- postImport Credentials
- postExport Credentials
- postImport Cloud Credentials
- postExport Cloud Credentials
- postImport Proxies
- postExport Proxies
- postImport Servers
- postExport Servers
- postImport Repositories
- postExport Repositories
- postImport Encryption Passwords
- postExport Encryption Passwords
- getGet All Automation Sessions
- getGet Automation Session
- getGet Automation Session Logs
- postStop Automation Session
- Automation
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.
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. |
| orderAsc | boolean If |
| nameFilter | string Filters VMware vSphere servers by the |
| permissionScope | string (EInventoryPermissionScope) Permission scope type in advanced role-based access control (RBAC) for filtering inventory objects. If the value is |
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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 500
{- "data": [
- {
- "platform": "VSphere",
- "type": "vCenterServer",
- "hostName": "vcenter01.tech01.local",
- "name": "vcenter01.tech01.local",
- "objectId": "d766a026-a7a7-4d6e-add0-9599a291394f",
- "size": "N/A"
}, - {
- "platform": "VSphere",
- "type": "vCenterServer",
- "hostName": "vcenter02.tech02.local",
- "name": "vcenter02.tech02.local",
- "objectId": "bd49ae5e-d5ec-4013-8ffa-c91beadce052",
- "size": "N/A"
}
], - "pagination": {
- "total": 2,
- "count": 2,
- "skip": 0,
- "limit": 200
}
}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.
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. |
| orderAsc | boolean If |
| objectIdFilter | string Filters objects by object ID. |
| hierarchyTypeFilter | string (EHierarchyType) Filters objects by hierarchy type. |
| nameFilter | string Filters objects by the |
| typeFilter | string (EVmwareInventoryType) Filters objects by virtual infrastructure type. |
| 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 |
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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "data": [
- {
- "platform": "VSphere",
- "type": "Datacenter",
- "hostName": "vcenter01.tech.local",
- "name": "Prague",
- "objectId": "datacenter-42371",
- "size": "N/A"
}, - {
- "platform": "VSphere",
- "type": "Folder",
- "hostName": "vcenter01.tech.local",
- "name": "Templates",
- "objectId": "group-h42373",
- "size": "N/A"
}, - {
- "platform": "VSphere",
- "type": "Host",
- "hostName": "vcenter01.tech.local",
- "name": "esx03.tech.local",
- "objectId": "host-42428",
- "size": "N/A"
}, - {
- "platform": "VSphere",
- "type": "ResourcePool",
- "hostName": "vcenter01.tech.local",
- "name": "Services",
- "objectId": "resgroup-65867",
- "size": "N/A"
}, - {
- "platform": "VSphere",
- "type": "VirtualMachine",
- "hostName": "vcenter01.tech.local",
- "name": "winsrv01",
- "objectId": "vm-62230",
- "size": "220 GB"
}
], - "pagination": {
- "total": 5,
- "count": 5,
- "skip": 0,
- "limit": 200
}
}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.
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: |
A HierarchyRescan task has been started. To check the progress, track the task state.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 201
- 401
- 403
- 404
- 500
{- "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.
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
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.
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: |
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.
|
| permissionScope | string (EInventoryPermissionScope) Inventory permission scope. |
| populateResourceTags | boolean Default: false If |
object (ResourceTagQuery) Tag query. An object matches the query only if the object meets all conditions of the query. If the |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "filter": {
- "type": "GroupExpression",
- "operation": "Or",
- "items": [
- {
- "type": "PredicateExpression",
- "operation": "EndsWith",
- "property": "hostName",
- "value": "tech02.local"
}, - {
- "type": "PredicateExpression",
- "operation": "EndsWith",
- "property": "hostName",
- "value": "tech.local"
}
]
}, - "sorting": {
- "property": "name",
- "direction": "Descending"
}
}- 200
- 401
- 403
- 500
{- "data": [
- {
- "type": "vCenterServer",
- "hostName": "vcenter01.tech.local",
- "name": "vcenter01.tech.local",
- "objectId": "b9faa59e-c6cd-44ed-8496-1b429a8f9aca",
- "urn": "vc:vcenter01.tech.local",
- "platform": "VSphere",
- "size": "N/A"
}, - {
- "type": "CloudDirectorServer",
- "hostName": "prgclouddirector02.tech02.local",
- "name": "prgclouddirector02.tech02.local",
- "urn": "vcdsystem:prgclouddirector02.tech02.local",
- "platform": "CloudDirector",
- "size": "N/A"
}
], - "pagination": {
- "total": 2,
- "count": 2,
- "skip": 0,
- "limit": 200
}
}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.
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: |
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.
|
| permissionScope | string (EInventoryPermissionScope) Inventory permission scope. |
| populateResourceTags | boolean Default: false If |
object (ResourceTagQuery) Tag query. An object matches the query only if the object meets all conditions of the query. If the |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "filter": {
- "type": "GroupExpression",
- "operation": "And",
- "items": [
- {
- "type": "GroupExpression",
- "operation": "And",
- "items": [
- {
- "type": "PredicateExpression",
- "operation": "GreaterThan",
- "property": "size",
- "value": "10 Mb"
}, - {
- "type": "PredicateExpression",
- "operation": "LessThan",
- "property": "size",
- "value": "100 Mb"
}
]
}, - {
- "type": "PredicateExpression",
- "operation": "In",
- "property": "type",
- "value": "VirtualMachine"
}, - {
- "type": "PredicateExpression",
- "operation": "Contains",
- "property": "urn",
- "value": "hostsystem:host-08;"
}
]
}, - "sorting": {
- "property": "size",
- "direction": "Descending"
}
}- 200
- 401
- 403
- 404
- 500
{- "data": [
- {
- "platform": "VSphere",
- "size": "86.5 MB",
- "hostName": "vcenter01.tech.local",
- "name": "test-vm01",
- "type": "VirtualMachine",
- "objectId": "vm-2101",
- "urn": "vc:vcenter01.tech.local;folder:group-d1;datacenter:datacenter-1001;folder:group-h1003;computeresource:domain-s1006;hostsystem:host-08;resourcepool:resgroup-1023;virtualmachine:vm-2101",
- "powerState": "PoweredOff",
- "metadata": [
- {
- "field": "cpuCount",
- "data": "1"
}, - {
- "field": "ramSize",
- "data": "1073741824"
}, - {
- "field": "hostObjectId",
- "data": "host-08"
}
], - "aclInfo": {
- "isAllowed": true
}
}, - {
- "platform": "VSphere",
- "size": "42 MB",
- "hostName": "vcenter01.tech.local",
- "name": "test-vm02",
- "type": "VirtualMachine",
- "objectId": "vm-2102",
- "urn": "vc:vcenter01.tech.local;folder:group-d1;datacenter:datacenter-1001;folder:group-h1003;computeresource:domain-s1006;hostsystem:host-08;resourcepool:resgroup-1023;virtualmachine:vm-2102",
- "powerState": "PoweredOff",
- "metadata": [
- {
- "field": "cpuCount",
- "data": "1"
}, - {
- "field": "ramSize",
- "data": "1073741824"
}, - {
- "field": "hostObjectId",
- "data": "host-08"
}
], - "aclInfo": {
- "isAllowed": true
}
}
], - "pagination": {
- "total": 2,
- "count": 2,
- "skip": 0,
- "limit": 200
}
}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.
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: |
Request Body schema: application/json
required | object (InventoryObjectModel) Inventory object properties. |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "object": {
- "platform": "VSphere",
- "hostName": "enterprise01.tech.local",
- "name": "fileserver-vm01",
- "type": "VirtualMachine",
- "objectId": "vm-1024"
}
}- 200
- 401
- 403
- 404
- 500
{- "platform": "VSphere",
- "disks": [
- {
- "id": 2000,
- "name": "Hard disk 1",
- "capacity": 64424509440
}, - {
- "id": 2001,
- "name": "Hard disk 2",
- "capacity": 128849018880
}
]
}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.
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.
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: |
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.
|
| permissionScope | string (EInventoryPermissionScope) Inventory permission scope. |
| populateResourceTags | boolean Default: false If |
object (ResourceTagQuery) Tag query. An object matches the query only if the object meets all conditions of the query. If the |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "filter": {
- "type": "GroupExpression",
- "operation": "Or",
- "items": [
- {
- "type": "PredicateExpression",
- "operation": "EndsWith",
- "property": "name",
- "value": "2"
}, - {
- "type": "PredicateExpression",
- "operation": "Equals",
- "property": "name",
- "value": "Manually Added"
}
]
}, - "sorting": {
- "property": "name",
- "direction": "Descending"
}
}- 200
- 401
- 403
- 500
{- "data": [
- {
- "type": "ProtectionGroup",
- "id": "ae2e06e9-3234-43d8-9726-259f857eec1b",
- "name": "Linux PG",
- "path": "ProtectionGroup:Linux PG",
- "protectionGroupId": "ae2e06e9-3234-43d8-9726-259f857eec1b",
- "platform": "Agent"
}, - {
- "type": "ProtectionGroup",
- "id": "730dc485-84c2-4a9d-86e7-2e35d1d5a0be",
- "name": "Manually Added",
- "path": "ProtectionGroup:Manually Added",
- "protectionGroupId": "730dc485-84c2-4a9d-86e7-2e35d1d5a0be",
- "platform": "Agent"
}, - {
- "type": "ProtectionGroup",
- "id": "c2600b42-7c64-4219-a447-95bd33e70c1a",
- "name": "Microsoft SQL Server PG",
- "path": "ProtectionGroup:Microsoft SQL Server PG",
- "protectionGroupId": "c2600b42-7c64-4219-a447-95bd33e70c1a",
- "platform": "Agent"
}, - {
- "type": "ProtectionGroup",
- "id": "9a4a758c-7508-4f23-b090-2f4b6c997a38",
- "name": "Microsoft SQL Server PG 2",
- "path": "ProtectionGroup:Microsoft SQL Server PG 2",
- "protectionGroupId": "9a4a758c-7508-4f23-b090-2f4b6c997a38",
- "platform": "Agent"
}, - {
- "type": "ProtectionGroup",
- "id": "2e779447-f12b-483b-a585-cdc6454d13a9",
- "name": "MongoDB PG",
- "path": "ProtectionGroup:MongoDB PG",
- "protectionGroupId": "2e779447-f12b-483b-a585-cdc6454d13a9",
- "platform": "Agent"
}
], - "pagination": {
- "total": 5,
- "count": 5,
- "skip": 0,
- "limit": 200
}
}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.
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.
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: |
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.
|
| permissionScope | string (EInventoryPermissionScope) Inventory permission scope. |
| populateResourceTags | boolean Default: false If |
object (ResourceTagQuery) Tag query. An object matches the query only if the object meets all conditions of the query. If the |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "filter": {
- "type": "GroupExpression",
- "operation": "Or",
- "items": [
- {
- "type": "PredicateExpression",
- "operation": "StartsWith",
- "property": "name",
- "value": "a"
}, - {
- "type": "PredicateExpression",
- "operation": "Contains",
- "property": "name",
- "value": "007"
}, - {
- "type": "PredicateExpression",
- "operation": "Equals",
- "property": "type",
- "value": "ProtectionGroup"
}
]
}, - "sorting": {
- "property": "name",
- "direction": "Descending"
}
}- 200
- 401
- 403
- 500
{- "data": [
- {
- "type": "ProtectionGroup",
- "id": "ae2e06e9-3234-43d8-9726-259f857eec1b",
- "name": "Linux PG",
- "path": "ProtectionGroup:Linux PG",
- "protectionGroupId": "ae2e06e9-3234-43d8-9726-259f857eec1b",
- "platform": "Agent"
}, - {
- "type": "ProtectionGroup",
- "id": "730dc485-84c2-4a9d-86e7-2e35d1d5a0be",
- "name": "Manually Added",
- "path": "ProtectionGroup:Manually Added",
- "protectionGroupId": "730dc485-84c2-4a9d-86e7-2e35d1d5a0be",
- "platform": "Agent"
}, - {
- "type": "ProtectionGroup",
- "id": "c2600b42-7c64-4219-a447-95bd33e70c1a",
- "name": "Microsoft SQL Server PG",
- "path": "ProtectionGroup:Microsoft SQL Server PG",
- "protectionGroupId": "c2600b42-7c64-4219-a447-95bd33e70c1a",
- "platform": "Agent"
}, - {
- "type": "ProtectionGroup",
- "id": "9a4a758c-7508-4f23-b090-2f4b6c997a38",
- "name": "Microsoft SQL Server PG 2",
- "path": "ProtectionGroup:Microsoft SQL Server PG 2",
- "protectionGroupId": "9a4a758c-7508-4f23-b090-2f4b6c997a38",
- "platform": "Agent"
}, - {
- "type": "ProtectionGroup",
- "id": "2e779447-f12b-483b-a585-cdc6454d13a9",
- "name": "MongoDB PG",
- "path": "ProtectionGroup:MongoDB PG",
- "protectionGroupId": "2e779447-f12b-483b-a585-cdc6454d13a9",
- "platform": "Agent"
}
], - "pagination": {
- "total": 5,
- "count": 5,
- "skip": 0,
- "limit": 200
}
}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.
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: |
Request Body schema: application/jsonrequired
| platform required | string (EVirtualInventoryPlatformType) Virtual platform whose infrastructure you want to browse. |
object (PaginationFilter) Pagination settings. | |
object (FilterExpressionModel) Filter settings. | |
object (SortExpressionModel) Sorting settings. | |
| hierarchyType | string Hierarchy type. Specify a value depending on the selected
|
| permissionScope | string (EInventoryPermissionScope) Inventory permission scope. |
OK
Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "platform": "VSphere",
- "hierarchyType": "VmsAndTemplates",
- "filter": {
- "type": "PredicateExpression",
- "operation": "Contains",
- "property": "name",
- "value": "sql"
}, - "sorting": {
- "property": "name",
- "direction": "Ascending"
}, - "pagination": {
- "skip": 0,
- "limit": 200
}
}- 200
- 400
- 401
- 403
- 404
- 500
{- "data": [
- {
- "platform": "VSphere",
- "size": "75.6 GB",
- "hostName": "vcenter01.tech.local",
- "name": "sql01",
- "type": "VirtualMachine",
- "objectId": "vm-1210",
- "urn": "vc:vcenter01.tech.local;folder:group-d1;datacenter:datacenter-1001;folder:group-v1002;folder:group-v2048;virtualmachine:vm-1210",
- "powerState": "PoweredOn",
- "metadata": [
- {
- "field": "cpuCount",
- "data": "4"
}, - {
- "field": "ramSize",
- "data": "17179869184"
}, - {
- "field": "hostObjectId",
- "data": "host-1008"
}, - {
- "field": "guestOsName",
- "data": "Microsoft Windows Server 2022 (64-bit)"
}, - {
- "field": "guestOsType",
- "data": "windows2019srvNext_64Guest"
}, - {
- "field": "ipAddress",
- "data": "172.17.53.21"
}, - {
- "field": "dnsName",
- "data": "sql01.tech.local"
}
], - "aclInfo": {
- "isAllowed": true
}
}, - {
- "platform": "VSphere",
- "size": "60.2 GB",
- "hostName": "vcenter02.tech.local",
- "name": "sql02",
- "type": "VirtualMachine",
- "objectId": "vm-2033",
- "urn": "vc:vcenter02.tech.local;folder:group-d1;datacenter:datacenter-3;folder:group-v4;virtualmachine:vm-2033",
- "powerState": "PoweredOff",
- "metadata": [
- {
- "field": "cpuCount",
- "data": "4"
}, - {
- "field": "ramSize",
- "data": "17179869184"
}, - {
- "field": "hostObjectId",
- "data": "host-2010"
}
], - "aclInfo": {
- "isAllowed": true
}
}
], - "pagination": {
- "total": 2,
- "count": 2,
- "skip": 0,
- "limit": 200
}, - "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.
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: |
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.
|
| permissionScope | string (EInventoryPermissionScope) Inventory permission scope. |
| populateResourceTags | boolean Default: false If |
object (ResourceTagQuery) Tag query. An object matches the query only if the object meets all conditions of the query. If the |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "filter": {
- "type": "GroupExpression",
- "operation": "Or",
- "items": [
- {
- "type": "PredicateExpression",
- "operation": "StartsWith",
- "property": "name",
- "value": "a"
}, - {
- "type": "PredicateExpression",
- "operation": "Contains",
- "property": "name",
- "value": "007"
}, - {
- "type": "PredicateExpression",
- "operation": "Equals",
- "property": "type",
- "value": "ProtectionGroup"
}
]
}, - "sorting": {
- "property": "name",
- "direction": "Descending"
}
}- 200
- 401
- 403
- 404
- 500
{- "data": [
- {
- "type": "ProtectionGroup",
- "id": "ae2e06e9-3234-43d8-9726-259f857eec1b",
- "name": "Linux PG",
- "path": "ProtectionGroup:Linux PG",
- "protectionGroupId": "ae2e06e9-3234-43d8-9726-259f857eec1b",
- "platform": "Agent"
}, - {
- "type": "ProtectionGroup",
- "id": "730dc485-84c2-4a9d-86e7-2e35d1d5a0be",
- "name": "Manually Added",
- "path": "ProtectionGroup:Manually Added",
- "protectionGroupId": "730dc485-84c2-4a9d-86e7-2e35d1d5a0be",
- "platform": "Agent"
}, - {
- "type": "ProtectionGroup",
- "id": "c2600b42-7c64-4219-a447-95bd33e70c1a",
- "name": "Microsoft SQL Server PG",
- "path": "ProtectionGroup:Microsoft SQL Server PG",
- "protectionGroupId": "c2600b42-7c64-4219-a447-95bd33e70c1a",
- "platform": "Agent"
}, - {
- "type": "ProtectionGroup",
- "id": "9a4a758c-7508-4f23-b090-2f4b6c997a38",
- "name": "Microsoft SQL Server PG 2",
- "path": "ProtectionGroup:Microsoft SQL Server PG 2",
- "protectionGroupId": "9a4a758c-7508-4f23-b090-2f4b6c997a38",
- "platform": "Agent"
}, - {
- "type": "ProtectionGroup",
- "id": "2e779447-f12b-483b-a585-cdc6454d13a9",
- "name": "MongoDB PG",
- "path": "ProtectionGroup:MongoDB PG",
- "protectionGroupId": "2e779447-f12b-483b-a585-cdc6454d13a9",
- "platform": "Agent"
}
], - "pagination": {
- "total": 5,
- "count": 5,
- "skip": 0,
- "limit": 200
}
}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.
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. |
| orderAsc | boolean If |
| nameFilter | string Filters unstructured data servers by the |
| typeFilter | Array of strings (EUnstructuredDataServerType) Filters unstructured data servers by type. |
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 |
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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 500
{- "data": [
- {
- "id": "f2a3b4c5-9999-4c0d-9e1f-2a3b4c5d6e7f",
- "type": "FileServer",
- "name": "enterprise01.tech.local",
- "hostId": "a1b2c3d4-1111-4a2b-9c3d-4e5f6a7b8c9d",
- "hostType": "Windows",
- "processing": {
- "cacheRepositoryId": "e5f6a7b8-2222-4b3c-8d4e-5f6a7b8c9d0e",
- "backupIOControlLevel": "Medium"
}
}, - {
- "id": "a3b4c5d6-0a0a-4d1e-8f2a-3b4c5d6e7f80",
- "type": "SMBShare",
- "name": "\\\\enterprise01.tech.local\\Share",
- "path": "\\\\enterprise01.tech.local\\Share",
- "accessCredentialsRequired": true,
- "accessCredentialsId": "f6a7b8c9-3333-4c4d-9e5f-6a7b8c9d0e1f",
- "processing": {
- "backupProxies": {
- "autoSelectEnabled": true
}, - "cacheRepositoryId": "e5f6a7b8-2222-4b3c-8d4e-5f6a7b8c9d0e",
- "backupIOControlLevel": "Medium"
}
}
], - "pagination": {
- "total": 2,
- "count": 2,
- "skip": 0,
- "limit": 100
}
}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.
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: |
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. |
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.
Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "type": "FileServer",
- "hostId": "a1b2c3d4-1111-4a2b-9c3d-4e5f6a7b8c9d",
- "processing": {
- "cacheRepositoryId": "e5f6a7b8-2222-4b3c-8d4e-5f6a7b8c9d0e",
- "backupIOControlLevel": "Medium"
}
}- 201
- 400
- 401
- 403
- 500
{- "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": {
- "result": "None",
- "message": "",
- "isCanceled": false
}, - "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.
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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 500
{ }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.
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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "id": "f2a3b4c5-9999-4c0d-9e1f-2a3b4c5d6e7f",
- "type": "FileServer",
- "name": "enterprise01.tech.local",
- "hostId": "a1b2c3d4-1111-4a2b-9c3d-4e5f6a7b8c9d",
- "hostType": "Windows",
- "processing": {
- "cacheRepositoryId": "e5f6a7b8-2222-4b3c-8d4e-5f6a7b8c9d0e",
- "backupIOControlLevel": "Medium"
}
}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.
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. |
| coldStorageRetrievalMode | string (EColdStorageRetrievalMode) Meta migration type for the unstructured data server cache repository. |
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: |
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. |
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.
Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "id": "f2a3b4c5-9999-4c0d-9e1f-2a3b4c5d6e7f",
- "type": "FileServer",
- "name": "enterprise01.tech.local",
- "hostId": "a1b2c3d4-1111-4a2b-9c3d-4e5f6a7b8c9d",
- "hostType": "Windows",
- "processing": {
- "cacheRepositoryId": "e5f6a7b8-2222-4b3c-8d4e-5f6a7b8c9d0e",
- "backupIOControlLevel": "Medium"
}
}- 201
- 400
- 401
- 403
- 404
- 500
{- "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": {
- "result": "None",
- "message": "",
- "isCanceled": false
}, - "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.
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: |
The file server or NAS filer has been removed.
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.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 201
- 401
- 403
- 404
- 500
{- "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": {
- "result": "None",
- "message": "",
- "isCanceled": false
}, - "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.
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 |
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: |
Browse session has been started.
Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 201
- 400
- 401
- 403
- 404
- 500
{- "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.
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: |
Request Body schema: application/jsonrequired
| path required | string Browsing path. |
| pathType | string (EUnstructuredDataInventoryBrowseItemType) Unstructured data item type. |
object (UnstructuredDataInventoryBrowseFiltrationModel) Filter settings. | |
object (UnstructuredDataInventoryBrowseOrderSpec) Sorting settings. | |
object (PaginationSpec) Pagination settings. |
OK
Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "path": "\\\\enterprise01.tech.local\\Share\\Documents",
- "pathType": "Folder",
- "pagination": {
- "skip": 0,
- "limit": 100
}
}- 201
- 400
- 401
- 403
- 404
- 500
{- "path": "\\\\enterprise01.tech.local\\Share\\Documents",
- "items": [
- {
- "name": "Reports",
- "itemType": "Folder",
- "fullName": "\\\\enterprise01.tech.local\\Share\\Documents\\Reports",
- "isSymbolicLink": false,
- "modifiedDate": "2026-05-20T10:30:00Z",
- "size": 0
}, - {
- "name": "summary.txt",
- "itemType": "File",
- "fullName": "\\\\enterprise01.tech.local\\Share\\Documents\\summary.txt",
- "isSymbolicLink": false,
- "modifiedDate": "2026-05-20T10:30:00Z",
- "size": 20480
}
], - "pagination": {
- "total": 2,
- "count": 2,
- "skip": 0,
- "limit": 100
}
}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.
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: |
Browse session has been stopped.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 201
- 401
- 403
- 404
- 500
{- "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.
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. |
| orderAsc | boolean If |
| sessionIdFilter | string Filters sessions by the |
| serverIdFilter | string Filters sessions by the |
| serverNameFilter | string Filters sessions by the |
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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 500
{- "data": [
- {
- "sessionId": "10203040-6a6a-4d7e-8f8a-9b0c1d2e3f40",
- "serverId": "f2a3b4c5-9999-4c0d-9e1f-2a3b4c5d6e7f",
- "serverName": "enterprise01.tech.local",
- "timeout": 600,
- "pathSeparator": "\\",
- "rootPath": "\\\\enterprise01.tech.local\\Share"
}
], - "pagination": {
- "total": 2,
- "count": 2,
- "skip": 0,
- "limit": 100
}
}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.
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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "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.
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. |
| orderAsc | boolean If |
| nameFilter | string Filters Microsoft Entra ID tenants by the |
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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 500
{- "data": [
- {
- "region": "Global",
- "id": "a1401206-5c01-4586-aa81-573aeb027b6d",
- "azureTenantId": "00000000-0000-0000-0000-000000000000",
- "description": "Tenant 1",
- "cacheRepositoryId": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",
- "authentication": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "secret": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6"
}, - "protectionScope": [
- "Logs",
- "ConditionalAccessPolicies",
- "IntunePolicies",
- "OrgContacts",
- "Devices"
], - "name": "Organization Tenant",
- "credentialsType": "Secret"
}
], - "pagination": {
- "total": 1,
- "count": 1,
- "skip": 0,
- "limit": 1
}
}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:
- To generate a code, run the Get Microsoft Entra ID Verification Code request.
- To register the new application, run the Register Microsoft Entra ID Application request.
Available to: Backup Administrator.
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: |
Request Body schema: application/jsonrequired
| 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. |
| 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. |
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. |
A FileServerSave session has been created to add the tenant. To check the progress, track the session state with the Get Session request.
Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "azureTenantId": "00000000-0000-0000-0000-000000000000",
- "cacheRepositoryId": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",
- "creationMode": "NewAccount",
- "description": "Tenant 1",
- "region": "Global",
- "newAccount": {
- "verificationCode": "D8Q2S9KU3"
}, - "protectionScope": [
- "Logs",
- "ConditionalAccessPolicies",
- "IntunePolicies",
- "OrgContacts",
- "Devices"
]
}- 201
- 400
- 401
- 403
- 500
{- "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": {
- "result": "None",
- "message": "",
- "isCanceled": false
}, - "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.
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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "region": "Global",
- "id": "a1401206-5c01-4586-aa81-573aeb027b6d",
- "azureTenantId": "00000000-0000-0000-0000-000000000000",
- "description": "Tenant 1",
- "cacheRepositoryId": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",
- "authentication": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "secret": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6"
}, - "protectionScope": [
- "Logs",
- "ConditionalAccessPolicies",
- "IntunePolicies",
- "OrgContacts",
- "Devices"
], - "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.
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. |
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: |
Request Body schema: application/jsonrequired
| 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. |
object (EntraIDTenantAuthenticationModel) Authentication settings. | |
| protectionScope | Array of strings (EEntraIdTenantResource) Array of tenant protection scopes. |
| name | string Tenant name. |
| credentialsType | string (EEntraIdTenantCredentialsType) Credentials type. |
A FileServerSave session has been created to edit the tenant. To check the progress, track the session state with the Get Session request.
Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "region": "Global",
- "id": "a1401206-5c01-4586-aa81-573aeb027b6d",
- "azureTenantId": "00000000-0000-0000-0000-000000000000",
- "description": "Tenant 1",
- "cacheRepositoryId": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",
- "authentication": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "secret": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6"
}, - "protectionScope": [
- "Logs",
- "ConditionalAccessPolicies",
- "IntunePolicies",
- "OrgContacts",
- "Devices"
], - "name": "Organization Tenant",
- "credentialsType": "Secret"
}- 201
- 400
- 401
- 403
- 404
- 500
{- "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": {
- "result": "None",
- "message": "",
- "isCanceled": false
}, - "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.
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: |
An InfrastructureItemDeletion session has been created to remove the tenant. To check the progress, track the session state with the Get Session request.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 201
- 401
- 403
- 404
- 500
{- "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": {
- "result": "None",
- "message": "",
- "isCanceled": false
}, - "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.
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: |
Request Body schema: application/jsonrequired
| 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 ( |
OK
Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "serverName": "dc01.tech.local",
- "credentialsId": "d7cf20be-4a45-4f26-b1b8-79c25b3af6ec"
}- 200
- 400
- 401
- 403
- 500
{- "rootDomainFqdn": "tech.local",
- "rootDomainAdId": "3f29a1d4-9c3e-4b7a-8e21-6a2f6f9c1a02",
- "domainControllers": [
- {
- "dcObjectGuid": "a6c9d2e1-8b34-4f6a-9e12-5d7a0c3f9b41",
- "fqdn": "dc01.tech.local",
- "domainName": "tech.local",
- "site": "PRG",
- "mappingType": "Auto",
- "mapping": {
- "type": "Auto",
- "machine": {
- "platform": "VSphere",
- "hostName": "vcenter01.tech.local",
- "name": "dc01",
- "type": "VirtualMachine",
- "objectId": "vm-101"
}
}, - "machineObjectId": "d7cf20be-4a45-4f26-b1b8-79c25b3af6ec"
}, - {
- "dcObjectGuid": "b2f4e8a7-1c5d-4e9b-8a36-7c1d9e0f4a52",
- "fqdn": "dc02.dev.tech.local",
- "domainName": "dev.tech.local",
- "site": "BER",
- "mappingType": "None"
}
]
}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.
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: |
Request Body schema: application/jsonrequired
| 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. |
OK
Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "serverName": "dc01.tech.local",
- "credentialsId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}- 200
- 400
- 401
- 403
- 500
{- "certificate": {
- "thumbprint": "9C2E7B41D05F3A86E1B47C9D2F60A8E3B5174D2C",
- "serialNumber": "6100000005B3C1E2F9A7D4120000000000005",
- "keyAlgorithm": "RSA-PKCS1-KeyEx",
- "keySize": "2048",
- "subject": "CN=dc01.tech.local",
- "issuer": "CN=tech-DC01-CA, DC=tech, DC=local",
- "issuedTo": "dc01.tech.local",
- "issuedBy": "tech-DC01-CA",
- "validFrom": "2026-02-10T09:32:18+01:00",
- "validBy": "2027-02-10T09:32:18+01:00",
- "isTrusted": false
}, - "certificateUpload": {
- "certificate": "MIIF1DCCBLygAwIBAgITYQAAAAWzweL5p9QSAAAAAAAABTANBgkqhkiG9w0BAQsFADBFMRUwEwYKCZImiZPyLGQBGRYFbG9jYWwxFDASBgoJkiaJk/IsZAEZFgR0ZWNoMRYwFAYDVQQDEw10ZWNoLURDMDEtQ0E=",
- "formatType": "Pem",
- "password": ""
}
}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.
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: |
Request Body schema: application/jsonrequired
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. |
OK
Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "domainControllers": [
- {
- "dcObjectGuid": "a6c9d2e1-8b34-4f6a-9e12-5d7a0c3f9b41",
- "fqdn": "dc01.tech.local",
- "domainName": "tech.local",
- "site": "PRG",
- "mapping": {
- "type": "Auto",
- "machine": {
- "platform": "VSphere",
- "hostName": "vcenter01.tech.local",
- "name": "dc01",
- "type": "VirtualMachine",
- "objectId": "vm-101"
}
}
}, - {
- "dcObjectGuid": "b2f4e8a7-1c5d-4e9b-8a36-7c1d9e0f4a52",
- "fqdn": "dc02.dev.tech.local",
- "domainName": "dev.tech.local",
- "site": "BER"
}
]
}- 200
- 400
- 401
- 403
- 500
{- "jobs": [
- {
- "jobId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
- "jobName": "VMware backup job",
- "platform": "VSphere",
- "status": "Included",
- "isApplicationAwareProcessingEnabled": true,
- "domainControllers": [
- "a6c9d2e1-8b34-4f6a-9e12-5d7a0c3f9b41",
- "c3a5f9b8-2d6e-4f0c-9b47-8e2f0a1b5c63"
]
}, - {
- "jobId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "jobName": "Physical DCs",
- "platform": "Agent",
- "status": "IncludedWithoutApplicationAwareProcessing",
- "isApplicationAwareProcessingEnabled": false,
- "domainControllers": [
- "b2f4e8a7-1c5d-4e9b-8a36-7c1d9e0f4a52"
]
}
]
}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.
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 |
| nameFilter | string Filters Active Directory forests by the |
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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 500
{- "data": [
- {
- "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": {
- "jobs": [
- {
- "jobId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
- "jobName": "DC VMware Backup",
- "platform": "VSphere"
}
], - "agentDeployment": {
- "autoInstall": true,
- "credentialsId": "6a1f3c2e-9b47-4d85-a0e3-2c7d5b9f1e48"
}
}, - "slaMonitoring": {
- "mode": "Active"
}, - "slaRequirements": {
- "frequency": {
- "isEnabled": true,
- "interval": 1,
- "unit": "Days"
}, - "retention": {
- "isEnabled": true,
- "daily": {
- "isEnabled": true,
- "backups": 7
}, - "weekly": {
- "isEnabled": true,
- "backups": 4
}, - "monthly": {
- "isEnabled": false,
- "backups": 1
}, - "yearly": {
- "isEnabled": false,
- "backups": 1
}
}, - "requireAllDomainControllers": false
}, - "schedule": {
- "runAutomatically": true,
- "periodically": {
- "isEnabled": true,
- "periodicallyKind": "Minutes",
- "frequency": 30,
- "startTimeWithinAnHour": 0
}
}, - "domains": [
- {
- "dnsRoot": "tech.local",
- "domainAdId": "3f29a1d4-9c3e-4b7a-8e21-6a2f6f9c1a02",
- "status": "Protected",
- "domainControllers": [
- {
- "dcObjectGuid": "a6c9d2e1-8b34-4f6a-9e12-5d7a0c3f9b41",
- "fqdn": "dc1.tech.local",
- "site": "Default-First-Site-Name",
- "mapping": "Manual",
- "machine": {
- "platform": "VSphere",
- "hostName": "vcenter01.tech.local",
- "name": "dc1",
- "type": "VirtualMachine",
- "objectId": "vm-101"
}, - "platform": "VSphere",
- "path": "vcenter1/dcs/dc1",
- "status": "Protected"
}, - {
- "dcObjectGuid": "b7d0e3f2-9c45-4a7b-8f23-6e8b1d4a0c52",
- "fqdn": "dc3.tech.local",
- "site": "Default-First-Site-Name",
- "mapping": "Auto",
- "machine": {
- "platform": "Agent",
- "id": "5e0c7a92-3b18-4d6f-8a45-1c9e2f7b0d63",
- "name": "dc3.tech.local",
- "type": "WindowsComputer",
- "protectionGroupId": "8a3f5c21-6d94-4e0b-b782-4f1a9c6e3d05"
}, - "platform": "Agent",
- "status": "Protected"
}
], - "childDomains": [
- {
- "dnsRoot": "dev.tech.local",
- "domainAdId": null,
- "status": "Unprotected",
- "domainControllers": [
- {
- "dcObjectGuid": "c8e1f4a3-0d56-4b8c-9034-7f9c2e5b1d63",
- "fqdn": "dc4.dev.tech.local",
- "site": "Default-First-Site-Name",
- "mapping": "Manual",
- "machine": {
- "platform": "Agent",
- "id": "6f1d8ba3-4c29-4e70-9b56-2d0f3a8c1e74",
- "name": "dc4.dev.tech.local",
- "type": "WindowsComputer",
- "protectionGroupId": "8a3f5c21-6d94-4e0b-b782-4f1a9c6e3d05"
}, - "platform": "Agent",
- "status": "Unprotected"
}, - {
- "dcObjectGuid": "d9f2a5b4-1e67-4c9d-a145-8a0d3f6c2e74",
- "fqdn": "dc5.dev.tech.local",
- "site": null,
- "mapping": "None",
- "status": "Unprotected"
}
], - "childDomains": [ ]
}
]
}
]
}
], - "pagination": {
- "total": 1,
- "count": 1,
- "skip": 0,
- "limit": 1
}
}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.
query Parameters
| performRescan | boolean Default: false If |
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: |
Request Body schema: application/jsonrequired
| 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 |
| 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 |
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 | |
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 | |
object (ActiveDirectoryForestScheduleSpec) Schedule settings for automatic rescans and SLA compliance checks of the Active Directory forest. Enable no more than one of the |
An Infrastructure session has been created to add the forest. To check the progress, track the session state with the Get Session request.
Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "rootDomainFqdn": "tech.local",
- "credentialsId": "d7cf20be-4a45-4f26-b1b8-79c25b3af6ec",
- "rootDomainAdId": "3f29a1d4-9c3e-4b7a-8e21-6a2f6f9c1a02",
- "description": "Production forest",
- "domainControllers": [
- {
- "dcObjectGuid": "a6c9d2e1-8b34-4f6a-9e12-5d7a0c3f9b41",
- "fqdn": "dc01.tech.local",
- "domainName": "tech.local",
- "site": "PRG",
- "mapping": {
- "type": "Auto",
- "machine": {
- "platform": "VSphere",
- "hostName": "vcenter01.tech.local",
- "name": "dc01",
- "type": "VirtualMachine",
- "objectId": "vm-101"
}
}
}, - {
- "dcObjectGuid": "b2f4e8a7-1c5d-4e9b-8a36-7c1d9e0f4a52",
- "fqdn": "dc02.dev.tech.local",
- "domainName": "dev.tech.local",
- "site": "BER"
}
], - "catchAllJobs": {
- "jobs": [
- {
- "jobId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
- "platform": "VSphere"
}
], - "agentDeployment": {
- "autoInstall": true,
- "credentialsId": "6a1f3c2e-9b47-4d85-a0e3-2c7d5b9f1e48"
}
}, - "slaMonitoring": {
- "mode": "Active"
}, - "slaRequirements": {
- "frequency": {
- "isEnabled": true,
- "interval": 1,
- "unit": "Days"
}, - "retention": {
- "isEnabled": true,
- "daily": {
- "isEnabled": true,
- "backups": 7
}, - "weekly": {
- "isEnabled": true,
- "backups": 4
}, - "monthly": {
- "isEnabled": false,
- "backups": 1
}, - "yearly": {
- "isEnabled": false,
- "backups": 1
}
}, - "requireAllDomainControllers": false
}, - "schedule": {
- "runAutomatically": true,
- "daily": {
- "isEnabled": true,
- "localTime": "22:00",
- "dailyKind": "Everyday"
}
}
}- 201
- 400
- 401
- 403
- 500
{- "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": {
- "result": "None",
- "message": "",
- "isCanceled": false
}, - "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.
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 |
| nameFilter | string Filters Active Directory forests by the |
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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 500
{- "data": [
- {
- "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",
- "slaMode": "Active",
- "connectionStatus": "Connected",
- "lastConnectionCheckTime": "2026-07-10T08:05:00Z",
- "lastSessionId": "0d1b9e46-7a52-4c3d-9f80-2b64c8a1e357",
- "lastSessionTime": "2026-07-10T08:00:00Z",
- "domains": [
- {
- "dnsRoot": "tech.local",
- "status": "Protected",
- "domainControllers": [
- {
- "fqdn": "dc1.tech.local",
- "status": "Protected"
}, - {
- "fqdn": "dc3.tech.local",
- "status": "Protected"
}
], - "childDomains": [
- {
- "dnsRoot": "dev.tech.local",
- "status": "Unprotected",
- "domainControllers": [
- {
- "fqdn": "dc4.dev.tech.local",
- "status": "Unprotected"
}
], - "childDomains": [ ]
}
]
}
], - "runAutomatically": true,
- "nextRescanTime": "2026-07-10T08:30:00Z"
}
], - "pagination": {
- "total": 1,
- "count": 1,
- "skip": 0,
- "limit": 1
}
}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.
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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "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": {
- "jobs": [
- {
- "jobId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
- "jobName": "DC VMware Backup",
- "platform": "VSphere"
}
], - "agentDeployment": {
- "autoInstall": true,
- "credentialsId": "6a1f3c2e-9b47-4d85-a0e3-2c7d5b9f1e48"
}
}, - "slaMonitoring": {
- "mode": "Active"
}, - "slaRequirements": {
- "frequency": {
- "isEnabled": true,
- "interval": 1,
- "unit": "Days"
}, - "retention": {
- "isEnabled": true,
- "daily": {
- "isEnabled": true,
- "backups": 7
}, - "weekly": {
- "isEnabled": true,
- "backups": 4
}, - "monthly": {
- "isEnabled": false,
- "backups": 1
}, - "yearly": {
- "isEnabled": false,
- "backups": 1
}
}, - "requireAllDomainControllers": false
}, - "schedule": {
- "runAutomatically": true,
- "periodically": {
- "isEnabled": true,
- "periodicallyKind": "Minutes",
- "frequency": 30,
- "startTimeWithinAnHour": 0
}
}, - "domains": [
- {
- "dnsRoot": "tech.local",
- "domainAdId": "3f29a1d4-9c3e-4b7a-8e21-6a2f6f9c1a02",
- "status": "Protected",
- "domainControllers": [
- {
- "dcObjectGuid": "a6c9d2e1-8b34-4f6a-9e12-5d7a0c3f9b41",
- "fqdn": "dc1.tech.local",
- "site": "Default-First-Site-Name",
- "mapping": "Manual",
- "machine": {
- "platform": "VSphere",
- "hostName": "vcenter01.tech.local",
- "name": "dc1",
- "type": "VirtualMachine",
- "objectId": "vm-101"
}, - "platform": "VSphere",
- "path": "vcenter1/dcs/dc1",
- "status": "Protected"
}, - {
- "dcObjectGuid": "b7d0e3f2-9c45-4a7b-8f23-6e8b1d4a0c52",
- "fqdn": "dc3.tech.local",
- "site": "Default-First-Site-Name",
- "mapping": "Auto",
- "machine": {
- "platform": "Agent",
- "id": "5e0c7a92-3b18-4d6f-8a45-1c9e2f7b0d63",
- "name": "dc3.tech.local",
- "type": "WindowsComputer",
- "protectionGroupId": "8a3f5c21-6d94-4e0b-b782-4f1a9c6e3d05"
}, - "platform": "Agent",
- "status": "Protected"
}
], - "childDomains": [
- {
- "dnsRoot": "dev.tech.local",
- "domainAdId": null,
- "status": "Unprotected",
- "domainControllers": [
- {
- "dcObjectGuid": "c8e1f4a3-0d56-4b8c-9034-7f9c2e5b1d63",
- "fqdn": "dc4.dev.tech.local",
- "site": "Default-First-Site-Name",
- "mapping": "Manual",
- "machine": {
- "platform": "Agent",
- "id": "6f1d8ba3-4c29-4e70-9b56-2d0f3a8c1e74",
- "name": "dc4.dev.tech.local",
- "type": "WindowsComputer",
- "protectionGroupId": "8a3f5c21-6d94-4e0b-b782-4f1a9c6e3d05"
}, - "platform": "Agent",
- "status": "Unprotected"
}, - {
- "dcObjectGuid": "d9f2a5b4-1e67-4c9d-a145-8a0d3f6c2e74",
- "fqdn": "dc5.dev.tech.local",
- "site": null,
- "mapping": "None",
- "status": "Unprotected"
}
], - "childDomains": [ ]
}
]
}
]
}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.
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: |
An InfrastructureItemDeletion session has been created to remove the forest. To check the progress, track the session state with the Get Session request.
Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 201
- 400
- 401
- 403
- 404
- 500
{- "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": {
- "result": "None",
- "message": "",
- "isCanceled": false
}, - "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.
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 |
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: |
Request Body schema: application/jsonrequired
| 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 | ||||||
| connectionStatus required | string (EActiveDirectoryForestConnectionStatus) Result of the connection to the Active Directory forest during the last session of the SLA Compliance job.
The connection status does not include SLA compliance. Veeam Backup & Replication reports the SLA compliance status for each domain in | ||||||
| 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 | ||||||
| lastSessionId | string <uuid> ID of the last session of the SLA Compliance job. The property is | ||||||
| lastSessionTime | string <date-time> Date and time when the last session of the SLA Compliance job started. The property is | ||||||
| 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 | ||||||
| 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 | ||||||
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 | |||||||
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 | |||||||
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 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 |
An Infrastructure session has been created to edit the forest. To check the progress, track the session state with the Get Session request.
Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "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": {
- "jobs": [
- {
- "jobId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
- "jobName": "DC VMware Backup",
- "platform": "VSphere"
}
], - "agentDeployment": {
- "autoInstall": true,
- "credentialsId": "6a1f3c2e-9b47-4d85-a0e3-2c7d5b9f1e48"
}
}, - "slaMonitoring": {
- "mode": "Active"
}, - "slaRequirements": {
- "frequency": {
- "isEnabled": true,
- "interval": 1,
- "unit": "Days"
}, - "retention": {
- "isEnabled": true,
- "daily": {
- "isEnabled": true,
- "backups": 7
}, - "weekly": {
- "isEnabled": true,
- "backups": 4
}, - "monthly": {
- "isEnabled": false,
- "backups": 1
}, - "yearly": {
- "isEnabled": false,
- "backups": 1
}
}, - "requireAllDomainControllers": false
}, - "schedule": {
- "runAutomatically": true,
- "periodically": {
- "isEnabled": true,
- "periodicallyKind": "Minutes",
- "frequency": 30,
- "startTimeWithinAnHour": 0
}
}, - "domains": [
- {
- "dnsRoot": "tech.local",
- "domainAdId": "3f29a1d4-9c3e-4b7a-8e21-6a2f6f9c1a02",
- "status": "Protected",
- "domainControllers": [
- {
- "dcObjectGuid": "a6c9d2e1-8b34-4f6a-9e12-5d7a0c3f9b41",
- "fqdn": "dc1.tech.local",
- "site": "Default-First-Site-Name",
- "mapping": "Manual",
- "machine": {
- "platform": "VSphere",
- "hostName": "vcenter01.tech.local",
- "name": "dc1",
- "type": "VirtualMachine",
- "objectId": "vm-101"
}, - "platform": "VSphere",
- "path": "vcenter1/dcs/dc1",
- "status": "Protected"
}, - {
- "dcObjectGuid": "b7d0e3f2-9c45-4a7b-8f23-6e8b1d4a0c52",
- "fqdn": "dc3.tech.local",
- "site": "Default-First-Site-Name",
- "mapping": "Auto",
- "machine": {
- "platform": "Agent",
- "id": "5e0c7a92-3b18-4d6f-8a45-1c9e2f7b0d63",
- "name": "dc3.tech.local",
- "type": "WindowsComputer",
- "protectionGroupId": "8a3f5c21-6d94-4e0b-b782-4f1a9c6e3d05"
}, - "platform": "Agent",
- "status": "Protected"
}
], - "childDomains": [
- {
- "dnsRoot": "dev.tech.local",
- "domainAdId": null,
- "status": "Unprotected",
- "domainControllers": [
- {
- "dcObjectGuid": "c8e1f4a3-0d56-4b8c-9034-7f9c2e5b1d63",
- "fqdn": "dc4.dev.tech.local",
- "site": "Default-First-Site-Name",
- "mapping": "Manual",
- "machine": {
- "platform": "Agent",
- "id": "6f1d8ba3-4c29-4e70-9b56-2d0f3a8c1e74",
- "name": "dc4.dev.tech.local",
- "type": "WindowsComputer",
- "protectionGroupId": "8a3f5c21-6d94-4e0b-b782-4f1a9c6e3d05"
}, - "platform": "Agent",
- "status": "Unprotected"
}, - {
- "dcObjectGuid": "d9f2a5b4-1e67-4c9d-a145-8a0d3f6c2e74",
- "fqdn": "dc5.dev.tech.local",
- "site": null,
- "mapping": "None",
- "status": "Unprotected"
}
], - "childDomains": [ ]
}
]
}
]
}- 201
- 400
- 401
- 403
- 404
- 500
{- "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": {
- "result": "None",
- "message": "",
- "isCanceled": false
}, - "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.
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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "jobs": [
- {
- "jobId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
- "jobName": "VMware backup job",
- "domainControllers": [
- {
- "dcObjectGuid": "a6c9d2e1-8b34-4f6a-9e12-5d7a0c3f9b41",
- "fqdn": "dc1.tech.local",
- "site": "PRG",
- "platform": "VSphere"
}
]
}, - {
- "jobId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "jobName": "Physical DCs",
- "domainControllers": [
- {
- "dcObjectGuid": "b2f4e8a7-1c5d-4e9b-8a36-7c1d9e0f4a52",
- "fqdn": "dc2.tech.local",
- "site": "BER",
- "platform": "Agent"
}
]
}
]
}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.
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: |
The automatic rescan schedule has been enabled.
Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 400
- 401
- 403
- 404
- 500
{- "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.
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: |
The automatic rescan schedule has been disabled.
Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 400
- 401
- 403
- 404
- 500
{- "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.
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: |
An AdForestMonitoring session has been created to rescan the forest. To check the progress, track the session state with the Get Session request.
Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 201
- 400
- 401
- 403
- 404
- 500
{- "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": {
- "result": "None",
- "message": "",
- "isCanceled": false
}, - "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.
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. |
| orderAsc | boolean Sorts Active Directory objects in ascending order by the |
| fullNameFilter | string Filters Active Directory objects by the |
| 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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "data": [
- {
- "type": "Domain",
- "id": "90f6d1b9-5ce0-4a09-906a-dea8ef4ed140",
- "fullName": "tech.local",
- "domainId": "90f6d1b9-5ce0-4a09-906a-dea8ef4ed140",
- "distinguishedName": "tech.local"
}, - {
- "type": "OrganizationUnit",
- "id": "f7d2830e-4848-4aca-ad23-e05c8bd03fef",
- "fullName": "Atlanta",
- "domainId": "90f6d1b9-5ce0-4a09-906a-dea8ef4ed140",
- "distinguishedName": "OU=Atlanta,DC=tech,DC=local"
}, - {
- "type": "Container",
- "id": "ee67e1d2-cbc5-496f-8fa1-d5ed7ce49f7b",
- "fullName": "Computers",
- "domainId": "90f6d1b9-5ce0-4a09-906a-dea8ef4ed140",
- "distinguishedName": "CN=Computers,DC=tech,DC=local"
}, - {
- "type": "Computer",
- "id": "25f811dd-2a45-421e-88e6-b71c3a86728e",
- "fullName": "demovm.tech.local",
- "domainId": "90f6d1b9-5ce0-4a09-906a-dea8ef4ed140",
- "distinguishedName": "CN=DEMOVM,CN=Computers,DC=tech,DC=local"
}, - {
- "type": "Computer",
- "id": "f509c904-0f1f-4404-b720-34b2b42f6d82",
- "fullName": "enterprise06.tech.local",
- "domainId": "90f6d1b9-5ce0-4a09-906a-dea8ef4ed140",
- "distinguishedName": "CN=ENTERPRISE06,CN=Computers,DC=tech,DC=local"
}
], - "pagination": {
- "total": 487,
- "count": 5,
- "skip": 0,
- "limit": 5
}
}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.
path Parameters
| platform required | string (EPlatformType) Platform for which available disk slots will be returned. |
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: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "diskSlots": [
- "0:0",
- "0:1"
]
}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.
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.
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: |
Request Body schema: application/jsonrequired
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. |
OK
Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "tags": [
- {
- "platform": "VSphere",
- "hostName": "vcenter01.tech.local",
- "name": "Production",
- "type": "Tag",
- "objectId": "urn:vmomi:InventoryServiceTag:a1b2c3d4-e5f6-7890-abcd-ef1234567890:GLOBAL"
}, - {
- "platform": "VSphere",
- "hostName": "vcenter01.tech.local",
- "name": "Windows",
- "type": "Tag",
- "objectId": "urn:vmomi:InventoryServiceTag:b7e4c2d9-3f18-4a6e-9d05-c8a1f6e2b437:GLOBAL"
}
]
}- 200
- 400
- 401
- 403
- 500
{- "platform": "VSphere",
- "size": "N/A",
- "hostName": "vcenter01.tech.local",
- "name": "Production & Windows",
- "type": "Multitag",
- "objectId": "BAA9980721B6105F17CB56C092987156BB88D2FD02D9335046EB12DB0BA18675",
- "metadata": [
- {
- "field": "tag",
- "data": "urn:vmomi:InventoryServiceTag:a1b2c3d4-e5f6-7890-abcd-ef1234567890:GLOBAL"
}, - {
- "field": "tag",
- "data": "urn:vmomi:InventoryServiceTag:b7e4c2d9-3f18-4a6e-9d05-c8a1f6e2b437:GLOBAL"
}
]
}