---
title: "One server being added over SSH, with its progress and log."
method: GET
path: "/nodes/ssh/enrollments/{enrollment_id}"
tags: ["Nodes"]
---

# One server being added over SSH, with its progress and log.

`GET /nodes/ssh/enrollments/{enrollment_id}`

## 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/{enrollment_id}`
- Auth: HTTP bearer

## Path parameters

- `enrollment_id` integer, required

## Response `200`

The enrollment

- NodeSshEnrollmentResponse: An "add server over SSH" as the Worker Nodes page shows it.
  - `agent_mode` string, nullable: `service` (systemd unit) or `detached` (started without a service manager: it does not come back after a reboot).
  - `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
  - `log` string, required: What it did, with the server's output (its last 64 KiB).
  - `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.

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: No such enrollment
- `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/:enrollment_id/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)
