Skip to main content
GET
/
v1
/
machines-types
List machine types
curl --request GET \
  --url https://rest.compute.cudo.org/v1/machines-types \
  --header 'Authorization: <api-key>'
{
  "machineTypes": [
    {
      "architecture": "<string>",
      "cpuCores": 123,
      "cpuModel": "<string>",
      "cpuSpeedMhz": 123,
      "dataCenterId": "<string>",
      "diskSizeGib": 123,
      "disks": 123,
      "gpuModelId": "<string>",
      "gpus": 123,
      "id": "<string>",
      "machinesFree": 123,
      "memoryGib": 123,
      "networkType": "NETWORK_TYPE_UNSPECIFIED",
      "prices": [
        {
          "commitmentTerm": "COMMITMENT_TERM_NONE",
          "dataCenterId": "<string>",
          "ipv4PriceHr": {
            "value": "<string>"
          },
          "machineTypeId": "<string>",
          "priceHr": {
            "value": "<string>"
          }
        }
      ]
    }
  ],
  "pageNumber": 123,
  "pageSize": 123,
  "totalCount": 123
}

Authorizations

Authorization
string
header
required

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

Query Parameters

pageNumber
integer
pageSize
integer
projectId
string

Return custom prices for a specific project.

Response

A successful response.

pageNumber
integer
required
pageSize
integer
required
totalCount
integer
required
machineTypes
object[]