Skip to main content

environmentUsageByApp

Aggregate replication/GraphQL byte totals per app for the apps linked to an environment, over the time window. Read-only reporting. Requires the 'view_usage' org permission.

environmentUsageByApp(
orgId: BigInt!
environmentSlug: String!
since: DateTime!
): [AppUsageRollupRow!]!

Arguments

environmentUsageByApp.orgId ● BigInt! non-null scalar

Organization id (BigInt) that owns the environment.

environmentUsageByApp.environmentSlug ● String! non-null scalar

Slug of the environment whose apps to roll up.

environmentUsageByApp.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

AppUsageRollupRow object

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