GET
/
cloud
/
v2
/
inference
/
flavors
/
{flavor_id}
Get inference instance flavor Details
curl --request GET \
  --url https://api.gcore.com/cloud/v2/inference/flavors/{flavor_id} \
  --header 'Authorization: <api-key>'
{
  "cpu": 1000,
  "description": "My first flavor",
  "gpu_count": 1,
  "gpu_memory": 1024,
  "gpu_model": "L40s",
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "name": "flavor1",
  "ram": 2048
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

flavor_id
string
required

Flavor ID

Response

Flavor details

cpu
integer
required

Number of CPU millicores.

Examples:

1000

description
string
required

Description of the flavor.

Examples:

"My first flavor"

id
string<uuid>
required

Flavor ID.

Examples:

"3fa85f64-5717-4562-b3fc-2c963f66afa6"

name
string
required

Name of the flavor.

Examples:

"flavor1"

ram
integer
required

Amount of RAM in MiB.

Examples:

2048

gpu_count
integer
default:0

Number of GPUs.

Examples:

1

gpu_memory
integer
default:0

GPU memory in MiB.

Examples:

1024

gpu_model
string
default:""

Model of the GPU.

Examples:

"L40s"