device_type api for analytics graph