Rack
Retrieve a Rack
Changed onGet a Rack by ID.
Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix.
get/v2/org/{org}/nico/rack/{id}
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/rack/{id}
- AuthHTTP bearer
Query parameters
siteIdstring uuid required
ID of the Site
includeComponentsboolean
Include rack components in response
Response
OK
Example response
{
"id": "rack-01",
"name": "Rack-01",
"manufacturer": "Dell",
"model": "PowerEdge R750",
"serialNumber": "SN-RACK-001",
"description": "Primary compute rack",
"operationStatus": "Ready",
"nvLinkDomainIds": [
"59202b81-65fb-45ec-b3b8-91ab0ad3f34a"
],
"taskStats": {
"pendingTaskCount": 0,
"activeTaskCount": 0
},
"health": {
"source": "rack-aggregate-health",
"observedAt": "2026-09-28T12:00:00Z",
"successes": [],
"alerts": []
},
"location": {
"region": "us-east-1",
"datacenter": "DC-01",
"room": "Room-A",
"position": "A1"
},
"components": [
{
"id": "fm100ht4v4mce2qstjnl8970nnj3ie6ecek4mtjn27pea4kre5gsa49jg0g",
"type": "Compute",
"name": "Server-01",
"serialNumber": "SN-SRV-001",
"manufacturer": "Dell",
"firmwareVersion": "2.1.0",
"slotId": 1,
"trayIdx": 0,
"hostId": 0,
"bmcs": [
{
"type": "BmcTypeHost",
"macAddress": "AA:BB:CC:DD:EE:01",
"ipAddress": "10.0.0.101"
}
],
"powerState": "on",
"leakStatus": "Leaking",
"leakHandlingStatus": "ShuttingDown",
"health": {
"source": "aggregate-host-health",
"observedAt": "2026-09-28T12:00:00Z",
"successes": [],
"alerts": []
}
}
]
}Changes
- info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status
- info
- breaking
the
/response's property format changed fromuuidto no format for status
- breaking