---
title: "Get GPU instance"
method: GET
path: "/compute/v1/instances/{id}"
tags: ["Compute"]
---

# Get GPU instance

`GET /compute/v1/instances/{id}`

Retrieves detailed information about a GPU instance including SSH connection details, vault mount scripts, real-time cost tracking, and current status. SSH private key included for secure access.

## Path parameters

- `id` string, required

## Response `200`

Instance details retrieved

- object
  - `id` string
  - `name` string
  - `status` string
  - `ip` string, nullable
  - `instanceType` string
  - `region` string
  - `pricePerHour` string
  - `gpu` string
  - `specs` object
  - `startedAt` string, nullable
  - `currentRuntimeSeconds` integer
  - `currentCost` string
  - `createdAt` string
  - `ssh` object, nullable
    - `host` string
    - `user` string
    - `command` string
    - `privateKey` string
    - `instructions` unknown[]
      - unknown
  - `vaultMounts` object, nullable

## Other responses

- `400` — Invalid instance ID
- `401` — Invalid or missing API key
- `404` — Instance not found
- `500` — Failed to get instance

---

[API](https://skmtc.net/casemark/apis/case-dev-api.md) · [All operations](https://skmtc.net/casemark/apis/case-dev-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casemark/case-dev-api/versions/5b7e64e6d6f9/schema)
