GET
/
v1
/
machines
List Machines
curl --request GET \
  --url https://api.cyberdesk.io/v1/machines \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "name": "<string>",
      "fingerprint": "<string>",
      "version": "<string>",
      "hostname": "<string>",
      "os_info": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "organization_id": "<string>",
      "unkey_key_id": "<string>",
      "status": "connected",
      "is_available": true,
      "created_at": "2023-11-07T05:31:56Z",
      "last_seen": "2023-11-07T05:31:56Z",
      "pools": [
        {
          "name": "<string>",
          "description": "<string>",
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "organization_id": "<string>",
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "machine_count": 123
        }
      ]
    }
  ],
  "total": 123,
  "skip": 123,
  "limit": 123
}

Authorizations

Authorization
string
header
required

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

Query Parameters

status
enum<string> | null

Filter by machine status

Available options:
connected,
disconnected,
error
created_at_from
string<date-time> | null

Filter machines created at or after this ISO timestamp (UTC)

created_at_to
string<date-time> | null

Filter machines created at or before this ISO timestamp (UTC)

skip
integer
default:0
Required range: x >= 0
limit
integer
default:100
Required range: 1 <= x <= 1000

Response

200
application/json

Successful Response

The response is of type object.