List UpCloud server plans
import requests
url = "https://platform.ankra.app/api/v1/clusters/upcloud/plans"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/clusters/upcloud/plans', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/clusters/upcloud/plans \
--header 'Authorization: Bearer <token>'[
{
"name": "<string>",
"family": "<string>",
"vcpus": 123,
"memory_gb": 123,
"storage_gb": 123,
"current_offering": true,
"is_gpu": true,
"price_monthly": 123,
"gpu_count": 123,
"gpu_model": "<string>"
}
]{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}UpCloud Clusters
List UpCloud server plans
Lists every UpCloud server plan, GPU plans and discontinued plans included (current_offering says which may still be ordered), each with its monthly EUR list price in zone (or UpCloud’s first zone when none is given). UpCloud publishes no per-zone plan availability, so the whole catalogue is returned. A credential of another organisation or provider answers 404.
GET
/
api
/
v1
/
clusters
/
upcloud
/
plans
List UpCloud server plans
import requests
url = "https://platform.ankra.app/api/v1/clusters/upcloud/plans"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/clusters/upcloud/plans', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/clusters/upcloud/plans \
--header 'Authorization: Bearer <token>'[
{
"name": "<string>",
"family": "<string>",
"vcpus": 123,
"memory_gb": 123,
"storage_gb": 123,
"current_offering": true,
"is_gpu": true,
"price_monthly": 123,
"gpu_count": 123,
"gpu_model": "<string>"
}
]{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The UpCloud credential whose account is read.
The zone whose prices are joined, e.g. fi-hel2.
Response
The plans
False for a discontinued plan UpCloud still lists so existing servers stay describable.
Monthly EUR list price in the requested zone; null when unknown, never free.