Skip to main content
POST
Single-shot dashboard creation. Accepts a declarative payload describing charts, data source, and layout — returns experiment and facade IDs.
This endpoint uses API key authentication. Pass your key via Authorization: Bearer trvh_sdk_... or x-api-key header.

Request Body

string
required
Dashboard name displayed in the UI.
string
Optional description for the dashboard.
object
required
The data source to query against.
array
Array of chart definitions. Use this for simple mode (single section).
array
Array of section definitions. Use this for multi-section mode (multiple experiments, category tabs).
object
Layout configuration for the dashboard grid.
string
Layout template type (e.g., "realEstate"). Used to resolve a layout template from the database.
string
Exact name of a layout template. Takes priority over templateType.
array
Dashboard categories (e.g., ["BI", "Sales"]).
array
Tags for the dashboard. "sdk-import" is always added automatically.
boolean
default:true
Whether the dashboard is publicly visible.

Response

boolean
Whether the import succeeded.
string
The created facade ID (e.g., F2026A00018). Use this to view the dashboard in the UI.
array
Array of created experiments.