Get AWS cluster quotas
import requests
url = "https://platform.ankra.app/api/v1/clusters/aws/{cluster_id}/quotas"
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/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/api/v1/clusters/aws/{cluster_id}/quotas \
--header 'Authorization: Bearer <token>'{}{
"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
Bearer PAT 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
/
api
/
v1
/
clusters
/
aws
/
{cluster_id}
/
quotas
Get AWS cluster quotas
import requests
url = "https://platform.ankra.app/api/v1/clusters/aws/{cluster_id}/quotas"
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/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/api/v1/clusters/aws/{cluster_id}/quotas \
--header 'Authorization: Bearer <token>'{}{
"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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
PAT organisation override.
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.