Is it possible to see the ES query a visualization performs

Hi, I've made a visualization in K 4.5.4 which I would like retrieve as a json file. So I thought that maybe if I could find the underlying query I could run this via curl and save output to a file, but how to I find the query a visualization do?

Click the little ^ at the bottom of the vis, you can then see the query.

:slight_smile: yop thanks, had a feeling is would be easy.