Skip to main content
String!
The operation or field that was priced, for example filterTokens or filterTokens.results.token.
String
For a per-object cost, the type of the objects counted (for example EnhancedToken). Null for operation and field costs.
UsageDataMetrics!
The metrics charged for this component. See UsageDataMetrics

Used By

Returned by
  • usageData: Returns the compute units charged for the request that carries this field, so you can see what a query costs before you run it at volume. Add it to any query; the field itself is free. total is the whole request; items lists each priced component. When the whole request was free (every root field errored), all values are zero.
Last modified on October 20, 2026