Skip to main content
GET
/
v1
/
resources
/
search
Search accessible resources
curl --request GET \
  --url https://rest.compute.cudo.org/v1/resources/search \
  --header 'Authorization: <api-key>'
{
  "results": [
    {
      "billingAccount": {
        "createTime": "2023-11-07T05:31:56Z",
        "displayName": "<string>",
        "id": "<string>"
      },
      "cluster": {
        "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>"
        }
      },
      "disk": {
        "createTime": "2023-11-07T05:31:56Z",
        "dataCenterId": "<string>",
        "diskState": "UNKNOWN",
        "diskType": "DISK_TYPE_UNKNOWN",
        "id": "<string>",
        "privateImageId": "<string>",
        "projectId": "<string>",
        "publicImageId": "<string>",
        "sizeGib": 123,
        "vmId": "<string>"
      },
      "image": {
        "createTime": "2023-11-07T05:31:56Z",
        "dataCenterId": "<string>",
        "id": "<string>",
        "projectId": "<string>",
        "sizeGib": 123
      },
      "machine": {
        "architecture": "<string>",
        "cpuCores": 123,
        "cpuModel": "<string>",
        "cpuSpeedMhz": 123,
        "createTime": "2023-11-07T05:31:56Z",
        "dataCenterId": "<string>",
        "diskSizeGib": 123,
        "disks": 123,
        "externalIpAddresses": [
          "<string>"
        ],
        "gpuModelId": "<string>",
        "gpus": 123,
        "id": "<string>",
        "ipv4Addresses": 123,
        "machineTypeId": "<string>",
        "memoryGib": 123,
        "os": "<string>",
        "powerState": "MACHINE_POWER_STATE_UNSPECIFIED",
        "projectId": "<string>",
        "state": "STATE_UNSPECIFIED"
      },
      "network": {
        "createTime": "2023-11-07T05:31:56Z",
        "dataCenterId": "<string>",
        "externalIpAddress": "<string>",
        "gateway": "<string>",
        "id": "<string>",
        "internalIpAddress": "<string>",
        "ipRange": "<string>",
        "priceHr": {
          "value": "<string>"
        },
        "projectId": "<string>",
        "state": "STATE_UNKNOWN",
        "vmState": "CLONING"
      },
      "project": {
        "billingAccountId": "<string>",
        "createBy": "<string>",
        "id": "<string>",
        "resourceCount": 123
      },
      "resourceName": "<string>",
      "resourceType": "<string>",
      "score": 123,
      "virtualMachine": {
        "bootDiskPrivateImageId": "<string>",
        "bootDiskPublicImageId": "<string>",
        "bootDiskSizeGib": 123,
        "createTime": "2023-11-07T05:31:56Z",
        "dataCenterId": "<string>",
        "gpuModelId": "<string>",
        "gpus": 123,
        "id": "<string>",
        "memoryGib": 123,
        "projectId": "<string>",
        "state": "CLONING",
        "vcpus": 123
      },
      "volume": {
        "commitmentEndTime": "2023-11-07T05:31:56Z",
        "commitmentTerm": "COMMITMENT_TERM_NONE",
        "dataCenterId": "<string>",
        "gibPriceHr": {
          "value": "<string>"
        },
        "id": "<string>",
        "nfsPath": "<string>",
        "nfsServer": "<string>",
        "projectId": "<string>",
        "sizeGib": 123,
        "sizeGibUsed": 123,
        "state": "VOLUME_STATE_UNSPECIFIED",
        "totalPriceHr": {
          "value": "<string>"
        }
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

query
string
required

Response

A successful response.

results
object[]