v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
SSH Keys

Get keypair

get/cloud/v2/keypairs/{keypair_id}

Path parameters

keypair_idstring required

Keypair ID

Example:36a7a97a-0672-4911-8f2b-92cd4e5b0d91

Keypair ID

Response

OK

created_atstring date-time nullable

Keypair creation datetime

fingerprintstring nullable

Key fingerprint

idstring required

Key ID, equal to sshkey_name

namestring required

Keypair name

private_keystring nullable

Private part of the key

project_idinteger nullable

Project ID

public_keystring required

Public part of the key. To generate public and private keys in the platform, do not specify the parameter in the request body.

shared_in_projectboolean required

Keypair is shared for all users in the project

state'ACTIVE' | 'DELETING' required

Example response

{
  "fingerprint": "86:75:ce:e7:e9:1e:f0:79:ec:6f:d8:92:9b:43:fc:4d",
  "id": "36a7a97a-0672-4911-8f2b-92cd4e5b0d91",
  "name": "alice",
  "private_key": "<private_key>",
  "project_id": 1,
  "public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFHrnwGVBZs6q6vmTBzQFfzdRLQW8N6Rd0ogGe3h8tm83ZJLTTsF+1H4JcOvwI5ETkHMaFIWd2U15nHU5M7plE6UPRKfzy4rq6yI6cE4tojd3A9attMpbEEX7EbGKrbrb4AsjzxHKAVaREAb31ZplJkUlsiees25hTQXBcWQnOESlc9RCxZ/QQgNUUgqm7QGg7CNkL8Mpq9V4YaOhcFGWj0jXP1CL3g6Xe3xJo1CmUbkIOGUyAmrSfLEiy2O91iOUhbmYQyXksznNrT9O6uLkijf6syLZOdyAuUd/Z86eYXej4/YsvIA5eIFU4B6y9zOXEO2A81txPYMRAytYt7+e7 alice@alice",
  "shared_in_project": true
}