API to get all dashboards in Kibana 8.9.0

To check the dashboard availability before creating new dashboard, I was using below api. but this API is deprecated in kibana 7.15.
[KibanaHost]/s/$SPACE_ID/api/saved_objects/_find?fields=id&type=dashboard
Could you please help with API that I can use to fetch all dashboards in kibana 8.9.0?

Hello @Daemon1,

Welcome to the community!

What is your use case?

Using the import/export APIs should cover most scenarios. The Export API enables you to fetch collections of saved objects.

Hope it helps!

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