Get list of dashboards of an organization

So I have been trying to get a list of the dashboards of different organizations using the API. Using the search endpoint I get a list of dashboards but it is always the same organization. I tried changing the active organization of the user but I still get the dashboards of another organization.

How can I use the search endpoint to return the dashboards of a particular organization?

  • What Grafana version and what operating system are you using?
    9.5.6
  • What are you trying to achieve?

I want to get a list of dashboards of an organization.

  • How are you trying to achieve it?

I am using the API endpoint " Folder/Dashboard Search API" and also changing the active organization:

GET https://dashboard.domain.tld/api/search?type=dash-db&limit=5000&sort=name_sort

POST https://dashboard.domain.tld/api/user/using/15

This returns a list of dashboards but it is always the same organization.