Implement dashboard api.