---
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 once the VM is running and its data-plane route exists
  - `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
  - `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/versions/32905b8f44f8/schema)
