List reservations
Changed onGet a list of billing reservations along with detailed information on resource configurations and associated pricing.
Request
- Base URLhttps://api.gcore.com
- URLhttps://api.gcore.com/cloud/v2/reservations
- AuthHTTP apikey
Query parameters
Start of the reservation period (ISO 8601). The period must not exceed 31 days. The API returns monthly pricing for this period.
End of the reservation period (ISO 8601). The period must not exceed 31 days. The API returns monthly pricing for this period.
Metric name for the resource (e.g., 'bm1-hf-medium_min')
Order by field and direction.
Region for reservation
Response
OK
Example response
{
"count": 1,
"results": [
{
"active_billing_plan_id": 207114,
"active_overcommit": {
"active_from": "2025-04-03T00:00:00Z",
"plan_item_id": 666,
"price_per_month": "236.63366400",
"price_per_unit": "0.31805600",
"price_total": "2839.60396800",
"subscription_id": 12344
},
"commit": {
"active_from": "2025-04-03T00:00:00Z",
"price_per_month": "224.80198100",
"price_per_unit": "0.30215320",
"price_total": "2697.62377200",
"subscription_id": 12345
},
"hardware_info": {
"cpu": "2xIntel Xeon 8468",
"disk": "8 x 3.84 TB NVMe",
"ram": "2TB RAM"
},
"region_name": "LUX-4",
"resource_count": 1,
"resource_name": "bm1-hf-medium",
"unit_name": "H",
"unit_size_month": "744.00000000",
"unit_size_total": "8928.00000000"
}
]
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- breaking
the
queryrequest parametertime_frombecame required - breaking
the
queryrequest parametertime_tobecame required - warning
deleted the
queryrequest parametershow_inactive
- breaking