Eulerian introduces a flattened response format, designed to simplify the use of API data by data, BI and marketing teams.
This format allows you to retrieve a response in the form of a table:
columns explicitly described , then rows of values directly usable in an ETL, a dashboard, a notebook, a data warehouse or a CSV export.
1. Why this change?
Until now, some API Reporting responses were structured as nested analytical blocks; this format, inspired by the Google Analytics API, allows for compatibility with existing tools:
dimensions separated from metrics;
values encapsulated in multiple levels of JSON;
specific parsing logic to be rebuilt on the client side;
The mapping between columns and values is sometimes difficult to read.
The new flat format responds to a simple objective: to make Eulerian data easier to read, transform, load and maintain in existing data tools.
2. How do I enable the flattened format?
The flattened format is used via the Batch Reporting endpoint: