Get AWS cluster quotas
import requests
url = "https://platform.ankra.app/org/clusters/aws/{cluster_id}/quotas"
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/aws/{cluster_id}/quotas', 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/aws/{cluster_id}/quotas \
--cookie ankra_session={}{
"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"
}AWS Clusters
Get AWS cluster quotas
Browser session authentication; RBAC permission clusters.read. Quota reporting is not implemented for self-managed AWS clusters yet: the route answers 404 with a detail saying so. Documented so the shape is stable once the vCPU / elastic-IP report ships. Answers 404 while the organisation’s aws_provider feature flag is off.
GET
/
org
/
clusters
/
aws
/
{cluster_id}
/
quotas
Get AWS cluster quotas
import requests
url = "https://platform.ankra.app/org/clusters/aws/{cluster_id}/quotas"
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/aws/{cluster_id}/quotas', 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/aws/{cluster_id}/quotas \
--cookie ankra_session={}{
"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
Response
Successful response
The normalised quota report (provider, increase, dimensions, limits_exposed, pressured) once AWS quota reporting ships; today the route answers 404.