Hi. We can export dashboard but can we export data sources?
Not clear what exactly you need, but maybe Data source HTTP API | Grafana Labs does what you want?
Or to export the data using CSV?
Hi. I need also export to csv or json without using api.
You can export the data to CSV or XLS using context menu in the Panel, then find Inspect - Data