cURL
curl --request GET \ --url https://rest.compute.cudo.org/v1/projects/{projectId}/machines \ --header 'Authorization: <api-key>'
{ "pageNumber": 123, "pageSize": 123, "totalCount": 123, "machines": [ { "dataCenterId": "<string>", "id": "<string>", "machineTypeId": "<string>", "os": "<string>", "projectId": "<string>", "architecture": "<string>", "commitmentTerm": "COMMITMENT_TERM_NONE", "cpuCores": 123, "cpuModel": "<string>", "cpuSpeedMhz": 123, "createBy": "<string>", "createTime": "2023-11-07T05:31:56Z", "customSshKeys": [ "<string>" ], "diskSizeGib": 123, "disks": 123, "externalIpAddresses": [ "<string>" ], "gpuModelId": "<string>", "gpus": 123, "hostname": "<string>", "memoryGib": 123, "powerState": "MACHINE_POWER_STATE_UNSPECIFIED", "priceHr": { "value": "<string>" }, "sshKeySource": "SSH_KEY_SOURCE_UNKNOWN", "startScript": "<string>", "state": "STATE_UNSPECIFIED", "userData": "<string>" } ] }
Lists bare-metal machines within a project.
API key authentication. API keys should be passed using the format Bearer API_KEY.
Bearer API_KEY
A successful response.
Show child attributes