Skip to main content
GET
/
api
/
v1
/
machines
List Machines
curl --request GET \
  --url https://api.example.com/api/v1/machines \
  --header 'Authorization: Bearer <token>'
{
  "machines": [
    {
      "id": "<string>",
      "name": "<string>",
      "status": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "hostname": "<string>",
      "platform": "<string>",
      "architecture": "<string>",
      "daemon_version": "<string>",
      "last_seen_at": "2023-11-07T05:31:56Z",
      "metadata": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

Successful Response

Response containing all machines for the authenticated user.

machines
MachineDescriptor · object[]
required

List of machines ordered by most recently updated