Retrieve Instance
Get an Instance by ID
Org must have a Tenant entity. Instance must belong to Tenant. User must have authorization role with TENANT_ADMIN suffix.
Authentication
AuthorizationBearer
```
export JWT_BEARER_TOKEN="<jwt-bearer-token>"
# Example org name: "acme-inc
export ORG_NAME=<org-name>
# Use the JWT bearer token in your API request auth header:
curl -v -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $JWT_BEARER_TOKEN" https://nico-rest-api.nico.svc.cluster.local/v2/org/$ORG_NAME/nico/user/current
```
Path parameters
org
Name of the Org
instanceId
ID of the Instance
Query parameters
includeRelation
Related entity to expand
Response
OK
id
Unique identifier for the Instance
name
Name for the Instance
description
Description for the Instance
tenantId
ID of the Tenant the Instance belongs to
infrastructureProviderId
ID of the Infrastructure Provider that owns the Site where the Instance is located
siteId
ID of the Site where the Instance is located
instanceTypeId
ID of the Instance Type
vpcId
ID of the VPC
secondaryVpcIds
IDs of VPCs attached to the Instance through non-primary interfaces
machineId
ID of the Machine
operatingSystemId
ID of the Operating System
networkSecurityGroupId
ID of the attached Network Security Group, if any
networkSecurityGroupPropagationDetails
Propagation details for the attached Network Security Group
networkSecurityGroupInherited
Indicates if the Network Security Group is inherited from VPC
controllerInstanceId
ID of the Instance in Site Controller
ipxeScript
Attribute which is inherited from Operating System
alwaysBootWithCustomIpxe
Indicates whether the Instance should always execute custom iPXE script when rebooting
phoneHomeEnabled
Indicates whether the Phone Home service should be enabled or disabled for the Instance
userData
UserData is inherited from Operating System or specified by user if allowed
labels
User-specified Instance labels
isUpdatePending
Indicates whether an update is available for the Instance. Updates can be applied on reboot
serialConsoleUrl
Serial Console URL for the Instance. Format: ssh://<id>@siteSerialConsoleHostname
autoNetwork
True when this Instance uses NICo auto-resolved networking from the host’s underlay (HostInband) network segments. When true, the caller’s request interfaces list was empty, this interfaces field remains empty on readback, and the resolved per-interface details surface under status.network.interfaces.
interfaces
Interfaces are list of the subnet associated with the Instance
infinibandInterfaces
InfiniBandInterfaces are list of the InfiniBandInterface associated with the Instance
nvLinkInterfaces
NVLinkInterfaces are list of the NVLinkInterface associated with the Instance
dpuExtensionServiceDeployments
DPU Extension Services deployed on DPUs of this Instance
sshKeyGroupIds
IDs of SSH Key Groups associated with this Instance
sshKeyGroups
IDs of SSH Key Groups associated with this Instance
tpmEkCertificate
base64 encoded TPM EK Certificate associated with this Instance
status
Status of the Instance
statusHistory
Chronological status history for the Instance
deprecations
Deprecation notices for fields returned by this resource
created
Date/time when the Instance was created
updated
Date/time when the Instance was last updated
Errors
403
Forbidden Error