Flavor List of Selected Flavor Types
This API is used to get a list of instance sizes based on selected plan type
get
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Path parameters
flavor_type_idstringRequired
Flavor Type ID
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200messagestringOptionalExample:
Success403
Forbidden
application/json
get/core/virtual-machine/flavor/{flavor_type_id}
GET /core/virtual-machine/flavor/{flavor_type_id} HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Accept: */*
{
"code": 200,
"data": [
{
"OS-FLV-EXT-DATA:ephemeral": 1,
"created_at": "text",
"deleted_at": "text",
"description": "text",
"flavor_type": {
"created_at": "text",
"deleted_at": "text",
"description": "text",
"id": "text",
"name": "text",
"status": true,
"updated_at": "text"
},
"flavor_type_id": "text",
"gpu": 1,
"id": "text",
"is_default": true,
"name": "text",
"ram": 1,
"region_id": "text",
"root_disk": 1,
"status": true,
"updated_at": "text",
"usage_limit": 1,
"vcpu": 1
}
],
"message": "Success"
}Last updated