Vast.ai API
Instances
show ssh-keys
1min
GET
https://console.vast.ai/api/v0/instances/{instance_id}/ssh/
Production server
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
Updated 06 Mar 2025
Did this page help you?