Vast.ai API
Instances

show ssh-keys

1min
GET
https://console.vast.ai/api/v0/instances/{instance_id}/ssh/
Production server
Retrieves the SSH keys associated with a specific instance.
Authentication
BearerAuth
Path Parameters
instance_id
*
Responses
200
Success response with SSH keys
success
ssh_keys
400
Bad Request - Invalid instance ID
success
error
msg
401
Unauthorized - Invalid or missing authentication
success
error
msg
404
Instance not found
success
error
msg