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?
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 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!
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.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.