Get an organization's shared-storage quota
const url = 'https://api.aetherplatform.cloud/api/v1/admin/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/storage-quota';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.aetherplatform.cloud/api/v1/admin/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/storage-quota \ --header 'Authorization: Bearer <token>'Returns the org’s configured shared-storage (CephFS) cap alongside the platform default and, when the management cluster can be reached, the quota ceph is actually enforcing and the bytes already written. The observation is best-effort: an unreachable management cluster leaves both observed members null rather than failing the request. Requires the platform-admin realm role.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Organization UUID.
Responses
Section titled “Responses”The org’s configured, effective and observed quota figures.
An organization’s shared-storage (CephFS) cap: what is configured, what applies, and what the cluster actually reports. Every optional member is nullable rather than absent — a 0 quota would read as “unlimited”, and a 0 observed pair would claim the org has no cap and has written nothing, neither of which can be asserted without a figure.
object
The per-org cap in GiB, or null when none is set and the platform default applies.
The cap in force — configured_gb when set, otherwise default_gb.
The platform default cap in GiB.
The quota ceph is currently ENFORCING on the org’s CephFS data pool — the configured-vs-observed drift readout. null when the management cluster has published no figure or could not be reached.
Bytes already written to that pool. null under the same conditions as observed_quota_bytes.
Examplegenerated
{ "configured_gb": 1, "effective_gb": 1, "default_gb": 1, "observed_quota_bytes": 1, "observed_used_bytes": 1}Malformed request — e.g. an invalid path UUID or an unparseable JSON body.
object
object
A stable, machine-readable error code.
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": [ { "field": "example", "code": "example", "message": "example" } ] }}Missing or invalid credentials.
object
object
A stable, machine-readable error code.
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": [ { "field": "example", "code": "example", "message": "example" } ] }}The credential was accepted but lacks the required role or access (e.g. a non-platform-admin calling an /api/v1/admin endpoint).
object
object
A stable, machine-readable error code.
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": [ { "field": "example", "code": "example", "message": "example" } ] }}The requested resource was not found.
object
object
A stable, machine-readable error code.
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": [ { "field": "example", "code": "example", "message": "example" } ] }}