Skip to main content
GET
/
v1
/
projects
/
{projectId}
/
machines
List machines
curl --request GET \
  --url https://rest.compute.cudo.org/v1/projects/{projectId}/machines \
  --header 'Authorization: <api-key>'
{
  "machines": [
    {
      "architecture": "<string>",
      "commitmentTerm": "COMMITMENT_TERM_NONE",
      "cpuCores": 123,
      "cpuModel": "<string>",
      "cpuSpeedMhz": 123,
      "createBy": "<string>",
      "createTime": "2023-11-07T05:31:56Z",
      "customSshKeys": [
        "<string>"
      ],
      "dataCenterId": "<string>",
      "diskSizeGib": 123,
      "disks": 123,
      "externalIpAddresses": [
        "<string>"
      ],
      "gpuModelId": "<string>",
      "gpus": 123,
      "hostname": "<string>",
      "id": "<string>",
      "machineTypeId": "<string>",
      "memoryGib": 123,
      "os": "<string>",
      "powerState": "MACHINE_POWER_STATE_UNSPECIFIED",
      "priceHr": {
        "value": "<string>"
      },
      "projectId": "<string>",
      "sshKeySource": "SSH_KEY_SOURCE_UNKNOWN",
      "startScript": "<string>",
      "state": "STATE_UNSPECIFIED",
      "userData": "<string>"
    }
  ],
  "pageNumber": 123,
  "pageSize": 123,
  "totalCount": 123
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Path Parameters

projectId
string
required

Query Parameters

pageNumber
integer
pageSize
integer

Response

A successful response.

pageNumber
integer
required
pageSize
integer
required
totalCount
integer
required
machines
object[]