Hypervisors Api List Standalone Hosts
Requires the ADMIN, SECURITY_OPERATOR or AUDITOR role.
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
}
]
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 Unauthorized: UNAUTHENTICATED when the VTP_SESSION cookie is missing, unknown, expired or revoked
{
"errorCode": "string",
"message": "string",
"path": "string",
"timestamp": "string",
"reason": "string"
}
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.
Human-readable error description
Request URI path that produced the error
Timestamp when the error occurred as an ISO 8601 date-time with offset
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 Forbidden: FORBIDDEN
{
"errorCode": "string",
"message": "string",
"path": "string",
"timestamp": "string",
"reason": "string"
}
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.
Human-readable error description
Request URI path that produced the error
Timestamp when the error occurred as an ISO 8601 date-time with offset
A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.
curl -H 'Authorization: <value>' https://{api_host}/api/v1/hypervisors/standalone