v1

latestOpenAPI 3.0.32026-07-14314472448.6 KB
query_history

Query history search.

Returns a list of queries in the query history that matches the search criteria. Query history search supports pagination. Use the limit parameter to control the maximum number of queries returned; the default limit is 100. You can also use the page query parameter to fetch queries from any page other than the first one.

get/query-history

Query parameters

datasourceUidstring[]

List of data source UIDs to search for

searchStringstring

Text inside query or comments that is searched for

onlyStarredboolean

Flag indicating if only starred queries should be returned

sort'time-desc' | 'time-asc'

Sort method

pageinteger

Use this parameter to access hits beyond limit. Numbering starts at 1. limit param acts as page size.

limitinteger

Limit the number of returned results

frominteger

From range for the query history search

tointeger

To range for the query history search

Response

(empty)