v1

latestOpenAPI 3.1.02026-07-13897404.3 KB
Accounts

show ssh keys

Retrieve a list of SSH keys associated with the authenticated user's account.

CLI Usage: vastai show ssh-keys

get/api/v0/ssh/

Headers

Authorizationstring required

Bearer token for user authentication.

Response

A list of SSH keys.

idinteger

The unique identifier of the SSH key.

user_idinteger

The ID of the user to whom the SSH key belongs.

keystring

The SSH public key.

created_atstring date-time

The timestamp when the SSH key was created.

deleted_atstring date-time nullable

The timestamp when the SSH key was deleted, if applicable.