REST API - syntax of a dashboards filter

I try query Grafana 4.2.0 for available dashboards using HTTP API.

I can do it for all but when I try use ‘query’ to take only dashboards what starts from “PR” I didn’t receive results.

Can you provide me correct syntax for this or any link when can I find a syntax description?

Yes, I read http://docs.grafana.org/http_api/dashboard/

Thank you in advance.

There is nothing special with the syntax here - just a query string parameter. Here is an example from my local Grafana:

http://localhost:3000/api/search?query=PR

In my case it matched a few dashboards with Prometheus in the title.

1 Like

Thank you. Yes, it works. Yesterday I probably missed ‘?’.