Learn how to use custom query parameters to filter export data API results for specific metrics and rows.
metrics
parameter and rows based on the row_filter_column
parameter.
Parameter | Type | Required | Description |
---|---|---|---|
metrics | Array of metric names | Optional | If provided, only returns the specified columns instead of every metric. |
row_filter_column | String | Optional | Controls which rows are returned in the response. |
Note: Details onrow_filter_column
are below.
Value Result Example Use Case Not provided Return all time-series rows Default behavior ”frame” Return a single row where frame=0 For getting the start of the movement. Event column name Return a single row where that column = 0 For getting values at a specific event (ex: peak_event).
peak_event
and peak_power
:
peak_event
and peak_power
for the cutting
movement at the turn_event
equal to 0:
errorMessage
in the response for details about any non-existent
columns when using the metrics
parameter.
errorMessage
will indicate the column specified in the row_filter_column
parameter is invalid.
Note that row filtering only supports values equal to 0. In theory, only a single row is
returned for each session. If no rows have a value of 0 for the specified row filter
column, the query may return an empty result set.