Native SQL query question JSON data get

I’ve searched over the WEB to get this info but with no luck.
I have a question based on a custom SQL query rendered as a plain table. The question is not shared, published or embedded.
What do I need is to retrieve its data as a JSON using metabase API.
I suppose that this this is the way somehow I need to go with, but I do not deeply understand the details.

It would be great if anyone could help me.

Thanks a lot.

Hi @buckelieg
Everything in the API is also done via the regular interface. So simply open your browser and go to the Metabase site and then look in your browser developer Network-tab to see the requests being made - then you can see what is being sent and received.
It’s the best way to learn the API.