---
title: "SSH connection status"
method: GET
path: "/api/v1/machines/{id}/ssh/status"
tags: ["Machines"]
---

# SSH connection status

`GET /api/v1/machines/{id}/ssh/status`

SSH connection status.

Auth: Required (bearer token).
Scope: Organization-scoped in authenticated context.
Side effects: Read-only operation.

## Path parameters

- `id` string, required

## Headers

- `Accept` string

## Response `200`

OK

- SSHStatusResponse — SSHStatusResponse schema
  - `is_active` boolean
  - `last_used_at` string, nullable

## Other responses

- `400` — Bad Request _(validation or deserialization error)_
- `500` — Internal Server Error _(panics)_
- `default`

## Changes

- **2026-04-26** `09f18af670c4` — 3 info
  - api tag `Machines` added
  - api tag `api/v1/machines` removed
  - api tag `{id}` removed
- **2026-04-06** `6d5e3b7979d1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/nixopus/apis/openapi/changes/api/v1/machines/:id/ssh/status/get.md)

---

[API](https://skmtc.dev/nixopus/apis/openapi.md) · [All operations](https://skmtc.dev/nixopus/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nixopus/openapi/revisions/c5bacaea7239/schema)
