Eventjet GraphQL API documentation

toggledColumn

The Report that results from toggling this metric's column on or off.

If isColumnEnabled is true, following this link produces a report with the column removed. If isColumnEnabled is false, following it produces a report with the column added.

Arguments

toggledColumn doesn't take any arguments.

Type

This field resolves to Report, which has the following fields:

FieldDescriptionType
aggregationOptionsThe grouping dimensions available for this report.[ ReportAggregationOption ]
columnsThe keys of the columns currently in the report. Deprecated — use `columnsV2` instead.[ String ]
columnsV2The columns currently included in the report, in display order.[ ReportColumn ]
filterReturns the filter identified by `ReportFilter.key`, or null if no filter with that key exists for this report.ReportFilter
filtersAll filters available for this report, whether or not they are currently active.[ ReportFilter ]
idAn opaque identifier that encodes the complete report configuration — type, columns, filters, sorting, and active aggregations.ID!
linesThe data rows for the current page. Each `ReportLine` contains one cell per column in the same order as `columnsV2`.[ ReportLine ]
metricConnectionsAll available metrics paired with their current column state.[ ReportMetricConnection ]
metricsFlat list of all metrics available for this report type.[ ReportMetric ]
numberOfLinesThe total number of rows matching the current filters, regardless of pagination.Int
sortingThe sort orders currently applied to the report. Each entry names a metric key and a direction.[ ReportSorting ]
summariesOne summary value per column, in the same order as `columnsV2`.[ String ]
typeThe report type, such as `"sales"` or `"events"`. The type determines which metrics are available and how rows are defined.ReportType
withoutAggregationsThe same report with all grouping removed, returning to individual row-level data.Report