API - Best way to find Dashboard which contains a specific Card/Question

I would like to find the dashboard in which a specific question exists.

After a quick look the only way I found is to retrieve all the dashboards via "GET Dashboard" and loop over each of their "Dashcards" to find the relevant Card id.

Is there a better solution to do this with the API ?


Hi @BertrandD
Yes, you would have to loop through everything.
You are looking for this:
https://github.com/metabase/metabase/issues/13975 - upvote by clicking :+1: on the first post

1 Like