| Field | Type | Required | Description |
|---|---|---|---|
accountId | ID | No | Account to report; omitted, use the authorized context account or caller default. Requires account.billing.read. |
preset | String | No | Whole local days, defaulting to 30d. Explicit from/to bounds take precedence over preset, including SDK-supplied defaults. |
from | String | No | Inclusive start. Supply both from and to; these bounds take precedence over preset. |
to | String | No | Exclusive end, no later than the end of today in timezone. |
timezone | String | No | |
granularity | String | No | UTC hours, or local calendar days, Monday-based weeks and months. |
groupBy | [String!] | No | Grouping dimensions supported by this operation. Repeat the parameter or use a comma-separated list. |
compare | String | No | Compare preceding calendar months for whole-month custom ranges, local days for whole-day ranges and presets, or equal elapsed duration otherwise. |
label | [String!] | No | Project label filters as key or key=value, repeated or comma-separated. |
projectReference | String | No | Optional project UUID or slug to scope analytics to a single project. |
projectId | ID | No | Deprecated: Use projectReference. |
RunsGetAccountRunAnalyticsCommand
Input object in the GraphQL API.