Skip to main content
POST
/
console
/
v1
/
dashboards
Create Dashboard
curl --request POST \
  --url https://statsigapi.net/console/v1/dashboards \
  --header 'Content-Type: application/json' \
  --header 'STATSIG-API-KEY: <api-key>' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "defaults": {
    "date": {
      "value": 1,
      "unit": "day"
    },
    "granularity": "auto"
  },
  "widgets": [
    {
      "type": "text",
      "title": "<string>",
      "content": "<string>"
    }
  ]
}
'
{
  "message": "Dashboard Created Successfully",
  "data": {
    "id": "dashboard_id"
  }
}

Authorizations

STATSIG-API-KEY
string
header
required

Body

application/json
name
string
required
Required string length: 1 - 200
description
string
Maximum string length: 10000
defaults
object
widgets
object[]

Response

200 - application/json

Create dashboard response

message
string
required

A simple string explaining the result of the operation.

data
object
required

A single result.