When I am looking at chart table data it is showing full data and even when I am exporting csv data it is returning file with full data. But when I am doing same thing with REST API, it is pruning data and not returning full data.
Can you please help me to get full data without pruning using REST API?
Page 1 / 1
Hey @dadasaheb.patil
There could be a possibility of charts results getting pruned in the Dashboard REST API responses and it may vary depending on the chart type. We sometimes get a prunedResult key in that response, but not sure how that gets set.
@Denis Holmes@Jeremie Gluckman
Can we understand from the Engineering Team how pruning happens on the REST API responses ? I couldn’t find any mention of pruning in the API docs. This issue was also brought up in another post before. It’d be nice if we can get to know this one in depth.
Hi @dadasaheb.patil ! Welcome to the Amplitude Community and I’m happy to help!
Due to the row limitation for the API, you may not get all of the data that you expected to get.
But, if you are exporting an Event Segmentation chart, you can recreate the chart through the Event Segmentation query and change the “limit” parameter to 20K (undocumented): https://developers.amplitude.com/docs/dashboard-rest-api#event-segmentation This increase in the row limit should help you get the data you are looking for given that you got the data you need through the CSV 10K limit.
Hope this helps!
Hi @belinda.chiu ,
Thanks for your quick response.
I am more looking over Breakdown Table where I get data in tabular format, which is more relevant than any type of chart. I am ok with any kind of chart, but need full data without prune for Breakdown Table data shown on UI.
I see Belinda answered your question and as she said
“Due to the row limitation for the API, you may not get all of the data that you expected to get. “
This is especially true if there is a lot of results. You can find information on how to build charts API calls here. If you are still having trouble, do let me know the chart URL and I will try to do my best to construct it for you.
query api I tried which has row limitation, Can you please create event segment API request payload for above condition so that I can get same data, at least 20k result which is much better than 1k result. If this works fine, I’ll try for other chart and ask for help if needed.
And is this row limit applicable irrespective of subscription?
I am more interested in Breakdown Table data than actual shown any chart.
@dadasaheb.patil ,
I went through our Help Center article here and use the API without issue, I would recommend reading through it fully and understanding each of the parameters to help you.
Regardless, I am using the below chart, the only difference being using specific dates.
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. You can also create a Guest account below!
If you're a current customer, select the domain you use to sign in with Amplitude.
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. Want to sign up as a guest? Create a Community account.
If you're a current customer, select the domain you use to sign in with Amplitude.