Skip to main content
Solved

[Dashboard API] Is there a possibility of data being pruned when using Results from an Existing Chart

  • February 16, 2022
  • 3 replies
  • 413 views

Hi there,

I’m curious if there is a chance of data being pruned or failing to response due to massive chart data when using Dashboard API’s Results from an Existing Chart endpoint.

I’m implementing a feature something similar to:

  • a feature where users can view their profile’s page view counts.
  • users can view who viewed their profile within the last few days, etc.

So the chart I’ve created is basically page view events grouped by profile ID which will scale as more profile (users) are created.

Thanks,

Best answer by Saish Redkar

Hey @json 

Yes. There is a possibility of chart results getting pruned in the Dashboard REST API responses and it may vary depending on the chart type.

I tried looking at this by creating a simple segmentation chart grouped by user id and calling that chart id on  https://amplitude.com/api/3/chart/CHART_ID_HERE/query

The CSV export of that chart gave me a list of ~ 1300 users whereas the chart api response (seriesLabel) had ~1000 user ids. We sometimes get a prunedResult key in that response, but not sure how that gets set.

Hope this helps.

View original
Did this topic help you find an answer to your question?

3 replies

Saish Redkar
Expert
Forum|alt.badge.img+10
  • Expert
  • 1377 replies
  • Answer
  • February 16, 2022

Hey @json 

Yes. There is a possibility of chart results getting pruned in the Dashboard REST API responses and it may vary depending on the chart type.

I tried looking at this by creating a simple segmentation chart grouped by user id and calling that chart id on  https://amplitude.com/api/3/chart/CHART_ID_HERE/query

The CSV export of that chart gave me a list of ~ 1300 users whereas the chart api response (seriesLabel) had ~1000 user ids. We sometimes get a prunedResult key in that response, but not sure how that gets set.

Hope this helps.


Forum|alt.badge.img

Hi @Saish Redkar ,

How to get full chart result without pruning in REST API?

I am also working on similar tasks and stuck at chart result data getting pruned which we don’t want to happen.

Do we have any solution to this problem?

Thanks in advance for you support. 


belinda.chiu
Team Member
Forum|alt.badge.img+8
  • Amplitude Support
  • 189 replies
  • May 10, 2022

Answered in this post on an alternative if you are querying on Event Segmentation chart: 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings