GET
/
cloud
/
v1
/
k8s
/
{project_id}
/
{region_id}
/
flavors
curl --request GET \
  --url https://api.gcore.com/cloud/v1/k8s/{project_id}/{region_id}/flavors \
  --header 'APIKey: <api-key>'
{
  "count": 1,
  "results": [
    {
      "architecture": "x86_64",
      "capacity": 1,
      "currency_code": "USD",
      "disabled": false,
      "flavor_id": "g2-standard-32-64",
      "flavor_name": "g2-standard-32-64",
      "hardware_description": {},
      "os_type": "linux",
      "price_per_hour": 1,
      "price_per_month": 720,
      "price_status": "show",
      "ram": 2048,
      "reserved_in_stock": 1,
      "resource_class": "bm1-ai-small",
      "vcpus": 1
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

project_id
integer
required

Project ID

region_id
integer
required

Region ID

Query Parameters

exclude_gpu
boolean

Set to false to include gpu flavors. Defaults True

include_prices
boolean

Set to true if the response should include flavor prices

Response

200 - application/json

List of flavors

The response is of type object.