Skip to content

List Bare Metal Flavors ​

Retrieve available hardware configurations for GPU-enabled bare metal instances. Each configuration (flavor) represents a specific combination of computational resources including GPUs, CPUs, memory, and storage capacity.

HTTP Request ​

GET {API_URL}/bare-metal/flavors

Query Parameters ​

ParameterRequirementTypeDescription
region_idOptionalstringFilter configurations by specific region availability

Response Structure ​

status boolean ​

Operation result indicator. Returns true for successful execution, false when encountering an error.

message string ​

Descriptive response indicating the outcome of the configuration retrieval request.

data array ​

Collection of available configurations organized by GPU model and geographical region.

Configuration attributes include:

  • region string: Geographical location of hardware availability
  • products array: Detailed hardware configurations containing:
    • id string: Unique configuration identifier
    • name string: Configuration designation
    • region_name string: Deployment region designation
    • region_id string: Region unique identifier
    • price number: Hourly rate for resource utilization
    • cpu integer: Available CPU cores
    • disk integer: Temporary storage capacity in gigabytes (GB)
    • ram integer: Available memory capacity in gigabytes (GB)
    • gpu string: GPU model specification
    • gpu_count integer: Number of GPU units
    • stock_available boolean: Current availability status
    • cycle string: Billing interval (default: hourly)

Implementation Example ​

Request ​

bash
curl -X GET '{API_URL}/bare-metal/flavors' \
-H 'Authorization: Bearer {ACCESS_TOKEN}' \
-H 'refresh-token: {REFRESH_TOKEN}' \
-H 'Content-Type: application/json'

Response ​

json
{
    "status": true,
    "message": "Hardware configurations retrieved successfully",
    "data": [
        {
            "region": "SINGAPORE-1",
            "region_id": "6758f63bd2c19c3dcb532230",
            "products": [
                {
                    "id": "675ba570d59fa5a5df3fd024",
                    "name": "s3-H100x8",
                    "region_name": "SINGAPORE-1",
                    "region_id": "6758f63bd2c19c3dcb532230",
                    "price": 27.2632,
                    "cpu": 192,
                    "disk": 32100,
                    "ram": 1844,
                    "gpu": "H100-80G-SXM5",
                    "gpu_count": 8,
                    "bandwidth": "",
                    "cycle": "hourly",
                    "stock_available": false
                }
            ]
        }
    ]
}