Skip to main content

orgUsageByEnvironment

Aggregate replication/GraphQL byte totals per environment across the org for the time window. Read-only reporting. Requires the 'view_usage' org permission.

orgUsageByEnvironment(
orgId: BigInt!
since: DateTime!
): [EnvironmentUsageRollupRow!]!

Arguments

orgUsageByEnvironment.orgId ● BigInt! non-null scalar

Organization id (BigInt) to roll up usage for.

orgUsageByEnvironment.since ● DateTime! non-null scalar

Start of the aggregation window (ISO-8601 DateTime or relative duration such as 1d, 7d, 1h) up to now.

Type

EnvironmentUsageRollupRow object

Aggregate byte totals for one environment over the requested window. All *Bytes fields are string counters (may exceed Int range).