Getting JSON response instead of CSV response for flux query REST call

I tried API references using the following documents:

Although influxQL query returns JSON response, flux query returns CSV response. Is there a way to return flux query in JSON format?

Hello @anmol.d,
No the response schema is csv for v2.0.
You can query with JSON though.

1 Like