---
title: "List Ssh Keys"
method: GET
path: "/ssh-keys"
---

# List Ssh Keys

`GET /ssh-keys`

## Request

- Base URL: `https://api.xhostd.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xhostd.com/ssh-keys`
- Auth: none declared

List the caller's own SSH keys, newest first.

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- SshKeyListResponse
  - `ssh_keys` SshKeyInfo[], required
    - `id` string, uuid, required
    - `label` string, nullable, required
    - `algo` string, required
    - `fingerprint` string, required
    - `created_at` string, date-time, required
    - `last_used_at` string, date-time, nullable, required
    - `api_login` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xhostd/apis/xhostd-public.md) · [All operations](https://skmtc.dev/xhostd/apis/xhostd-public/llms.txt) · [OpenAPI document](https://skmtc.dev/xhostd/apis/xhostd-public/revisions/bf439c4d1789?raw)
