How to get event and segment name for data tables using REST API

  • 21 November 2022
  • 0 replies

I’m using this dashboard REST API to export a data table. The endpoint returns the values and the row labels but not the column labels (ie. the event names and segment names). It instead contains a 'valuesMetadata' entry that’s a list of objects with ‘metricIndex’, ‘segmentIndex’ which have integer values 0, 1, …
Is there a way to get the metric name and segment name from these indexes. The indexes don’t seem related to any global ID as they always start from 0 irrespective of the events chosen in the data table.

0 replies

Be the first to reply!