Query Ad-hoc Widget Data
Query Ad-hoc Widget Data
Computes widget data from a widget definition supplied inline, without creating a dashboard or saving a widget. Returns the same data shape as the dashboard widget query. Scoped to the project of the API key. At most 20 lines and a topK.limit of 100 are allowed, and an explicit query range may not exceed 366 days.
Request
The widget definition to compute, plus an optional query time range that overrides the widget's own time fields for this query.
widget
The widget configuration to compute data for.
startTime
ISO 8601 start time for the query range. Must be provided with endTime.
endTime
ISO 8601 end time for the query range. Must be provided with startTime.
granularity
Optional bucket granularity override for the query.
Response
The computed data for the supplied widget.
success
Indicates if the request was successful.
data
The computed widget data.
deprecated
Indicates if this endpoint is deprecated.