Documentation menu

Get org usage

GEThttps://api.instacloud.com/orgs/{orgId}/usage

Token scope: account · org — read-only tokens allowed.

Org usage across the 5 billing dimensions + per-project breakdown over a window (default current cycle)

Parameters

NameInTypeRequiredDescription
fromqueryintegernounix seconds (default current cycle start)
toqueryintegernounix seconds (default current cycle end)
orgIdpathstringyes

Responses

200

Default Response

FieldTypeRequiredDescription
fromintegerno
tointegerno
orgobjectno
org.dimensionsobject[]no
org.dimensions.dimension"ram" | "cpu" | "volume" | "storage" | "egress"no
org.dimensions.quantitynumberno
org.dimensions.unitstringno
org.dimensions.costUsdnumbernoquantity × unit price for this dimension in the window
org.totalCostUsdnumberno
projectsobject[]no
projects.projectIdstringno
projects.namestringno
projects.deletedAtstring | nullnowhen the project was deleted — its usage history outlives it; null for a live project
projects.dimensionsobject[]no
projects.dimensions.dimension"ram" | "cpu" | "volume" | "storage" | "egress"no
projects.dimensions.quantitynumberno
projects.dimensions.unitstringno
projects.dimensions.costUsdnumbernoquantity × unit price for this dimension in the window
projects.totalCostUsdnumberno

403

Default Response

FieldTypeRequiredDescription
errorstringyes

View as Markdown