That's the correct API to retrieve the visualizations via search API. Kibana stores its objects as documents in the .kibana index in Elasticsearch. So essentially, you are querying ES for results.
Search API: /.kibana/visualization/_search?size=40 should do it.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.