List Bare Metal Flavors
Returns a list of available GPU bare metal hardware configurations, comprising combinations of GPUs, CPUs, RAM, and system disk. These bare metal configurations are referred to as flavors.
HTTP Request
GET
{API_URL}/bare-metal/flavors
Query string parameters
Parameters | Requirements | Type | Description |
---|---|---|---|
region_id | Optional | string | Include a region_id in the query string of the request to return only the flavors available in the specified region_id |
Reponse Attributes
status boolean
Indicates the status of the request to retrieve a list of bare metal flavors. true
signifies success, while false
indicates an error.
message string
A message indicating the success or failure of the request to retrieve flavors.
data array
An array containing information about flavors organized by GPU model and region.
Each flavor specifies the following properties:
- region
string
: The region where the GPU configurations are available. - products
array
: An array containing details about individual flavor hardware configurations.- id
string
: The unique identifier for the flavor. - name
string
: The name of the flavor. - region_name
string
: The region where the GPU flavor is available. - region_id
string
: Unique identifier for the region. - price
number
: Price value for the GPU per hour. - cpu
integer
: The number of CPU cores in the flavor. - disk
integer
: The root disk size of the GPU flavor in gigabytes.storage is a temporary drive that is attached to a bare metal (BM) during its runtime for storage of the active workload. - ram
integer
: The amount of RAM in gigabytes for the flavor. - gpu
string
: The GPU model name for the GPU flavor. - gpu_count
integer
: The number of GPUs included in the GPU flavor. - stock_available
boolean
: Indicates whether the GPU flavor is currently in stock.true
indicates that stock is available. - cycle
string
: New billing cycle, the default ishourly
.
- id
Example
Request
curl -X GET '{API_URL}/bare-metal/flavors' \
-H 'Authorization: Bearer {ACCESS_TOKEN}' \
-H 'refresh-token: {REFRESH_TOKEN}' \
-H 'Content-Type: application/json'
Response
{
"status": true,
"message": "Getting flavors successful",
"data": [
{
"region": "SINGAPORE-1",
"region_id": "65d4586b07f237cca5eeb5b5",
"products": [
{
"id": "6523bd891c8a89630712e423",
"name": "s3-H100x8",
"region_name": "SINGAPORE-1",
"region_id": "65d4586b07f237cca5eeb5b5",
"price": 27.2632,
"cpu": 192,
"disk": 32100,
"ram": 1844,
"gpu": "H100-80G-SXM5",
"gpu_count": 8,
"bandwidth": "",
"cycle": "hourly",
"stock_available": false
}
]
}
]
}