Vast.ai API
Accounts

show user

1min
GET
https://console.vast.ai/api/v0/users/current/
Production server

Retrieve information about the current authenticated user, excluding the API key.

CLI Usage: vastai show user

Authentication
BearerAuth
Responses
200
Success response with user information
id
email
balance
ssh_key
sid
401
Unauthorized access due to invalid or missing authentication token.
success
error
msg
500
Internal Server Error
success
error
msg