Skip to main content
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,
  "key_id": 123,
  "email": "<string>",
  "balance": 123,
  "ssh_key": "<string>",
  "sid": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://vastai-80aa3a82-fix-stale-links.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Response

Success response with user information

id
integer

The unique identifier of the user.

key_id
integer

The API key ID associated with the user.

email
string

The email address of the user.

balance
number<float>

The current balance of the user.

ssh_key
string

The SSH key associated with the user.

sid
string

Server ID.