Skip to main content
GET
Get top queries

Authorizations

Authorization
string
header
required

API key, not necessarily a JWT. Server derives Organization, permitted actions and Corpus scope; every resource access is authorized.

Query Parameters

window
enum<string>
default:1h
Available options:
1h,
24h,
7d
limit
integer
default:20

The most items to return. An empty, non-integer or out-of-range value is 422 invalid_limit.

Required range: 1 <= x <= 100

Response

Successful response

window
enum<string>
required
Available options:
1h,
24h,
7d
resolution_seconds
integer
required

Length of a bucket of points; query text is counted per hour.

Required range: x >= 1
recording
boolean
required

Whether this deployment records query text (observability.record_query_text).

items
object[]
required

Most frequent first.