---
title: "Servers added over SSH, newest first, a page at a time. Items leave out the log; `GET /nodes/ssh/enrollments/{enrollment_id}` has it."
method: GET
path: "/nodes/ssh/enrollments"
tags: ["Nodes"]
---

# Servers added over SSH, newest first, a page at a time. Items leave out the log; \`GET /nodes/ssh/enrollments/{enrollment_id}\` has it.

`GET /nodes/ssh/enrollments`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/nodes/ssh/enrollments`
- Auth: HTTP bearer

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

SSH enrollments

- NodeSshEnrollmentListResponse: A page of servers added over SSH, newest first.
  - `enrollments` NodeSshEnrollmentSummary[], required
    - `agent_mode` string, nullable: `service` or `detached`.
    - `auth_method` string, required: `password`, `private_key` or `agent`.
    - `created_at` string, required
    - `error` string, nullable: Why it failed, and what to do.
    - `finished_at` string, nullable
    - `host` string, required
    - `host_key_fingerprint` string, required
    - `id` integer, required
    - `name` string, required
    - `node_id` integer, nullable
    - `pairing_id` integer, nullable: The pairing it runs on the server.
    - `ssh_address` string, required
    - `ssh_user` string, required
    - `status` string, required: `running`, `succeeded` or `failed`.
    - `step` string, required: What it is doing, or was doing when it stopped.
  - `page` integer, required
  - `per_page` integer, required
  - `total` integer, required: Enrollments on every page.

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `500`: Internal server error

## Changes

- **2026-10-05** `4b228ebed583`: 1 info
  - endpoint added
- **2026-10-05** `63a80791dc58`: 1 breaking
  - api path removed without deprecation
- **2026-10-04** `0af240880dca`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/nodes/ssh/enrollments/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
