There is an API for exporting dashboards along with associated saved objects. There is not official documentation yet because the API is subject to change.
Kibana's existing API for interacting with Kibana saved objects can be explored here
If the existing APIs do not work out for you then I would recommend writing scripts that just directly make use of ElasticSearch REST APIs to interact with kibana index.
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.