I need to export the JSON models of all my dashboards that were made with the GUI in order to import them in another Grafana instance.
I tried with the dashboard API - api/dashboards/ using curl with the dashboard uuid or uri (db/).
but for some reason I always get the message not found
There are a handful of good third-party tools for downloading and exporting dashboards, and other grafana data like settings. Here is a list I’ve started compiling. I’d check out the dashboard export section:
I think that you will not get the flexibility you get from the apis, for example if you want to export all dashboards that uses specific job or specific datasource
that will not be easy from the database, but withe apis, its just few clicks away