Latest build metadata

Is it possible to get the latest Updated (metadata) for a particular dataset which is used as a datasource for an ObjectType. Which is eventually used as input to many widget in the Workshop app. Currently it is not possible to access this information directly when trying to create a variable in the Workshop. Is there a walkaround or if I try to get this using a function do I access using any API?

I wanted to access the data which is displayed in data freshness widget
Where particularly Last Updated data for a DataSource.