feature(dashboard): create a dashboard api
