The queryQuotaUserSettings() GraphQL query returns the query quota settings for a given user.

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

Syntax

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

queryQuotaUserSettings(username: string): [QueryQuotaUserSettings!]!

Returned Datatypes

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

Table: QueryQuotaUserSettings

ParameterTypeRequired[a]DefaultDescription
usernamestringyes Username of the user for which these Query Quota Settings apply.
settingsstringyes List of the settings that apply.

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