UsageSeriesInput

FieldTypeRequiredDescription
fromStringNo
toStringNo
granularityStringNo
groupBy[String!]Noproject for resource metrics; credits also supports model, api_key and member.
compareStringNo
metricString!Yescredits, storage, bandwidth or api_calls
presetStringNo7d, 30d or 90d. Defaults to 30d.
timezoneStringNoIANA time zone for daily bucket boundaries. Defaults to UTC.
projectReferenceStringNoProject ID or slug that narrows the read to one project of the account

All GraphQL types · Operations