Grafana API to search for dashboards that are using a specific datasource

Hello,

I need an API to search for the dashboards that are using a specific Prometheus datasource. I tried some of them /api/search?query=&type=dash-db&folderIds=0&starred=false; but in dashboards json response there is no info about dashboards.

if someone knows, please let me know