Skip to content

Reference

Search

The search endpoints of the HTTP API.

Search dashboards, observations, annotations, comments and saved searches by words.

Finds objects whose text contains every word of q, each exactly or by its English stem, ranked by relevance with newer objects first among near-equals. A caller finds only what it can open: a dashboard and its annotations and comments through the dashboard’s folder, an observation, its comments and a saved search through the folder each is in, and a global annotation and its comments through General. Only the latest version of a dashboard is searched. "quoted words" match as a phrase, or between words matches either, -word excludes a word, and the last word also matches as a prefix unless the query ends in a space. Results stop after 200 per query; refine the words to see more.

Parameters

Name In Type Description
q (required) query string One to 200 characters with at least one letter or digit outside a - term and no control characters.
kind query array of "dashboard", "annotation", "observation", "comment", "saved_search" Only results of these kinds; repeat the parameter for several. A kind named twice returns each result once. At most 5 items.
cursor query string The next_cursor of the previous page.
limit query integer Between 1 and 50. Default 20.

Responses

Status Description Body
200 One page of results, best first. SearchResultList
400 The request is malformed or fails validation. Error
401 Authentication is missing or invalid. Error
403 The caller is not allowed to perform the request; a role that is too low is code forbidden_role. Error
500 The server failed to handle the request. Error

Generated from api/openapi.yaml at c770e5e0. Report a problem.

Reading this as an agent? Every page is in /llms.txt and /llms-full.txt as plain text.

/observeOpen source under Apache-2.0.Grafana is a trademark of Grafana Labs. Elasticsearch and Kibana are trademarks of Elasticsearch B.V. OpenSearch is a trademark of LF Projects, LLC. SlashObserve is not affiliated with or endorsed by any of them.

Search pages and headings.