---
title: "SSH keys attached to a VM + the org's keys"
method: GET
path: "/v1/vms/{id}/ssh-keys"
tags: ["VMs"]
---

# SSH keys attached to a VM + the org's keys

`GET /v1/vms/{id}/ssh-keys`

## Path parameters

- `id` string, required

## Response `200`

OK

- VmSshKeyItem[]
  - `attached` boolean, required
  - `crossOrg` boolean, required
  - `fingerprint` string, required
  - `id` string, required
  - `name` string, required
  - `orgName` string, nullable

## Other responses

- `401` — Missing or invalid API key
- `403` — API key lacks the required scope
- `404` — Resource not found

---

[API](https://skmtc.net/openrelay/apis/openrelay-api.md) · [All operations](https://skmtc.net/openrelay/apis/openrelay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openrelay/openrelay-api/versions/4c42fd61ed41/schema)
