Skip to main content
GET
Get UpCloud credential capacity (browser session)

Authorizations

ankra_session
string
cookie
required

Browser session. Mutations also require X-Ankra-CSRF.

Path Parameters

credential_id
string<uuid>
required

Query Parameters

measurement_version
integer

Set to 1 to keep unreported measurements as null instead of 0. measurement_version on provider credential capacity responses. Version 1 preserves missing OVH and Morpheus measurements as null. Older responses cannot distinguish missing readings from zero.

Response

Capacity and usage report

The provider-tagged capacity and usage report of a cloud credential (GET /org/credentials/{provider}/{credential_id}/capacity). Exactly one provider member is set, named by provider. Each provider reports what its API exposes: Hetzner and Scaleway report usage only, Proxmox VE reports the cluster's node and storage totals, UpCloud and DigitalOcean report account limits next to usage, OVH and HPE Morpheus report measurements that may be unknown. measurement_version is present only on responses requested with measurement_version=1; unversioned responses omit it and project unknown OVH and Morpheus measurements as 0.

provider
enum<string>
required
Available options:
azure,
digitalocean,
hetzner,
morpheus,
ovh,
proxmox,
scaleway,
upcloud
measurement_version
integer

measurement_version on provider credential capacity responses. Version 1 preserves missing OVH and Morpheus measurements as null. Older responses cannot distinguish missing readings from zero.

hetzner
object

Project usage behind a Hetzner credential. Hetzner exposes no project-limit read, so limits only surface as resource_limit_exceeded create failures.

proxmox
object

The Proxmox VE cluster's total and used node resources, storage pools and guests behind a credential.

upcloud
object

Account credits, resource limits and usage behind an UpCloud credential.

digitalocean
object

Account status, limits and usage behind a DigitalOcean credential.

ovh
object

Per-region quotas and their totals behind an OVH Public Cloud credential. A region OVH returns without quota sections stays in the list with unknown readings.

scaleway
object

Project usage behind a Scaleway credential, per zone and in total. Scaleway exposes no limit read.

morpheus
object

Per-cloud capacity and its totals behind an HPE Morpheus credential, with the instance and host counts.

azure
object

Virtual machines, AKS clusters and per-location compute quotas behind an Azure credential.