Skip to main content
POST
Create a dashboard

Authorizations

Authorization
string
header
required

A workspace API key, created in Superlog under Settings → API keys.

Body

application/json
name
string
required
Required string length: 1 - 120
variables
object[]

Dropdowns shown on the dashboard. A widget filter uses the selected value when its value is $name or ${name}, such as { key: "deployment.environment", value: "$env" }. options lists the choices; leave it empty to type a value. defaultValue must be one of options when there are any. multi allows several values. attributeKey is the attribute the variable usually filters.

Maximum array length: 50
widgets
object[]

Every widget on the dashboard, in order. The list replaces the dashboard's widgets: widgets left out are removed.

Maximum array length: 200

Response

Created

dashboard
object
required