---
title: "Get a VM with its GPU/node/template info and price"
method: GET
path: "/v1/vms/{id}/detail"
tags: ["VMs"]
---

# Get a VM with its GPU/node/template info and price

`GET /v1/vms/{id}/detail`

## Path parameters

- `id` string, required

## Response `200`

The VM detail

- VmDetail
  - `capabilityTier` string — compute-fabric capability tier (e.g. "pod"); empty for a plain VM
  - `computeClass` string — compute-fabric compute class (interruptible|reserved); empty for a plain VM
  - `containerPort` integer
  - `createdAt` string, required
  - `diskSizeGb` integer, required
  - `diskTotalBytes` integer
  - `diskUsedBytes` integer
  - `endpointUrl` string
  - `gpuCount` integer, required
  - `gpuInfo` VmGpuInfo
    - `name` string, required
    - `pricePerHourCents` integer — current catalog per-GPU-hour rate for this model/tier (informational; the billed rate is VmDetail.pricePerHourCents)
    - `vramGb` integer, required
  - `gpuModelId` string
  - `healthy` boolean, required
  - `id` string, required
  - `imageUrl` string
  - `internalIp` string
  - `name` string, required
  - `nodeId` string
  - `nodeInfo` VmNodeInfo
    - `hostname` string, required
    - `location` string
  - `nonBillable` boolean — This VM's usage is recorded but never charged: a provider org consuming GPUs on a node it owns under its own reservation. pricePerHourCents still reports the real rate (the measurement is kept, the charge is waived) so a client showing a rate MUST also show this or it will display a bill that never arrives.
  - `organizationId` string, required
  - `osType` string
  - `persistentDiskPath` string
  - `pricePerHourCents` integer — bundled hourly rate. When the VM has an open usage session this is the rate LOCKED at session open (what settlement charges); otherwise the rate a session WOULD lock: the fabric admission snapshot for a pod, else the current catalog rate for the VM's shape.
  - `provisioningStage` string
  - `public` boolean — true = open endpoint (no data-plane auth); false = require an org API key
  - `rdpPassword` string
  - `rdpPort` integer
  - `resourceSize` string, required
  - `serviceType` string — managed-service tag; empty for a plain VM
  - `sshCommand` string — ready-to-paste ssh command (ssh <handle>@<host>)
  - `sshHandle` string — RunPod-style SSH handle (first label of endpointUrl); used as the SSH username
  - `sshHost` string — data-plane SSH gateway host, e.g. ssh.run.beta.openrelay.inc
  - `sshPort` integer
  - `sshReady` boolean — true when SSH should work now. Observed: a node-side probe saw the guest sshd answer. Falls back to the running-status guess on nodes not yet reporting probes (sshState=unverified).
  - `sshState` 'ready' | 'booting' | 'unverified' | 'offline' — why sshReady is what it is. booting = the VM is running but its guest OS has not started sshd yet (GPU VMs take minutes); unverified = no probe signal for this node, sshReady is a guess; offline = the VM is not running.
  - `sshStateReason` string — human-readable explanation of sshState, safe to show to the customer
  - `sshUser` string — login user the gateway lands as inside the VM (e.g. ubuntu)
  - `startedAt` string
  - `status` string, required
  - `statusReason` string — human-readable cause for failed/stuck states
  - `templateInfo` VmTemplateInfo
    - `name` string, required
    - `osType` string, required
    - `osVersion` string
  - `terminatedAt` string — RFC3339 time the VM was terminated. Set only once status is "terminated" (a stopped/failed VM can restart, so it has none); absent while the VM is live. On a terminated VM, healthy is false and provisioningStage is absent.
  - `tier` string, required
  - `updatedAt` string, required

## Other responses

- `401` — Missing or invalid API key
- `403` — API key lacks the required scope
- `404` — Resource not found

---

[API](https://skmtc.net/openrelay/apis/openrelay-api.md) · [All operations](https://skmtc.net/openrelay/apis/openrelay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openrelay/openrelay-api/revisions/b75b478564cc/schema)
