import requests
url = "https://platform.ankra.app/org/clusters/managed/{provider}/options"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://platform.ankra.app/org/clusters/managed/{provider}/options', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/org/clusters/managed/{provider}/options \
--cookie ankra_session={
"capabilities": {
"supports_autopilot": true,
"supports_autoscaling": true,
"supports_ha_control_plane": true,
"supports_maintenance_window": true,
"supports_pool_autohealing": true,
"supports_pool_autohealing_update": true,
"supports_pool_public_ip": true,
"supports_pool_public_ip_update": true,
"supports_pool_root_volume": true,
"supports_pool_root_volume_update": true,
"supports_pool_security_group_update": true,
"supports_pool_security_groups": true,
"supports_pool_upgrade_policy": true,
"supports_pool_upgrade_policy_update": true,
"supports_pool_zone_update": true,
"supports_pool_zones": true,
"supports_private_endpoint": true,
"supports_spot": true,
"supports_stop_start": true,
"supports_retention_policy": true
},
"cluster_plans": [
"<string>"
],
"incomplete": true,
"incomplete_regions": [
"<string>"
],
"locations": [
{
"name": "<string>",
"slug": "<string>",
"provider_reference": "<string>",
"region": "<string>",
"display_name": "<string>",
"country": "<string>",
"position": 123,
"customer_visible": true
}
],
"pricing_unavailable": true,
"private_networks": [
{
"id": "<string>",
"name": "<string>",
"provider_reference": "<string>",
"region": "<string>"
}
],
"root_volume_types": [
"<string>"
],
"security_groups": [
{
"id": "<string>",
"name": "<string>",
"provider_reference": "<string>",
"region": "<string>",
"zone": "<string>"
}
],
"sizes": [
{
"category": "<string>",
"disk_gb": 123,
"gpu_count": 123,
"gpu_model": "<string>",
"is_gpu": true,
"label": "<string>",
"memory_gb": 123,
"price_monthly": 123,
"region": "<string>",
"slug": "<string>",
"vcpus": 123
}
],
"version_options": [
{
"available_cnis": [
"<string>"
],
"is_default": true,
"version": "<string>",
"supported_until": "<string>"
}
],
"versions": [
"<string>"
],
"zones": [
{
"region": "<string>",
"slug": "<string>"
}
],
"dev_cluster": {
"is_available": true,
"all_zones": true,
"zones": [
"<string>"
],
"minimum_memory_mebibytes": 123,
"ipv4_price_monthly": 123,
"production_warning": "<string>"
},
"cluster_plan_options": [
{
"name": "<string>",
"max_nodes": 123
}
],
"control_plane_fee_monthly": 123,
"control_plane_fee_ha_monthly": 123,
"control_plane_fee_by_plan_monthly": {},
"storage_price_monthly_per_gb": {}
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}List managed-provider options (browser session)
Browser session authentication; RBAC permission clusters.read. For Kapsule, provider_cluster_id is the opaque region-qualified regions/{region}/clusters/{id} reference. CNI is immutable. Imported/unknown provenance is disconnect-only; provider deletion is allowed by default only for created clusters.
import requests
url = "https://platform.ankra.app/org/clusters/managed/{provider}/options"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://platform.ankra.app/org/clusters/managed/{provider}/options', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/org/clusters/managed/{provider}/options \
--cookie ankra_session={
"capabilities": {
"supports_autopilot": true,
"supports_autoscaling": true,
"supports_ha_control_plane": true,
"supports_maintenance_window": true,
"supports_pool_autohealing": true,
"supports_pool_autohealing_update": true,
"supports_pool_public_ip": true,
"supports_pool_public_ip_update": true,
"supports_pool_root_volume": true,
"supports_pool_root_volume_update": true,
"supports_pool_security_group_update": true,
"supports_pool_security_groups": true,
"supports_pool_upgrade_policy": true,
"supports_pool_upgrade_policy_update": true,
"supports_pool_zone_update": true,
"supports_pool_zones": true,
"supports_private_endpoint": true,
"supports_spot": true,
"supports_stop_start": true,
"supports_retention_policy": true
},
"cluster_plans": [
"<string>"
],
"incomplete": true,
"incomplete_regions": [
"<string>"
],
"locations": [
{
"name": "<string>",
"slug": "<string>",
"provider_reference": "<string>",
"region": "<string>",
"display_name": "<string>",
"country": "<string>",
"position": 123,
"customer_visible": true
}
],
"pricing_unavailable": true,
"private_networks": [
{
"id": "<string>",
"name": "<string>",
"provider_reference": "<string>",
"region": "<string>"
}
],
"root_volume_types": [
"<string>"
],
"security_groups": [
{
"id": "<string>",
"name": "<string>",
"provider_reference": "<string>",
"region": "<string>",
"zone": "<string>"
}
],
"sizes": [
{
"category": "<string>",
"disk_gb": 123,
"gpu_count": 123,
"gpu_model": "<string>",
"is_gpu": true,
"label": "<string>",
"memory_gb": 123,
"price_monthly": 123,
"region": "<string>",
"slug": "<string>",
"vcpus": 123
}
],
"version_options": [
{
"available_cnis": [
"<string>"
],
"is_default": true,
"version": "<string>",
"supported_until": "<string>"
}
],
"versions": [
"<string>"
],
"zones": [
{
"region": "<string>",
"slug": "<string>"
}
],
"dev_cluster": {
"is_available": true,
"all_zones": true,
"zones": [
"<string>"
],
"minimum_memory_mebibytes": 123,
"ipv4_price_monthly": 123,
"production_warning": "<string>"
},
"cluster_plan_options": [
{
"name": "<string>",
"max_nodes": 123
}
],
"control_plane_fee_monthly": 123,
"control_plane_fee_ha_monthly": 123,
"control_plane_fee_by_plan_monthly": {},
"storage_price_monthly_per_gb": {}
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}Authorizations
Browser session. Mutations also require X-Ankra-CSRF.
Path Parameters
doks, uks, gke, ovh_mks, aks, eks, kapsule, ankracloud_k8s "kapsule"
Query Parameters
Required, except for ankracloud_k8s when the built-in Ankra Cloud credential is configured: omitted, the organisation's built-in credential is ensured and used.
Scope the catalog to a provider region (EKS: VPCs, instance types, pricing). Empty keeps the credential's region.
Response
Successful response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Where the provider offers single-server dev clusters (Ankra Cloud only; absent for every other provider). A dev cluster has no control-plane fee.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes