cURL
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 }
Lists bare-metal machines within a project.
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
A successful response.
Show child attributes
Was this page helpful?