How to get the data from a cloudflare dashboard with an api to connect it to powerbi?

I tried to create a query with graphql to get the data from analitycs and connect it to powerbi but it doesn’t give me the data in json

Can someone help me

What error are you getting?