Skip to main content
POST
Build a dashboard from a measure list (preset)

Authorizations

x-api-key
string
header
required

Your Upstack API key. Starts with upstack_.

x-pixel-id
string
header
required

The pixel id the request targets.

Body

application/json
name
string
required
Required string length: 1 - 200
widgets
object[]
required
Minimum array length: 1
type
enum<string>

Defaults to view.

Available options:
view,
attribution_view,
pnl_view
layout
enum<string>

Auto-layout strategy. Default kpi-grid.

Available options:
kpi-grid
attribution
object
granularity
enum<string>
Available options:
none,
second,
minute,
hour,
day,
week,
month,
quarter,
year
dateRange
object

Defaults to the last 30 days.

Response

The created view.

dashboardView
object
required