Is it possible to get the newly stored dashboard using command line?

Hi, we have enabled the grafana from prometheus datasource. We have saved some of the dashboard on Grafana. We observed that new dashboard is getting stored at /var/lib/grafana/grafana.db. Is it possible to get the newly stored dashboard using command line

Could you use curl to request the dashboard via the REST API?

https://grafana.com/docs/grafana/latest/http_api/dashboard/#get-dashboard-by-uid