Skip to main content
GET
Get a compute reservation

Overview

Returns one reservation; the read behind morph compute status --json. Reach a node with ssh <login>@<publicIp>, or ssh -J <jumpHost> <login>@<publicIp> when jumpHost is set. monthlyCents is null unless the key’s owner is an organization admin.

Authorizations

Authorization
string
header
required

Morph API key, passed as Authorization: Bearer sk-.... Create keys at https://www.morphllm.com/dashboard/api-keys.

Path Parameters

id
string<uuid>
required

Identifies the reservation to read. Reservation id from the list response or from reserving.

Example:

"b81f2c40-7d9e-4a35-9c16-3f5a8e0d2b74"

Response

The reservation.

One reservation and how to reach its nodes.

id
string<uuid>
required

Reservation id. Pass it to the status, cancel and SSH key routes.

Example:

"b81f2c40-7d9e-4a35-9c16-3f5a8e0d2b74"

label
string
required

The whole reservation as a short label.

Example:

"8x HGX B300"

hardware
string
required

Full hardware description.

Example:

"NVIDIA HGX B300, XDR InfiniBand"

region
string
required

Region of the nodes.

Example:

"US West"

gpuCount
integer
required

GPUs across all nodes.

Example:

8

nodeCount
integer
required

Whole nodes reserved.

Example:

1

status
enum<string>
required

The field to act on. awaiting_payment: nodes held, first invoice unpaid. provisioning: payment started, nodes being prepared. running: nodes handed over, SSH works. suspended: an invoice is unpaid 7 days past due, your SSH keys are off the nodes until it is paid, and the reservation ends on suspensionEndsOn. ending: notice given, nodes stay through termEnd. ended: nodes returned and wiped.

Available options:
awaiting_payment,
provisioning,
running,
suspended,
ending,
ended
Example:

"running"

startsOn
string | null
required

First day, as a UTC date.

Example:

"2027-01-04"

termEnd
string | null
required

Last day of the first term. Once notice is given, the last day of the reservation.

Example:

"2027-02-03"

renews
enum<string>
required

monthly renews on each monthly anniversary of startsOn until notice. none ends on termEnd.

Available options:
monthly,
none
Example:

"monthly"

login
string | null
required

SSH login on every node: ssh <login>@<publicIp>. Null when the nodes are not reached over SSH.

Example:

"ubuntu"

jumpHost
string | null
required

Set when nodes are reached through a jump host: ssh -J <jumpHost> <login>@<publicIp>. Null means direct.

Example:

null

nodes
object[]
required

The nodes. Empty until they are handed over.

Example:
monthlyCents
integer | null
required

What the reservation bills a month in US cents, excluding tax. Null unless the key’s owner is an organization admin. The example is illustrative.

Example:

584000

noticeLastDay
string | null
required

The last day the reservation would run if notice were given now, as a UTC date: the end of the term or monthly period it is in, or the end of the next month when that month is already invoiced. Read it before giving notice. Set only while notice can be given here: a running reservation made at checkout with no notice yet. Otherwise null.

Example:

"2027-02-03"

suspensionEndsOn
string | null
required

Set only while status is suspended: the UTC date the reservation ends and its nodes are wiped unless the unpaid invoice is paid first. Otherwise null.

Example:

null