| Field | Type | Required | Description |
|---|---|---|---|
from | String | No | |
to | String | No | |
granularity | String | No | |
groupBy | [String!] | No | project for resource metrics; credits also supports model, api_key and member. |
compare | String | No | |
metric | String! | Yes | credits, storage, bandwidth or api_calls |
preset | String | No | 7d, 30d or 90d. Defaults to 30d. |
timezone | String | No | IANA time zone for daily bucket boundaries. Defaults to UTC. |
projectReference | String | No | Project ID or slug that narrows the read to one project of the account |