detailed apis for analytics graph