# How to fetch dashboard queries

**URL:** https://discuss.elastic.co/t/how-to-fetch-dashboard-queries/379066
**Category:** Kibana
**Tags:** kql-kibana-query-language, dashboard
**Created:** [June 10, 2025, 4:52pm UTC](https://discuss.elastic.co/t/how-to-fetch-dashboard-queries/379066 "2025-06-10T16:52:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Parthpuri\_Goswami](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/parthpuri_goswami/32/141878_2.png) [@Parthpuri\_Goswami](https://discuss.elastic.co/u/Parthpuri_Goswami)
#### Post date: [June 10, 2025, 4:52pm UTC](https://discuss.elastic.co/t/how-to-fetch-dashboard-queries/379066/1 "2025-06-10T16:52:35Z")

</div>

Hi all,

I want to fetch dashboard and panel details with a query. Is it possible using an API? I have checked a few APIs, but they weren't helpful. For example, [[Get a list of dashboards | Kibana API documentation](https://www.elastic.co/docs/api/doc/kibana/operation/operation-get-dashboards-dashboard)]([https://Dashboard](https://Dashboard) api) is in tech preview. I also checked the saved object API([[Get saved objects | Kibana API documentation](https://www.elastic.co/docs/api/doc/kibana/operation/operation-bulkgetsavedobjects)]([https://Saved](https://Saved) object)), which is now deprecated. So, is there any API available to fetch dashboard and panel details along with the query and metadata?

---

<div class="post-metadata">

### Author: ![ghudgins](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ghudgins/32/138532_2.png) [@ghudgins](https://discuss.elastic.co/u/ghudgins)
#### Post date: [June 10, 2025, 6:41pm UTC](https://discuss.elastic.co/t/how-to-fetch-dashboard-queries/379066/2 "2025-06-10T18:41:07Z")

</div>

the saved object API is the best option for now. we will not start the clock on the deprecation period until there is a suitable alternative (the API you reference is finished and fully available)
