- 1 Minute to read
- Print
- DarkLight
Mapp Intelligence: Analytics API now with Reports
- 1 Minute to read
- Print
- DarkLight
23 January 2025 You can now access your reports using our Analytics API!
Key Benefits
Have your reports at your fingertips, whether in our User Interface or via API call.
There are more customization options: You can quickly get the entire report or customize your API report entirely based on one created in the UI.
How does it work?
You can send calls to get your report data in two ways: with the ID or by configuring a JSON file.
Method 1: Request by ID
Do your reports change often? Do you need to ensure you have the exact elements in the current report from the User interface? Then, you should request the report using the ID.
If you don’t need the full report, you can use the element IDs to request only certain parts.
This method will always reflect the latest configuration in the UI, including any saved updates or changes made to the dashboard or its elements. It also simplifies filter modifications without requiring direct access to JSON structures or scripts.
With this method, you can only customize one setting: the time range. You can add a different time range in the body of your request, which will not affect the saved settings in the report.
Method 2: Request by Configuration JSON
Do you want more direct control over the report? Then, you should retrieve dashboards or elements by directly sending the entire configuration JSON. This will allow you to build custom reports based on an existing report from the UI.
First, find a report you want to use as a starting point. Then, select the three-dot menu in the upper right-hand corner, select Copy as JSON, and then Report Configuration.
From here, you can completely customize the file before making your request.
This method also means that any changes made in the UI will not affect your API report.
Availability
This feature was released January 23rd. It is available for all Analytics API users. Please see our API Documentation for more information.