Skip to main content
GET
/
v1
/
projects
/
{projectId}
/
clusters
List clusters
curl --request GET \
  --url https://rest.compute.cudo.org/v1/projects/{projectId}/clusters \
  --header 'Authorization: <api-key>'
{
  "clusters": [
    {
      "architecture": "<string>",
      "commitmentEndTime": "2023-11-07T05:31:56Z",
      "commitmentTerm": "COMMITMENT_TERM_NONE",
      "cpuModel": "<string>",
      "cpuSpeedMhz": 123,
      "createBy": "<string>",
      "createTime": "2023-11-07T05:31:56Z",
      "customSshKeys": [
        "<string>"
      ],
      "dataCenterId": "<string>",
      "gpuModelId": "<string>",
      "id": "<string>",
      "machineCount": 123,
      "machinePriceHr": {
        "value": "<string>"
      },
      "machineTypeId": "<string>",
      "machines": [
        {
          "architecture": "<string>",
          "cpuCores": 123,
          "cpuModel": "<string>",
          "cpuSpeedMhz": 123,
          "createBy": "<string>",
          "createTime": "2023-11-07T05:31:56Z",
          "dataCenterId": "<string>",
          "diskSizeGib": 123,
          "disks": 123,
          "externalIpAddress": "<string>",
          "gpuModelId": "<string>",
          "gpus": 123,
          "id": "<string>",
          "internalIpAddress": "<string>",
          "machineTypeId": "<string>",
          "memoryGib": 123,
          "powerState": "MACHINE_POWER_STATE_UNSPECIFIED",
          "priceHr": {
            "value": "<string>"
          },
          "projectId": "<string>",
          "state": "STATE_UNSPECIFIED",
          "volumeIds": [
            "<string>"
          ]
        }
      ],
      "networkType": "NETWORK_TYPE_UNSPECIFIED",
      "projectId": "<string>",
      "sshKeySource": "SSH_KEY_SOURCE_UNKNOWN",
      "startScript": "<string>",
      "state": "STATE_UNSPECIFIED",
      "totalCpuCores": 123,
      "totalDiskSizeGib": 123,
      "totalGpus": 123,
      "totalMachinePriceHr": {
        "value": "<string>"
      },
      "totalMemoryGib": 123,
      "totalPriceHr": {
        "value": "<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
clusters
object[]