Get pool instance types
Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count.
Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count.
Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned.
Use this endpoint to choose the pool_instance_id for a new GPU instance.
Authorizations
AuthorizationstringRequired
API Token authentication
Path parameters
poolIdintegerRequiredExample:
GPU pool ID
12Responses
200
Success response
application/json
Array of GPU.V1.Pool.PoolInstanceResource
idintegerOptionalExample:
GPU pool instance type ID
232namestringOptionalExample:
smalldescriptionstring · nullableOptionalExample:
Instance descriptioncpu_coresintegerOptionalExample:
Number of CPU cores
16ramintegerOptionalExample:
Total RAM in bytes
137438953472storageintegerOptionalExample:
Total storage in bytes
549755813888price_per_hourintegerOptionalExample:
Hourly price in cents (USD)
35401
Unauthenticated response
application/json
500
Error response
application/json
get/api/gpu/v1/pools/{poolId}/instances
GET /api/gpu/v1/pools/{poolId}/instances HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 232,
"name": "small",
"description": "Instance description",
"cpu_cores": 16,
"ram": 137438953472,
"storage": 549755813888,
"price_per_hour": 35
}
]Last updated
Was this helpful?