How to obtain reports via API?

How to get default Shopify-built reports via API?

I need some information about users sessions, and I saw some useful reports like “Sessions by device” in analytics, but queries are not constructible using ShopifyQL. Looking a little at how Shopify makes these reports, I saw that they use antother endpoint and queries with tables not available for ShopifyQL, such as:

SHOW total_visitors, total_sessions BY ua_form_factor FROM visits SINCE -7d UNTIL today ORDER BY total_sessions DESC

Since only orders dataset, products dataset, or payment attempts dataset are disponible.