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

# List Compute SSH Keys

> List the SSH keys on a reservation at /api/v1/compute/reservations/{id}/ssh-keys

## Overview

Lists the SSH public keys on a reservation; the read behind `morph compute keys list`. A key is `applying` until it is on every node, then `active`.


## OpenAPI

````yaml GET /api/v1/compute/reservations/{id}/ssh-keys
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}/ssh-keys:
    get:
      tags:
        - compute
      summary: List SSH keys on a reservation
      description: >-
        The SSH public keys on the reservation’s nodes, with whether each is
        applied yet.
      operationId: listComputeSshKeys
      parameters:
        - schema:
            type: string
            format: uuid
            description: Id of the reservation whose keys to list.
            example: b81f2c40-7d9e-4a35-9c16-3f5a8e0d2b74
          required: true
          description: Identifies the reservation to list keys for.
          name: id
          in: path
      responses:
        '200':
          description: The keys.
          content:
            application/json:
              example:
                sshKeys:
                  - id: e47a9d13-2c58-4b06-8f31-6a0d5c9e7b28
                    name: laptop
                    fingerprint: SHA256:Qm3nVx0aT7cJ1yKd5uE8rLw2bH6sZf9oP4gNiC0tXeA
                    publicKey: >-
                      ssh-ed25519
                      AAAAC3NzaC1lZDI1NTE5AAAAIHk0m2pQd6v1ZxW3c8rT5uYbN7aLfJ9sKqE4oVgXhC2D
                      you@laptop
                    state: active
                    error: null
                    createdAt: '2027-01-04T09:14:00.000Z'
              schema:
                $ref: '#/components/schemas/ComputeSshKeyList'
        '401':
          $ref: '#/components/responses/ComputeUnauthorized'
        '403':
          $ref: '#/components/responses/ComputeForbidden'
        '404':
          $ref: '#/components/responses/ComputeNotFound'
      security:
        - bearerAuth: []
components:
  schemas:
    ComputeSshKeyList:
      type: object
      properties:
        sshKeys:
          type: array
          items:
            $ref: '#/components/schemas/ComputeSshKey'
          description: >-
            The reservation’s keys, oldest first, including ones still being
            removed.
          example:
            - id: e47a9d13-2c58-4b06-8f31-6a0d5c9e7b28
              name: laptop
              fingerprint: SHA256:Qm3nVx0aT7cJ1yKd5uE8rLw2bH6sZf9oP4gNiC0tXeA
              publicKey: >-
                ssh-ed25519
                AAAAC3NzaC1lZDI1NTE5AAAAIHk0m2pQd6v1ZxW3c8rT5uYbN7aLfJ9sKqE4oVgXhC2D
                you@laptop
              state: active
              error: null
              createdAt: '2027-01-04T09:14:00.000Z'
      required:
        - sshKeys
      description: SSH keys on a reservation.
      example:
        sshKeys:
          - id: e47a9d13-2c58-4b06-8f31-6a0d5c9e7b28
            name: laptop
            fingerprint: SHA256:Qm3nVx0aT7cJ1yKd5uE8rLw2bH6sZf9oP4gNiC0tXeA
            publicKey: >-
              ssh-ed25519
              AAAAC3NzaC1lZDI1NTE5AAAAIHk0m2pQd6v1ZxW3c8rT5uYbN7aLfJ9sKqE4oVgXhC2D
              you@laptop
            state: active
            error: null
            createdAt: '2027-01-04T09:14:00.000Z'
    ComputeSshKey:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Key id. Pass it to the remove route.
          example: e47a9d13-2c58-4b06-8f31-6a0d5c9e7b28
        name:
          type: string
          description: The name given when the key was added.
          example: laptop
        fingerprint:
          type: string
          description: SHA-256 fingerprint of the key.
          example: SHA256:Qm3nVx0aT7cJ1yKd5uE8rLw2bH6sZf9oP4gNiC0tXeA
        publicKey:
          type: string
          description: The public key as stored.
          example: >-
            ssh-ed25519
            AAAAC3NzaC1lZDI1NTE5AAAAIHk0m2pQd6v1ZxW3c8rT5uYbN7aLfJ9sKqE4oVgXhC2D
            you@laptop
        state:
          type: string
          enum:
            - applying
            - active
            - removing
          description: >-
            `applying` until the key is on every node, then `active`. `removing`
            until it is off every node, then it leaves the list.
          example: active
        error:
          type:
            - string
            - 'null'
          description: Why the key could not be applied or removed yet, else null.
          example: null
        createdAt:
          type: string
          format: date-time
          description: ISO 8601 time the key was added.
          example: '2027-01-04T09:14:00.000Z'
      required:
        - id
        - name
        - fingerprint
        - publicKey
        - state
        - error
        - createdAt
      description: One SSH key on a reservation.
      example:
        id: e47a9d13-2c58-4b06-8f31-6a0d5c9e7b28
        name: laptop
        fingerprint: SHA256:Qm3nVx0aT7cJ1yKd5uE8rLw2bH6sZf9oP4gNiC0tXeA
        publicKey: >-
          ssh-ed25519
          AAAAC3NzaC1lZDI1NTE5AAAAIHk0m2pQd6v1ZxW3c8rT5uYbN7aLfJ9sKqE4oVgXhC2D
          you@laptop
        state: active
        error: null
        createdAt: '2027-01-04T09:14:00.000Z'
    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.