List live cluster UpCloud plans
import requests
url = "https://platform.ankra.app/api/v1/clusters/upcloud/{cluster_id}/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/{cluster_id}/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/{cluster_id}/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 live cluster UpCloud plans
The UpCloud plan catalogue for a running cluster, under the credential it was created with and priced in the zone its resources run in, for the day-2 node-group pickers. A cluster of another organisation or one with no resolvable UpCloud credential answers 404.
GET
/
api
/
v1
/
clusters
/
upcloud
/
{cluster_id}
/
plans
List live cluster UpCloud plans
import requests
url = "https://platform.ankra.app/api/v1/clusters/upcloud/{cluster_id}/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/{cluster_id}/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/{cluster_id}/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.
Path Parameters
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.