List of dashboards and their datasources

Is there anyway for me to get a list of dashboards and the datasources used by those dashboards.
I can get the details of dashboard by id but there is no clear way to get the list of dashboard ids.

Any suggestions will be most welcome.

Thanks

No, there’s no api available for that. You’ll basically have to parse the dashboard json model, iterate all panels and select each datasource property.