GET
/
api
/
v0
/
machines
/
show machines
curl --request GET \
  --url https://console.vast.ai/api/v0/machines/ \
  --header 'Authorization: Bearer <token>'
{
  "machines": [
    {
      "id": "<string>",
      "name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

user_id
string
required

The ID of the user whose machines are being requested.

Response

A list of machines

machines
object[]