Dashboards

Run a saved widget query

Changed on

Runs the query saved on an Ollie chart widget of this dashboard over the given date range and returns its rows. The query is read from the saved widget; the request carries no SQL. Returns 501 when Ollie or Custom Charts is not enabled for the workspace.

post/v1/private/dashboards/{dashboardId}/widgets/{widgetId}/query

Request

  • Base URL
    http://localhost:5173/api
  • URL
    http://localhost:5173/api/v1/private/dashboards/{dashboardId}/widgets/{widgetId}/query
  • Auth
    none declared

Path parameters

dashboardIdstring uuid required
widgetIdstring required

Request body

interval_startstring date-time

Start of the date range, bound to {{window_start}} in the dashboard saved query. Omit for all time.

interval_endstring date-time

End of the date range, bound to {{window_end}} in the dashboard saved query. Omit for now.

Response

Query results

resultsJsonNode[]

Changes