Create Dashboard

Reference for the POST /console/v1/dashboards endpoint of the Statsig API.

posthttps://statsigapi.net/console/v1/dashboards

Authorizations

STATSIG-API-KEYstringrequired

apiKey (header)

Body

application/json
namestringrequired
Constraints:min length: 1max length: 200
descriptionstring
Constraints:max length: 10000
defaultsobject
Show child attributes
dateobject
valueintegerrequired
Constraints:format: int64min: 0
unitstringrequired
Allowed values:dayweekmonth
granularitystring
Allowed values:autodailyweeklymonthly
widgetsoneOf[]
Show child attributes
typestringrequired
Allowed values:funnel
titlestringrequired
contentstring
widthinteger
Constraints:min: 0max: 12
heightinteger
Constraints:min: 0
colorstring
descriptionstring
queryobject
stepsobject[]required
event_namestringrequired
filtersobject[]
propertyobjectrequired
keystringrequired
columnunknownrequired
operatorunknownrequired
valuesstring[]
Default:[]
unit_typestring
conversion_windowobject
valueintegerrequired
Constraints:min: 0
unitstringrequired
Allowed values:secondminutehourday
chart_typestring
Allowed values:conversion-rateconversions

Response

application/json
200· Create dashboard response
messagestringrequired

A simple string explaining the result of the operation.

dataobjectrequired
Show child attributes
idstringrequired
dashboard_urlstringrequired

Was this helpful?