Dashboard lists

Hi everybody!

In my company we’re developing a bot to suggest company knowledge base and I wish to plug Metabase dashboards as a source for knowledge.

In order to retrieve all the dashboard that we have I wish to use this api GET /api/dashboard/ but I see this sentence “It only exists for backwards compatibility and may be removed in the future.”

Is there any “official” way to retrieve the list of all dashboards? In order to provide a good suggestion I need at least: id, name, description, archived, collection_id.

I can implement the same flow made by Metabase frontend

/api/collection/tree?exclude-other-user-collections=true&exclude-archived=true

/api/collection/{id}/items?models=dashboard

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.