Skip to main content

Hello.

I use dashboard api to get the data in a chart in my amplitude workplace. 

One chart displays weekly active users, but when I access the chart using dashboard rest api, it did not refresh the data. Mostly, it sends the same set of data for more than two hours.

Is there any way to refresh the data set when I call the api? 

Always thanks for you help.

Hey @seunglee_bomapp 

I haven’t come across any specific refresh functionality in the Dashboard API documentation.

From what I understand, if your existing chart is between two specific dates, then the API call result should not change.

If it’s for “Last X weeks”, then there could be some caching delay possible. You might want to hit refresh on this existing chart in the UI and then call the API on that chart to see if that helps.


I agree with @Saish Redkar , @seunglee_bomapp . If you wish, you can post the URL to the chart here and you can mention what you were hoping to get returned versus what did and I can look into it. Sometimes there might be caching delays but as long as you refresh in the UI too, there should not be any major delays. I hope this helps!


Reply