> ## Documentation Index
> Fetch the complete documentation index at: https://docs.morphllm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Compute Reservation

> Fetch one reservation and its nodes at /api/v1/compute/reservations/{id}

## 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.


## OpenAPI

````yaml GET /api/v1/compute/reservations/{id}
openapi: 3.1.0
info:
  title: Morph API
  version: 1.2.0
  description: >-
    The Morph public API at api.morphllm.com: OpenAI- and Anthropic-compatible
    inference (chat completions, messages), Fast Apply code editing, Compact
    context compression, System One typed decisions, speech to text (audio
    transcription and translation), model listing, and dedicated endpoint
    management, agentic credit top-ups paid over x402, account usage and billing
    settings, and organization member budgets. Model ids, prices, and context
    windows are served live at https://www.morphllm.com/api/models/json.
  contact:
    name: Morph
    url: https://morphllm.com
    email: info@morphllm.com
  license:
    name: Proprietary
    url: https://morphllm.com/privacy/tos
servers:
  - url: https://api.morphllm.com
    description: Production
security: []
tags:
  - name: chat
    description: >-
      OpenAI- and Anthropic-compatible chat inference, including Fast Apply and
      WarpGrep models.
  - name: compact
    description: Context compression for long agent conversations.
  - name: systemone
    description: 'Typed decisions: a state in, a probability distribution per question out.'
  - name: audio
    description: >-
      Speech to text: transcription and translation of audio files,
      OpenAI-compatible.
  - name: models
    description: Model listing.
  - name: dedicated
    description: Dedicated endpoint discovery, status, and cancellation.
  - name: compute
    description: >-
      Dedicated compute: reserve whole GPU nodes by the month, manage SSH keys,
      give notice. Limited preview.
  - name: credits
    description: Agentic credit top-ups paid in USDC over x402.
  - name: account
    description: >-
      Usage and spend per day; billing settings: extra usage, spend limit and
      alert, auto-reload.
  - name: organization
    description: Organization member budgets.
  - name: telemetry
    description: Usage reporting hooks.
paths:
  /api/v1/compute/reservations/{id}:
    get:
      tags:
        - compute
      summary: Get a compute reservation
      description: >-
        One reservation: its status, term, SSH login, jump host, node addresses
        and node health. Gate on `status`: SSH works while it is `running` or
        `ending`. While it is `awaiting_payment`, `holdUntil` is when the unpaid
        hold is released.
      operationId: getComputeReservation
      parameters:
        - schema:
            type: string
            format: uuid
            description: Reservation id from the list response or from reserving.
            example: b81f2c40-7d9e-4a35-9c16-3f5a8e0d2b74
          required: true
          description: Identifies the reservation to read.
          name: id
          in: path
      responses:
        '200':
          description: The reservation.
          content:
            application/json:
              example:
                id: b81f2c40-7d9e-4a35-9c16-3f5a8e0d2b74
                label: 8x HGX B300
                hardware: NVIDIA HGX B300, XDR InfiniBand
                region: US West
                gpuCount: 8
                nodeCount: 1
                status: running
                startsOn: '2027-01-04'
                termEnd: '2027-02-03'
                renews: monthly
                login: ubuntu
                jumpHost: null
                nodes:
                  - name: node-01
                    status: running
                    state: running
                    publicIp: 203.0.113.21
                    privateIp: 10.20.0.21
                    gpus: 8
                    gpusSeen: 8
                    checkedAt: '2027-01-04T09:20:00.000Z'
                    metrics: true
                createdAt: '2027-01-04T09:02:00.000Z'
                holdUntil: null
                sshKeyCount: 1
                sshKeyError: null
                monthlyCents: 584000
                noticeLastDay: '2027-02-03'
                suspensionEndsOn: null
              schema:
                $ref: '#/components/schemas/ComputeReservation'
        '401':
          $ref: '#/components/responses/ComputeUnauthorized'
        '403':
          $ref: '#/components/responses/ComputeForbidden'
        '404':
          $ref: '#/components/responses/ComputeNotFound'
      security:
        - bearerAuth: []
components:
  schemas:
    ComputeReservation:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Reservation id. Pass it to the status, cancel and SSH key routes.
          example: b81f2c40-7d9e-4a35-9c16-3f5a8e0d2b74
        label:
          type: string
          description: The whole reservation as a short label.
          example: 8x HGX B300
        hardware:
          type: string
          description: Full hardware description.
          example: NVIDIA HGX B300, XDR InfiniBand
        region:
          type: string
          description: Region of the nodes.
          example: US West
        gpuCount:
          type: integer
          description: GPUs across all nodes.
          example: 8
        nodeCount:
          type: integer
          description: Whole nodes reserved.
          example: 1
        status:
          type: string
          enum:
            - awaiting_payment
            - provisioning
            - running
            - suspended
            - ending
            - ended
          description: >-
            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.
          example: running
        startsOn:
          type:
            - string
            - 'null'
          description: First day, as a UTC date.
          example: '2027-01-04'
        termEnd:
          type:
            - string
            - 'null'
          description: >-
            Last day of the first term. Once notice is given, the last day of
            the reservation.
          example: '2027-02-03'
        renews:
          type: string
          enum:
            - monthly
            - none
          description: >-
            `monthly` renews on each monthly anniversary of `startsOn` until
            notice. `none` ends on `termEnd`.
          example: monthly
        login:
          type:
            - string
            - 'null'
          description: >-
            SSH login on every node: `ssh <login>@<publicIp>`. Null when the
            nodes are not reached over SSH.
          example: ubuntu
        jumpHost:
          type:
            - string
            - 'null'
          description: >-
            Set when nodes are reached through a jump host: `ssh -J <jumpHost>
            <login>@<publicIp>`. Null means direct.
          example: null
        nodes:
          type: array
          items:
            $ref: '#/components/schemas/ComputeNode'
          description: The nodes. Empty until they are handed over.
          example:
            - name: node-01
              status: running
              state: running
              publicIp: 203.0.113.21
              privateIp: 10.20.0.21
              gpus: 8
              gpusSeen: 8
              checkedAt: '2027-01-04T09:20:00.000Z'
              metrics: true
        createdAt:
          type: string
          format: date-time
          description: ISO 8601 time the reservation was made.
          example: '2027-01-04T09:02:00.000Z'
        holdUntil:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            Set only while `status` is `awaiting_payment`: the ISO 8601 time the
            unpaid hold releases its nodes. Pay the first invoice before it.
            Otherwise null.
          example: null
        sshKeyCount:
          type:
            - integer
            - 'null'
          description: >-
            SSH keys on the reservation, counting ones still being applied or
            removed. Null when its keys are not managed here (Morph manages
            access under a contract).
          example: 1
        sshKeyError:
          type:
            - string
            - 'null'
          description: >-
            Why the newest key that failed could not be applied or removed yet.
            Null when none has. The SSH key list says which key.
          example: null
        monthlyCents:
          type:
            - integer
            - 'null'
          description: >-
            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:
          type:
            - string
            - 'null'
          description: >-
            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:
          type:
            - string
            - 'null'
          description: >-
            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
      required:
        - id
        - label
        - hardware
        - region
        - gpuCount
        - nodeCount
        - status
        - startsOn
        - termEnd
        - renews
        - login
        - jumpHost
        - nodes
        - createdAt
        - holdUntil
        - sshKeyCount
        - sshKeyError
        - monthlyCents
        - noticeLastDay
        - suspensionEndsOn
      description: One reservation and how to reach its nodes.
      example:
        id: b81f2c40-7d9e-4a35-9c16-3f5a8e0d2b74
        label: 8x HGX B300
        hardware: NVIDIA HGX B300, XDR InfiniBand
        region: US West
        gpuCount: 8
        nodeCount: 1
        status: running
        startsOn: '2027-01-04'
        termEnd: '2027-02-03'
        renews: monthly
        login: ubuntu
        jumpHost: null
        nodes:
          - name: node-01
            status: running
            state: running
            publicIp: 203.0.113.21
            privateIp: 10.20.0.21
            gpus: 8
            gpusSeen: 8
            checkedAt: '2027-01-04T09:20:00.000Z'
            metrics: true
        createdAt: '2027-01-04T09:02:00.000Z'
        holdUntil: null
        sshKeyCount: 1
        sshKeyError: null
        monthlyCents: 584000
        noticeLastDay: '2027-02-03'
        suspensionEndsOn: null
    ComputeNode:
      type: object
      properties:
        name:
          type: string
          description: Hostname of the node.
          example: node-01
        status:
          type: string
          enum:
            - running
            - restarting
            - maintenance
            - down
          description: >-
            The recorded status. `restarting` is set by a restart request and
            cleared when the node is back; the rest are set by Morph operations.
          example: running
        state:
          type: string
          enum:
            - running
            - restarting
            - maintenance
            - down
            - degraded
            - unchecked
          description: >-
            The field to act on: `status` corrected by the health probe, as the
            dashboard shows it. `degraded`: reachable with fewer GPUs than it
            has. `down`: the probe cannot reach it. `unchecked`: no probe
            reading in the last 15 minutes.
          example: running
        publicIp:
          type:
            - string
            - 'null'
          description: Address to SSH to.
          example: 203.0.113.21
        privateIp:
          type:
            - string
            - 'null'
          description: Address on the reservation’s own network, when it has one.
          example: 10.20.0.21
        gpus:
          type:
            - integer
            - 'null'
          description: >-
            GPUs the node has. Null when the reservation’s GPUs do not divide
            evenly across its nodes.
          example: 8
        gpusSeen:
          type:
            - integer
            - 'null'
          description: >-
            GPUs the health probe last saw on the node. Null before the first
            check.
          example: 8
        checkedAt:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            ISO 8601 time of the health probe’s last reading. Null before the
            first check.
          example: '2027-01-04T09:20:00.000Z'
        metrics:
          type: boolean
          description: >-
            Whether the node reports utilisation, so the metrics route has data
            for it.
          example: true
      required:
        - name
        - status
        - state
        - publicIp
        - privateIp
        - gpus
        - gpusSeen
        - checkedAt
        - metrics
      description: One node of a reservation.
      example:
        name: node-01
        status: running
        state: running
        publicIp: 203.0.113.21
        privateIp: 10.20.0.21
        gpus: 8
        gpusSeen: 8
        checkedAt: '2027-01-04T09:20:00.000Z'
        metrics: true
    ComputeError:
      type: object
      properties:
        error:
          type: string
          description: Why the request failed and what to change, as one or two sentences.
          example: >-
            Reservation not found. List yours with GET
            /api/v1/compute/reservations.
      required:
        - error
      description: Error body returned by the compute routes.
      example:
        error: >-
          Reservation not found. List yours with GET
          /api/v1/compute/reservations.
  responses:
    ComputeUnauthorized:
      description: Missing or invalid Morph API key on a compute request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ComputeError'
          example:
            error: >-
              Missing or invalid API key. Send "Authorization: Bearer <key>"
              with a key from https://www.morphllm.com/dashboard/api-keys
    ComputeForbidden:
      description: >-
        The account is outside the limited preview, or the key is a personal
        key. A reservation belongs to an organization, so use an organization
        API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ComputeError'
          example:
            error: Compute reservations are not open to this account yet
    ComputeNotFound:
      description: >-
        No reservation with this id belongs to the key’s organization. Another
        organization’s reservation also returns 404, so existence is never
        leaked.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ComputeError'
          example:
            error: >-
              Reservation not found. List yours with GET
              /api/v1/compute/reservations.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: >-
        Morph API key, passed as `Authorization: Bearer sk-...`. Create keys at
        https://www.morphllm.com/dashboard/api-keys.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.