Clusters

The /clusters resource collection represents all clusters connected to the backup server and VMs residing on those clusters.

Get Collection of Clusters

The HTTP GET request to the /clusters endpoint retrieves information on clusters to which Veeam Plug-in for Nutanix AHV has access.

SecurityBearer
Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid.

401

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

403

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

500

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

get/api/v8/clusters
Request samples
Response samples
application/json
[
  • {
    }
]

Add New Cluster

The HTTP POST request to the /clusters endpoint adds a Nutanix AHV cluster to the Veeam Backup & Replication configuration database.

SecurityBearer
Request
Request Body schema: application/json
required

Cluster Data Object

ip
string

IP address or hostname of the cluster.

port
integer <int32> [ 0 .. 65535 ]

Port used to access the cluster.

userName
string or null

Username of an administrator account used to access the cluster.

password
write-only
string or null <password>

Password of an administrator account used to access the cluster.

credentialsTag
string or null

ID of credentials added to the Credentials Manager in Veeam Backup & Replication.

certificateThumbprint
string or null

Certificate thumbprint

description
string

Description of the cluster.

Responses
201

Created

400

Bad Request. The request body is malformed, incomplete or otherwise invalid.

401

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

403

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

500

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

post/api/v8/clusters
Request samples
application/json
{
  • "ip": "string",
  • "port": 65535,
  • "userName": "string",
  • "password": "pa$$word",
  • "credentialsTag": "string",
  • "certificateThumbprint": "string",
  • "description": "string"
}
Response samples
application/json
{
  • "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}

Get Cluster Data

The HTTP GET request to the /clusters/{id} endpoint retrieves information on a cluster with the specified ID.

SecurityBearer
Request
path Parameters
id
required
string

Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which Veeam Plug-in for Nutanix AHV has access.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid.

401

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

403

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

500

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

get/api/v8/clusters/{id}
Request samples
Response samples
application/json
{
  • "id": "string",
  • "prismCentralId": "string",
  • "name": "string",
  • "description": "string",
  • "address": "string",
  • "port": 65535,
  • "state": "Unknown",
  • "version": "string"
}

Remove Cluster

The HTTP DELETE request to the /clusters/{id} endpoint removes a cluster with the specified ID from the Veeam Backup & Replication configuration database.

SecurityBearer
Request
path Parameters
id
required
string

Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which Veeam Plug-in for Nutanix AHV has access.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid.

401

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

403

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

500

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

delete/api/v8/clusters/{id}
Request samples
Response samples
application/json
{
  • "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}

Infrastructure Rescan for Cluster

The HTTP POST request to the /clusters/{id}/refreshAsync endpoint runs the infrastructure rescanning operation for entities within cluster.

SecurityBearer
Request
path Parameters
id
required
string

Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which Veeam Plug-in for Nutanix AHV has access.

Responses
202

Accepted

400

Bad Request. The request body is malformed, incomplete or otherwise invalid.

401

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

403

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

500

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

post/api/v8/clusters/{id}/refreshAsync
Request samples
Response samples
application/json
{
  • "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}

Get Cluster Connection Settings

The HTTP GET request to the /clusters/{id} endpoint retrieves connection information on a cluster with the specified ID.

SecurityBearer
Request
path Parameters
id
required
string

Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which Veeam Plug-in for Nutanix AHV has access.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid.

401

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

403

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

500

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

get/api/v8/clusters/{id}/settings
Request samples
Response samples
application/json
{
  • "ip": "string",
  • "port": 65535,
  • "userName": "string",
  • "credentialsTag": "string",
  • "certificateThumbprint": "string",
  • "description": "string"
}

Modify Cluster Settings

The HTTP PUT request to the /clusters/{id} endpoint updates settings of a cluster with the specified ID added to the Veeam Backup & Replication configuration database.

SecurityBearer
Request
path Parameters
id
required
string

Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which Veeam Plug-in for Nutanix AHV has access.

Request Body schema: application/json
required

Cluster Data Object

ip
string

IP address or hostname of the cluster.

port
integer <int32> [ 0 .. 65535 ]

Port used to access the cluster.

userName
string or null

Username of an administrator account used to access the cluster.

password
write-only
string or null <password>

Password of an administrator account used to access the cluster.

credentialsTag
string or null

ID of credentials added to the Credentials Manager in Veeam Backup & Replication.

certificateThumbprint
string or null

Certificate thumbprint

description
string

Description of the cluster.

Responses
200

Ok

400

Bad Request. The request body is malformed, incomplete or otherwise invalid.

401

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

403

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

409

Conflict. The request could not be processed.

500

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

put/api/v8/clusters/{id}/settings
Request samples
application/json
{
  • "ip": "string",
  • "port": 65535,
  • "userName": "string",
  • "password": "pa$$word",
  • "credentialsTag": "string",
  • "certificateThumbprint": "string",
  • "description": "string"
}
Response samples
application/json
{
  • "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}

Get Collection of Virtual Machines

The HTTP GET request to the /virtualMachines endpoint retrieves a list of all virtual machines residing on a specified cluster.

SecurityBearer
Request
path Parameters
id
required
string

Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which Veeam Plug-in for Nutanix AHV has access.

query Parameters
offset
integer <int32> >= 0
Default: 0

Excludes from a response the first N items of a resource collection.

limit
integer <int32> >= -1
Default: 100

Specifies the maximum number of items of a resource collection to return in a response.

write-only
Array of objects or null (FilterParameter)

Specifies the criteria for items to be returned in a response. For more information, see the Veeam Plug-in for Nutanix AHV REST API Reference Overview, section Filter Parameters.

write-only
Array of objects or null (SortParameter)

Specifies the order of items in the response. For more information, see the Veeam Plug-in for Nutanix AHV REST API Reference Overview, section Sort Parameter.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid.

401

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

403

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

500

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

get/api/v8/clusters/{id}/vms
Request samples
Response samples
application/json
{
  • "offset": 0,
  • "limit": 0,
  • "totalCount": 0,
  • "results": [
    ]
}

Get Collection of Protection Domains

The HTTP GET request to the /clusters/{id}/protectionDomains endpoint retrieves a list of all protection domains configured in the specified cluster.

SecurityBearer
Request
path Parameters
id
required
string

Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which Veeam Plug-in for Nutanix AHV has access.

query Parameters
offset
integer <int32> >= 0
Default: 0

Excludes from a response the first N items of a resource collection.

limit
integer <int32> >= -1
Default: 100

Specifies the maximum number of items of a resource collection to return in a response.

write-only
Array of objects or null (FilterParameter)

Specifies the criteria for items to be returned in a response. For more information, see the Veeam Plug-in for Nutanix AHV REST API Reference Overview, section Filter Parameters.

write-only
Array of objects or null (SortParameter)

Specifies the order of items in the response. For more information, see the Veeam Plug-in for Nutanix AHV REST API Reference Overview, section Sort Parameters.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid.

401

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

403

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

500

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

get/api/v8/clusters/{id}/protectionDomains
Request samples
Response samples
application/json
{
  • "offset": 0,
  • "limit": 0,
  • "totalCount": 0,
  • "results": [
    ]
}

Get Collection of Networks

The HTTP GET request to the /clusters/{id}/networks endpoint retrieves a list of all networks configured in the specified cluster.

SecurityBearer
Request
path Parameters
id
required
string

Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which Veeam Plug-in for Nutanix AHV has access.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid.

401

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

403

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

500

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

get/api/v8/clusters/{id}/networks
Request samples
Response samples
application/json
[
  • {
    }
]

Get Collection of Storage Containers

The HTTP GET request to the /clusters/{id}/storageContainers endpoint retrieves a list of all storage containers configured in the specified cluster.

SecurityBearer
Request
path Parameters
id
required
string

Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which Veeam Plug-in for Nutanix AHV has access.

query Parameters
offset
integer <int32> >= 0
Default: 0

Excludes from a response the first N items of a resource collection.

limit
integer <int32> >= -1
Default: 100

Specifies the maximum number of items of a resource collection to return in a response.

write-only
Array of objects or null (FilterParameter)

Specifies the criteria for items to be returned in a response. For more information, see the Veeam Plug-in for Nutanix AHV REST API Reference Overview, section Filter Parameters.

write-only
Array of objects or null (SortParameter)

Specifies the order of items in the response. For more information, see the Veeam Plug-in for Nutanix AHV REST API Reference Overview, section Sort Parameters.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid.

401

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

403

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

500

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

get/api/v8/clusters/{id}/storageContainers
Request samples
Response samples
application/json
{
  • "offset": 0,
  • "limit": 0,
  • "totalCount": 0,
  • "results": [
    ]
}

Get Collection of Cluster Hosts

The HTTP GET request to the /clusters/{id}/hosts endpoint retrieves a list of all host configured in the specified cluster.

SecurityBearer
Request
path Parameters
id
required
string

Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which Veeam Plug-in for Nutanix AHV has access.

query Parameters
offset
integer <int32> >= 0
Default: 0

Excludes from a response the first N items of a resource collection.

limit
integer <int32> >= -1
Default: 100

Specifies the maximum number of items of a resource collection to return in a response.

write-only
Array of objects or null (FilterParameter)

Specifies the criteria for items to be returned in a response. For more information, see the Veeam Plug-in for Nutanix AHV REST API Reference Overview, section Filter Parameters.

write-only
Array of objects or null (SortParameter)

Specifies the order of items in the response. For more information, see the Veeam Plug-in for Nutanix AHV REST API Reference Overview, section Sort Parameters.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid.

401

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

500

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

get/api/v8/clusters/{id}/hosts
Request samples
Response samples
application/json
{
  • "offset": 0,
  • "limit": 0,
  • "totalCount": 0,
  • "results": [
    ]
}

Get Collection of Volume Groups in Cluster

The HTTP GET request to the /clusters/{id}/volumeGroups endpoint retrieves a list of all volume groups configured in the specified cluster.

SecurityBearer
Request
path Parameters
id
required
string

Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which Veeam Plug-in for Nutanix AHV has access.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid.

401

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

403

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

500

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

get/api/v8/clusters/{id}/volumeGroups
Request samples
Response samples
application/json
[
  • {
    }
]

Document updated 9/03/2025

Page content applies to build 13.8.0.582