API Documentation

List SSH Keys

Returns all SSH keys deployed on a VPS, including key IDs, display names, creation dates, and public keys.

Required scope: vps:read

Path Parameters

Parameter Type Description
id string The VPS ID

Headers

Header Required Value
Authorization Yes Bearer YOUR_API_KEY

Response

{
  "data": [
    {
      "keyId": "abc123",
      "displayName": "my-key",
      "createDate": "2026-04-10T12:00:00Z",
      "publicKey": "ssh-ed25519 AAAAC3NzaC1..."
    }
  ]
}

Response Fields

Field Type Description
keyId string Unique identifier for the key
displayName string Display name given to the key
createDate string ISO 8601 creation timestamp
publicKey string The public key in OpenSSH format

Errors

Status Code Description
404 NOT_FOUND VPS not found or no access

Example

curl "https://hosting.site.quest/api/v1/vps/699cdea2ab57a244bb5273fd/ssh/keys" \
  -H "Authorization: Bearer YOUR_API_KEY"

MCP

This data is also available via the list_ssh_keys MCP tool.