Get usage

usage: Usage!

Requires account.billing.read.

Arguments

This operation takes no arguments.

Response

Returns Usage!. Open the type for its fields and nested types.

FieldTypeDescription
accountIdID!
projectCountInt!Number of projects in the account
creditsSpentFloat!Credits spent by the account
storageUsageMetric
bandwidthUsageMetric
apiCallsUsageMetric
customDomainsUsageMetric
codeExportsUsageMetric

All fields of Usage.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
query Usage {
  usage {
    accountId
    creditsSpent
    periodEnd
    periodStart
    projectCount
  }
}
json
{}