Hypervisors Api List Standalone Hosts

Hypervisors Api List Standalone Hosts
List the standalone ESXi hosts

Requires the ADMIN, SECURITY_OPERATOR or AUDITOR role.

Request
URI
GET
https://{api_host}/api/v1/hypervisors/standalone
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

200 OK successful response envelope. Every standalone host

[
    {
        "id": "101",
        "vcenterId": null,
        "hostname": "esx01.example.com",
        "parentLocator": null,
        "connectionState": "CONNECTED",
        "inMaintenanceMode": false,
        "esxiVersion": "8.0.2",
        "esxiBuild": "20000000",
        "inventoryState": "ACTIVE",
        "stale": false,
        "observedAt": "2026-01-15T09:30:00Z",
        "firstObservedAt": "2026-01-15T09:30:00Z",
        "agentCorrelationState": "NOT_CORRELATED",
        "vcenterConnectionId": null,
        "vcenterInstanceUuid": null,
        "hardwareUuid": "00000000-0000-4000-8000-000000000011",
        "vcenterDisplayName": "Standalone ESXi",
        "agentId": null,
        "enrollmentStatus": "NOT_ENROLLED",
        "enrolledAt": null,
        "enrollmentError": null,
        "agentVibStatus": "UNKNOWN",
        "agentVibIdentifier": null,
        "agentVibVersion": null,
        "agentVibDisplayName": null,
        "enrollmentStage": "NONE",
        "agentCommStatus": null,
        "lastHeartbeatAt": null,
        "clusterName": null,
        "managementType": "STANDALONE",
        "autoEnrollSuppressedAt": null,
        "authUsername": null,
        "hardwareIdentityConflict": false,
        "agentVibConfirmedAt": null,
        "agentVibLastAttemptAt": null,
        "agentVibLastAttemptResult": null,
        "recoveryRequired": false,
        "recoveryReason": null
    }
]
array of object
Optional

A hypervisor host with its inventory, enrollment and agent state. The vCenter managed-object reference of the host (hostMoRef) is not returned; identify a host by id, hostname or hardwareUuid. parentLocator, the cluster locator, is still returned and is the value of the cluster filter.


401

401 Unauthorized: UNAUTHENTICATED when the VTP_SESSION cookie is missing, unknown, expired or revoked

Returns Unauthenticated of type(s) application/json
{
    "errorCode": "string",
    "message": "string",
    "path": "string",
    "timestamp": "string",
    "reason": "string"
}
errorCode
Required  

Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.

string
message
Required  

Human-readable error description

string
path
Required  

Request URI path that produced the error

string As date-time As date-time
timestamp
Required  

Timestamp when the error occurred as an ISO 8601 date-time with offset

string
reason
Optional

A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.


403

403 Forbidden: FORBIDDEN

Returns ApiErrorResponse of type(s) application/json
{
    "errorCode": "string",
    "message": "string",
    "path": "string",
    "timestamp": "string",
    "reason": "string"
}
errorCode
Required  

Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.

string
message
Required  

Human-readable error description

string
path
Required  

Request URI path that produced the error

string As date-time As date-time
timestamp
Required  

Timestamp when the error occurred as an ISO 8601 date-time with offset

string
reason
Optional

A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/v1/hypervisors/standalone