How can we access the data.metadata.age to determine when was the data last refreshed, from our embedding charts UI code

chart.render() or chart.setFilter() doesn’t return any object (they have return type as Promise<void>, thus we can’t leverage the response that the embedding calls.

We are particularly interested in value of response.data.metadata.age , which we would like to leverage in calculating when the data was last refreshed. We would like to show that information within our embedded report offering.

When one have autoRefresh: true on charts, we see that information on the charts hover automatically, so wondering if we can read the same from the same place.

Thanks!
Prakash