Get account usage warnings

accountUsageWarnings(projectReference: String): AccountUsageWarnings!

Requires account.billing.read.

Arguments

ArgumentTypeRequiredDescription
projectReferenceStringNoNarrow the warnings to one project. Warnings for usage buckets approaching or over their limits, optionally for one project.

Response

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

FieldTypeDescription
warnings[String!]!Warnings for usage buckets approaching or over their limits, optionally for one project.

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

Example

graphql
query AccountUsageWarnings($projectReference: String) {
  accountUsageWarnings(projectReference: $projectReference) {
    warnings
  }
}
json
{
  "projectReference": "00000000-0000-4000-8000-000000000001"
}