Read Dashboard Widget Results
Changed onRead drilldown line, bar, pie, table, geo-map and number results, or funnel step, conversion-over-time and time-to-convert results. Results use dashboard date and granularity defaults. Dashboard global filters and variables are not applied. Hidden input series participate in formulas but their own datasets are omitted. Samples results require a separate loader and are unsupported.
Request
- Base URLhttps://statsigapi.net
- URLhttps://statsigapi.net/console/v1/dashboards/{id}/widgets/{widgetId}/results
- AuthAPI key in header STATSIG-API-KEY
Path parameters
dashboard id
widget id
Query parameters
Whether sampling should be enabled for this results query. Defaults to true.
Response
Read dashboard results as funnel, timeseries, categorical, or single_value. Drilldown tables and geo-maps return categorical data. Funnel rates over time use percentages; time-to-convert histograms include counts, numeric bucket boundaries and their shared denominator. Results use the dashboard's date range and granularity, resolved in the company's timezone.
Example response
{
"message": "Dashboard Read Successfully",
"data": {
"id": "widget_id",
"type": "funnel",
"funnel": {
"datasets": [
{
"key": "default",
"steps": [
{
"rank": 0,
"name": "signup",
"count": 100,
"conversion_rate": 1,
"previous_step_conversion_rate": 1
},
{
"rank": 1,
"name": "purchase",
"count": 42,
"conversion_rate": 0.42,
"previous_step_conversion_rate": 0.42
}
]
}
]
}
}
}Changes
- breaking
the response property
//became optional for the status - warning
added the new
categoricalenum value to the//response property for the response status - warning
added the new
single_valueenum value to the//response property for the response status - warning
added the new
timeseriesenum value to the//response property for the response status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking