GET
/
api
/
v0
/
users
/
current
/
show user
curl --request GET \
  --url https://console.vast.ai/api/v0/users/current/ \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "email": "<string>",
  "balance": 123,
  "ssh_key": "<string>",
  "sid": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Success response with user information

id
integer

The unique identifier of the user.

email
string

The email address of the user.

balance
number

The current balance of the user.

ssh_key
string

The SSH key associated with the user.

sid
string

Server ID.