Authorizations
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
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
}Lists clusters within a project.
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
}Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
Was this page helpful?