The exceededQueryQuotas() GraphQL query is used to determine if a given user has exceeded their query quota.

For more information on query quotas, see the Query Quotas documentation page.

Syntax

Below is the syntax for the exceededQueryQuotas() query field:

exceededQueryQuotas(username: string!): [QueryQuotaExceeded!]!

Returned Datatypes

The returned datatype QueryQuotaExceeded has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: QueryQuotaExceeded

ParameterTypeRequired[a]DefaultDescription
kindQueryQuotaMeasurementKindyes The type of measurement for the query quota QueryQuotaMeasurementKind is an enumerated list: StaticCost, LiveCost, or QueryCount.
resetsAtlongyes The point at which the query quota resets.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.