Shorthand: pass a string instead of an object to use the default aggregation (e.g., "revenue" is equivalent to {"field": "revenue", "aggregation": "sum"}).Using calculations: To reference a pre-computed calculation (percentage of total, weighted average, etc.) from the VDM, use "aggregation": "as-is" with the calculation’s label as the field. See Calculations for details.
array
required
Array of dimension field names (strings) or dimension objects.
Show dimension object
string
required
Column name for grouping.
boolean
default:false
Whether this dimension is a date type.
Shorthand: pass a string instead of an object (e.g., "region").
array
Array of filter conditions applied to this chart.
number
Max number of rows to return. Defaults to 100 if not using filter.
Chart visual settings. If omitted, sensible defaults are applied.
Show display properties
boolean
default:true
Show data values on the chart.
boolean
default:true
Show chart legend.
boolean
default:false
Show hover tooltips.
boolean
default:false
Include null values.
boolean
default:false
Enable chart zoom.
boolean
default:false
Show forecast line.
boolean
default:false
Show horizontal scrollbar.
boolean
default:false
Show vertical scrollbar.
string
Title of another chart in the same section to use as a drill-down source. Clicking the source chart filters this chart. Resolved to internal chart IDs during import.
object
KPI metric card styling. Only applicable for kpi / kpi-card chart types.
Show card properties
string
Icon component name (e.g., "BsCurrencyDollar", "ImCart").
string
Primary icon/value color (hex, e.g., "#237e11").
string
Trend-up color (hex, e.g., "#41d723").
object
Trend sparkline configuration for the KPI card.
Show trend properties
string
required
Measure field to trend (e.g., "Market Value").
string
required
Date dimension for the trend x-axis (e.g., "Position Date").
{ "success": false, "error": "Request body must include a non-empty 'charts' array or 'sections' array with charts"}
{ "error": "API key required"}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Tarvah","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/centalapps/QHyWCJjS20Dkt51Q/logo/light.svg?fit=max\u0026auto=format\u0026n=QHyWCJjS20Dkt51Q\u0026q=85\u0026s=50f4305be57852731b09fb1123903217","dark":"https://mintcdn.com/centalapps/QHyWCJjS20Dkt51Q/logo/dark.svg?fit=max\u0026auto=format\u0026n=QHyWCJjS20Dkt51Q\u0026q=85\u0026s=4afc5be1448e63266f15a7a8104a5c34"},"favicon":"/favicon.svg","styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"centalapps","hasAudioNarration":false,"actualSubdomain":"centalapps","customDomains":["docs.tarvah.com"],"gitSource":{"type":"github","owner":"central-apps","repo":"tarvah-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae94a3ddc00c17c92ec8cd5:success","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"Getting Started","count":7},{"language":"default","tag":"API Reference","count":6},{"language":"default","tag":"SDK API","count":4},{"language":"default","tag":"Concepts","count":3},{"language":"default","tag":"Data Configuration","count":3},{"language":"default","tag":"BI Administration API","count":2},{"language":"default","tag":"Client Onboarding","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/import-dashboard","slug":"/api-reference/import-dashboard","pageMetadata":{"title":"Import Dashboard","api":"POST /v1/sdk/import","description":"Create a complete dashboard with charts in a single API call (API key auth)","href":"/api-reference/import-dashboard","hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a complete dashboard with charts in a single API call (API key auth)\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Expandable,Heading,Note,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Single-shot dashboard creation. Accepts a declarative payload describing charts, data source, and layout — returns experiment and facade IDs.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This endpoint uses `,_jsx(_components.strong,{children:`API key authentication`}),`. Pass your key via `,_jsx(_components.code,{children:`Authorization: Bearer trvh_sdk_...`}),` or `,_jsx(_components.code,{children:`x-api-key`}),` header.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Dashboard name displayed in the UI.`})}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Optional description for the dashboard.`})}),`\n`,_jsxs(ParamField,{body:`dataSource`,type:`object`,required:true,id:`param-data-source`,children:[_jsx(_components.p,{children:`The data source to query against.`}),_jsxs(Expandable,{title:`dataSource properties`,children:[_jsx(ParamField,{body:`dbId`,type:`string`,required:true,id:`param-db-id`,children:_jsxs(_components.p,{children:[`Database connection ID (e.g., `,_jsx(_components.code,{children:`D2026A00002`}),`).`]})}),_jsx(ParamField,{body:`vdmId`,type:`string`,id:`param-vdm-id`,children:_jsx(_components.p,{children:`Virtual Data Mart ID. When provided, field names are validated against VDM columns.`})}),_jsx(ParamField,{body:`connType`,type:`string`,default:`VDM`,id:`param-conn-type`,children:_jsxs(_components.p,{children:[`Connection type. Use `,_jsx(_components.code,{children:`\"VDM\"`}),` for Virtual Data Mart sources.`]})}),_jsx(ParamField,{body:`schemaName`,type:`string`,id:`param-schema-name`,children:_jsxs(_components.p,{children:[`Database schema name (e.g., `,_jsx(_components.code,{children:`\"public\"`}),`).`]})})]})]}),`\n`,_jsxs(ParamField,{body:`charts`,type:`array`,id:`param-charts`,children:[_jsxs(_components.p,{children:[`Array of chart definitions. Use this for `,_jsx(_components.strong,{children:`simple mode`}),` (single section).`]}),_jsxs(Expandable,{title:`chart object`,children:[_jsx(ParamField,{body:`title`,type:`string`,id:`param-title`,children:_jsx(_components.p,{children:`Display title of the chart.`})}),_jsx(ParamField,{body:`type`,type:`string`,required:true,id:`param-type`,children:_jsxs(_components.p,{children:[`Chart type — friendly name (e.g., `,_jsx(_components.code,{children:`column`}),`, `,_jsx(_components.code,{children:`pie`}),`, `,_jsx(_components.code,{children:`line`}),`, `,_jsx(_components.code,{children:`kpi`}),`) or CH code (e.g., `,_jsx(_components.code,{children:`CH00003`}),`). See `,_jsx(_components.a,{href:`/api-reference/get-chart-types`,children:`Get Chart Types`}),` for all options.`]})}),_jsxs(ParamField,{body:`measures`,type:`array`,required:true,id:`param-measures`,children:[_jsx(_components.p,{children:`Array of measure definitions.`}),_jsxs(Expandable,{title:`measure object`,children:[_jsx(ParamField,{body:`field`,type:`string`,required:true,id:`param-field`,children:_jsx(_components.p,{children:`Column name in the data source.`})}),_jsx(ParamField,{body:`aggregation`,type:`string`,default:`sum`,id:`param-aggregation`,children:_jsxs(_components.p,{children:[`Aggregation function: `,_jsx(_components.code,{children:`sum`}),`, `,_jsx(_components.code,{children:`count`}),`, `,_jsx(_components.code,{children:`average`}),` / `,_jsx(_components.code,{children:`avg`}),`, `,_jsx(_components.code,{children:`min`}),`, `,_jsx(_components.code,{children:`max`}),`, `,_jsx(_components.code,{children:`distinct`}),`, `,_jsx(_components.code,{children:`as-is`}),`.`]})})]}),_jsxs(_components.p,{children:[`Shorthand: pass a string instead of an object to use the default aggregation (e.g., `,_jsx(_components.code,{children:`\"revenue\"`}),` is equivalent to `,_jsx(_components.code,{children:`{\"field\": \"revenue\", \"aggregation\": \"sum\"}`}),`).`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Using calculations:`}),` To reference a pre-computed calculation (percentage of total, weighted average, etc.) from the VDM, use `,_jsx(_components.code,{children:`\"aggregation\": \"as-is\"`}),` with the calculation’s label as the `,_jsx(_components.code,{children:`field`}),`. See `,_jsx(_components.a,{href:`/calculations#using-calculations-in-sdk-import`,children:`Calculations`}),` for details.`]})]}),_jsxs(ParamField,{body:`dimensions`,type:`array`,required:true,id:`param-dimensions`,children:[_jsx(_components.p,{children:`Array of dimension field names (strings) or dimension objects.`}),_jsxs(Expandable,{title:`dimension object`,children:[_jsx(ParamField,{body:`field`,type:`string`,required:true,id:`param-field-1`,children:_jsx(_components.p,{children:`Column name for grouping.`})}),_jsx(ParamField,{body:`isDate`,type:`boolean`,default:false,id:`param-is-date`,children:_jsx(_components.p,{children:`Whether this dimension is a date type.`})})]}),_jsxs(_components.p,{children:[`Shorthand: pass a string instead of an object (e.g., `,_jsx(_components.code,{children:`\"region\"`}),`).`]})]}),_jsx(ParamField,{body:`filters`,type:`array`,id:`param-filters`,children:_jsx(_components.p,{children:`Array of filter conditions applied to this chart.`})}),_jsx(ParamField,{body:`limit`,type:`number`,id:`param-limit`,children:_jsxs(_components.p,{children:[`Max number of rows to return. Defaults to `,_jsx(_components.code,{children:`100`}),` if not using `,_jsx(_components.code,{children:`filter`}),`.`]})}),_jsx(ParamField,{body:`sort`,type:`array`,id:`param-sort`,children:_jsxs(_components.p,{children:[`Sort configuration. Each item: `,_jsx(_components.code,{children:`{ \"field\": \"columnName\", \"direction\": \"asc\" | \"desc\" }`}),`.`]})}),_jsxs(ParamField,{body:`grid`,type:`object`,id:`param-grid`,children:[_jsxs(_components.p,{children:[`Chart position and size within the experiment grid. If omitted, auto-generated (KPIs: `,_jsx(_components.code,{children:`width: 3`}),` side-by-side, others: `,_jsx(_components.code,{children:`width: 12`}),` stacked vertically).`]}),_jsxs(Expandable,{title:`grid properties`,children:[_jsxs(ParamField,{body:`width`,type:`number`,id:`param-width`,children:[`Grid column span (1–12). Default: `,_jsx(_components.code,{children:`12`}),` (full width), `,_jsx(_components.code,{children:`3`}),` for KPI cards.`]}),_jsxs(ParamField,{body:`height`,type:`number`,id:`param-height`,children:[`Grid row span. Default: `,_jsx(_components.code,{children:`13`}),`, `,_jsx(_components.code,{children:`6`}),` for KPI cards.`]}),_jsxs(ParamField,{body:`x`,type:`number`,id:`param-x`,children:[`Column offset (0-based). Default: `,_jsx(_components.code,{children:`0`}),`.`]}),_jsx(ParamField,{body:`y`,type:`number`,id:`param-y`,children:`Row offset (0-based). Default: auto-calculated.`})]})]}),_jsxs(ParamField,{body:`display`,type:`object`,id:`param-display`,children:[_jsx(_components.p,{children:`Chart visual settings. If omitted, sensible defaults are applied.`}),_jsxs(Expandable,{title:`display properties`,children:[_jsx(ParamField,{body:`showValues`,type:`boolean`,default:true,id:`param-show-values`,children:`Show data values on the chart.`}),_jsx(ParamField,{body:`showLegend`,type:`boolean`,default:true,id:`param-show-legend`,children:`Show chart legend.`}),_jsx(ParamField,{body:`showTooltip`,type:`boolean`,default:false,id:`param-show-tooltip`,children:`Show hover tooltips.`}),_jsx(ParamField,{body:`showNull`,type:`boolean`,default:false,id:`param-show-null`,children:`Include null values.`}),_jsx(ParamField,{body:`enableZoom`,type:`boolean`,default:false,id:`param-enable-zoom`,children:`Enable chart zoom.`}),_jsx(ParamField,{body:`enableForecast`,type:`boolean`,default:false,id:`param-enable-forecast`,children:`Show forecast line.`}),_jsx(ParamField,{body:`showXScrollBar`,type:`boolean`,default:false,id:`param-show-x-scroll-bar`,children:`Show horizontal scrollbar.`}),_jsx(ParamField,{body:`showYScrollBar`,type:`boolean`,default:false,id:`param-show-y-scroll-bar`,children:`Show vertical scrollbar.`})]})]}),_jsx(ParamField,{body:`drillDown`,type:`string`,id:`param-drill-down`,children:_jsx(_components.p,{children:`Title of another chart in the same section to use as a drill-down source. Clicking the source chart filters this chart. Resolved to internal chart IDs during import.`})}),_jsxs(ParamField,{body:`card`,type:`object`,id:`param-card`,children:[_jsxs(_components.p,{children:[`KPI metric card styling. Only applicable for `,_jsx(_components.code,{children:`kpi`}),` / `,_jsx(_components.code,{children:`kpi-card`}),` chart types.`]}),_jsxs(Expandable,{title:`card properties`,children:[_jsxs(ParamField,{body:`icon`,type:`string`,id:`param-icon`,children:[`Icon component name (e.g., `,_jsx(_components.code,{children:`\"BsCurrencyDollar\"`}),`, `,_jsx(_components.code,{children:`\"ImCart\"`}),`).`]}),_jsxs(ParamField,{body:`color`,type:`string`,id:`param-color`,children:[`Primary icon/value color (hex, e.g., `,_jsx(_components.code,{children:`\"#237e11\"`}),`).`]}),_jsxs(ParamField,{body:`trendColor`,type:`string`,id:`param-trend-color`,children:[`Trend-up color (hex, e.g., `,_jsx(_components.code,{children:`\"#41d723\"`}),`).`]}),_jsxs(ParamField,{body:`trend`,type:`object`,id:`param-trend`,children:[_jsx(_components.p,{children:`Trend sparkline configuration for the KPI card.`}),_jsxs(Expandable,{title:`trend properties`,children:[_jsxs(ParamField,{body:`field`,type:`string`,required:true,id:`param-field-2`,children:[`Measure field to trend (e.g., `,_jsx(_components.code,{children:`\"Market Value\"`}),`).`]}),_jsxs(ParamField,{body:`dateField`,type:`string`,required:true,id:`param-date-field`,children:[`Date dimension for the trend x-axis (e.g., `,_jsx(_components.code,{children:`\"Position Date\"`}),`).`]}),_jsxs(ParamField,{body:`interval`,type:`string`,default:`Month`,id:`param-interval`,children:[`Trend grouping interval: `,_jsx(_components.code,{children:`\"Day\"`}),`, `,_jsx(_components.code,{children:`\"Week\"`}),`, `,_jsx(_components.code,{children:`\"Month\"`}),`, `,_jsx(_components.code,{children:`\"Quarter\"`}),`, `,_jsx(_components.code,{children:`\"Year\"`}),`.`]}),_jsxs(ParamField,{body:`format`,type:`string`,default:`percentage`,id:`param-format`,children:[`Trend display format: `,_jsx(_components.code,{children:`\"percentage\"`}),` (delta %), `,_jsx(_components.code,{children:`\"absolute\"`}),` (delta value), or `,_jsx(_components.code,{children:`\"value\"`}),`.`]})]})]})]})]}),_jsxs(ParamField,{body:`bubble`,type:`object`,id:`param-bubble`,children:[_jsxs(_components.p,{children:[`Bubble chart configuration. Only applicable for `,_jsx(_components.code,{children:`bubble`}),` chart type.`]}),_jsxs(Expandable,{title:`bubble properties`,children:[_jsx(ParamField,{body:`sizeField`,type:`string`,id:`param-size-field`,children:`Field that controls bubble size.`}),_jsx(ParamField,{body:`xAxis`,type:`string | object`,id:`param-x-axis`,children:_jsxs(_components.p,{children:[`X-axis field. Pass a string for the field name, or an object `,_jsx(_components.code,{children:`{\"field\": \"...\", \"type\": \"dimension\" | \"measure\"}`}),`.`]})}),_jsx(ParamField,{body:`yAxis`,type:`string | object`,id:`param-y-axis`,children:_jsxs(_components.p,{children:[`Y-axis field. Same format as `,_jsx(_components.code,{children:`xAxis`}),`.`]})}),_jsx(ParamField,{body:`colorField`,type:`string`,id:`param-color-field`,children:`Field that controls bubble color intensity.`}),_jsx(ParamField,{body:`colorRange`,type:`array`,id:`param-color-range`,children:_jsxs(_components.p,{children:[`Two-element array of hex colors for the min/max color gradient (e.g., `,_jsx(_components.code,{children:`[\"#98c1e7\", \"#1169bb\"]`}),`).`]})})]})]})]})]}),`\n`,_jsxs(ParamField,{body:`sections`,type:`array`,id:`param-sections`,children:[_jsxs(_components.p,{children:[`Array of section definitions. Use this for `,_jsx(_components.strong,{children:`multi-section mode`}),` (multiple experiments, category tabs).`]}),_jsxs(Expandable,{title:`section object`,children:[_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`Section name — appears as the category tab label.`})}),_jsx(ParamField,{body:`charts`,type:`array`,required:true,id:`param-charts-1`,children:_jsxs(_components.p,{children:[`Same chart array format as the top-level `,_jsx(_components.code,{children:`charts`}),` field.`]})}),_jsx(ParamField,{body:`topSection`,type:`boolean`,default:false,id:`param-top-section`,children:_jsxs(_components.p,{children:[`If `,_jsx(_components.code,{children:`true`}),`, this section’s charts render in the always-visible top section (ideal for KPI cards).`]})}),_jsx(ParamField,{body:`category`,type:`boolean`,default:false,id:`param-category`,children:_jsxs(_components.p,{children:[`If `,_jsx(_components.code,{children:`true`}),`, this section appears as a navigable category tab.`]})})]})]}),`\n`,_jsxs(ParamField,{body:`layout`,type:`object`,id:`param-layout`,children:[_jsx(_components.p,{children:`Layout configuration for the dashboard grid.`}),_jsxs(Expandable,{title:`layout properties`,children:[_jsx(ParamField,{body:`columns`,type:`number`,default:2,id:`param-columns`,children:_jsx(_components.p,{children:`Number of columns in the grid.`})}),_jsx(ParamField,{body:`chartHeight`,type:`string`,default:`380px`,id:`param-chart-height`,children:_jsx(_components.p,{children:`Default chart height.`})}),_jsx(ParamField,{body:`kpiHeight`,type:`string`,default:`180px`,id:`param-kpi-height`,children:_jsx(_components.p,{children:`Height for KPI cards in the top section.`})}),_jsx(ParamField,{body:`chartWidth`,type:`string`,default:`100%`,id:`param-chart-width`,children:_jsx(_components.p,{children:`Default chart width.`})})]})]}),`\n`,_jsx(ParamField,{body:`templateType`,type:`string`,id:`param-template-type`,children:_jsxs(_components.p,{children:[`Layout template type (e.g., `,_jsx(_components.code,{children:`\"realEstate\"`}),`). Used to resolve a layout template from the database.`]})}),`\n`,_jsx(ParamField,{body:`layoutTemplateName`,type:`string`,id:`param-layout-template-name`,children:_jsxs(_components.p,{children:[`Exact name of a layout template. Takes priority over `,_jsx(_components.code,{children:`templateType`}),`.`]})}),`\n`,_jsx(ParamField,{body:`category`,type:`array`,id:`param-category-1`,children:_jsxs(_components.p,{children:[`Dashboard categories (e.g., `,_jsx(_components.code,{children:`[\"BI\", \"Sales\"]`}),`).`]})}),`\n`,_jsx(ParamField,{body:`tags`,type:`array`,id:`param-tags`,children:_jsxs(_components.p,{children:[`Tags for the dashboard. `,_jsx(_components.code,{children:`\"sdk-import\"`}),` is always added automatically.`]})}),`\n`,_jsx(ParamField,{body:`isPublic`,type:`boolean`,default:true,id:`param-is-public`,children:_jsx(_components.p,{children:`Whether the dashboard is publicly visible.`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Whether the import succeeded.`})}),`\n`,_jsx(ResponseField,{name:`facadeId`,type:`string`,id:`param-facade-id`,children:_jsxs(_components.p,{children:[`The created facade ID (e.g., `,_jsx(_components.code,{children:`F2026A00018`}),`). Use this to view the dashboard in the UI.`]})}),`\n`,_jsxs(ResponseField,{name:`experiments`,type:`array`,id:`param-experiments`,children:[_jsx(_components.p,{children:`Array of created experiments.`}),_jsxs(Expandable,{title:`experiment object`,children:[_jsx(ResponseField,{name:`experimentId`,type:`string`,id:`param-experiment-id`,children:_jsxs(_components.p,{children:[`Experiment ID (e.g., `,_jsx(_components.code,{children:`E2026A00042`}),`).`]})}),_jsx(ResponseField,{name:`section`,type:`string`,id:`param-section`,children:_jsx(_components.p,{children:`Section name this experiment belongs to.`})}),_jsxs(ResponseField,{name:`charts`,type:`array`,id:`param-charts-2`,children:[_jsx(_components.p,{children:`Charts created within this experiment.`}),_jsxs(Expandable,{title:`chart object`,children:[_jsx(ResponseField,{name:`chartId`,type:`string`,id:`param-chart-id`,children:_jsxs(_components.p,{children:[`Chart identifier (e.g., `,_jsx(_components.code,{children:`chart_1`}),`).`]})}),_jsx(ResponseField,{name:`chartType`,type:`string`,id:`param-chart-type`,children:_jsxs(_components.p,{children:[`Resolved chart type code (e.g., `,_jsx(_components.code,{children:`CH00003`}),`).`]})}),_jsx(ResponseField,{name:`chartTitle`,type:`string`,id:`param-chart-title`,children:_jsx(_components.p,{children:`Chart display title.`})})]})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Import Dashboard","api":"POST /v1/sdk/import","description":"Create a complete dashboard with charts in a single API call (API key auth)","href":"/api-reference/import-dashboard","hidden":false}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Single-shot dashboard creation. Accepts a declarative payload describing charts, data source, and layout — returns experiment and facade IDs.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This endpoint uses `,_jsx(_components.strong,{children:`API key authentication`}),`. Pass your key via `,_jsx(_components.code,{children:`Authorization: Bearer trvh_sdk_...`}),` or `,_jsx(_components.code,{children:`x-api-key`}),` header.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Dashboard name displayed in the UI.`})}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Optional description for the dashboard.`})}),`\n`,_jsxs(ParamField,{body:`dataSource`,type:`object`,required:true,id:`param-data-source`,children:[_jsx(_components.p,{children:`The data source to query against.`}),_jsxs(Expandable,{title:`dataSource properties`,children:[_jsx(ParamField,{body:`dbId`,type:`string`,required:true,id:`param-db-id`,children:_jsxs(_components.p,{children:[`Database connection ID (e.g., `,_jsx(_components.code,{children:`D2026A00002`}),`).`]})}),_jsx(ParamField,{body:`vdmId`,type:`string`,id:`param-vdm-id`,children:_jsx(_components.p,{children:`Virtual Data Mart ID. When provided, field names are validated against VDM columns.`})}),_jsx(ParamField,{body:`connType`,type:`string`,default:`VDM`,id:`param-conn-type`,children:_jsxs(_components.p,{children:[`Connection type. Use `,_jsx(_components.code,{children:`\"VDM\"`}),` for Virtual Data Mart sources.`]})}),_jsx(ParamField,{body:`schemaName`,type:`string`,id:`param-schema-name`,children:_jsxs(_components.p,{children:[`Database schema name (e.g., `,_jsx(_components.code,{children:`\"public\"`}),`).`]})})]})]}),`\n`,_jsxs(ParamField,{body:`charts`,type:`array`,id:`param-charts`,children:[_jsxs(_components.p,{children:[`Array of chart definitions. Use this for `,_jsx(_components.strong,{children:`simple mode`}),` (single section).`]}),_jsxs(Expandable,{title:`chart object`,children:[_jsx(ParamField,{body:`title`,type:`string`,id:`param-title`,children:_jsx(_components.p,{children:`Display title of the chart.`})}),_jsx(ParamField,{body:`type`,type:`string`,required:true,id:`param-type`,children:_jsxs(_components.p,{children:[`Chart type — friendly name (e.g., `,_jsx(_components.code,{children:`column`}),`, `,_jsx(_components.code,{children:`pie`}),`, `,_jsx(_components.code,{children:`line`}),`, `,_jsx(_components.code,{children:`kpi`}),`) or CH code (e.g., `,_jsx(_components.code,{children:`CH00003`}),`). See `,_jsx(_components.a,{href:`/api-reference/get-chart-types`,children:`Get Chart Types`}),` for all options.`]})}),_jsxs(ParamField,{body:`measures`,type:`array`,required:true,id:`param-measures`,children:[_jsx(_components.p,{children:`Array of measure definitions.`}),_jsxs(Expandable,{title:`measure object`,children:[_jsx(ParamField,{body:`field`,type:`string`,required:true,id:`param-field`,children:_jsx(_components.p,{children:`Column name in the data source.`})}),_jsx(ParamField,{body:`aggregation`,type:`string`,default:`sum`,id:`param-aggregation`,children:_jsxs(_components.p,{children:[`Aggregation function: `,_jsx(_components.code,{children:`sum`}),`, `,_jsx(_components.code,{children:`count`}),`, `,_jsx(_components.code,{children:`average`}),` / `,_jsx(_components.code,{children:`avg`}),`, `,_jsx(_components.code,{children:`min`}),`, `,_jsx(_components.code,{children:`max`}),`, `,_jsx(_components.code,{children:`distinct`}),`, `,_jsx(_components.code,{children:`as-is`}),`.`]})})]}),_jsxs(_components.p,{children:[`Shorthand: pass a string instead of an object to use the default aggregation (e.g., `,_jsx(_components.code,{children:`\"revenue\"`}),` is equivalent to `,_jsx(_components.code,{children:`{\"field\": \"revenue\", \"aggregation\": \"sum\"}`}),`).`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Using calculations:`}),` To reference a pre-computed calculation (percentage of total, weighted average, etc.) from the VDM, use `,_jsx(_components.code,{children:`\"aggregation\": \"as-is\"`}),` with the calculation’s label as the `,_jsx(_components.code,{children:`field`}),`. See `,_jsx(_components.a,{href:`/calculations#using-calculations-in-sdk-import`,children:`Calculations`}),` for details.`]})]}),_jsxs(ParamField,{body:`dimensions`,type:`array`,required:true,id:`param-dimensions`,children:[_jsx(_components.p,{children:`Array of dimension field names (strings) or dimension objects.`}),_jsxs(Expandable,{title:`dimension object`,children:[_jsx(ParamField,{body:`field`,type:`string`,required:true,id:`param-field-1`,children:_jsx(_components.p,{children:`Column name for grouping.`})}),_jsx(ParamField,{body:`isDate`,type:`boolean`,default:false,id:`param-is-date`,children:_jsx(_components.p,{children:`Whether this dimension is a date type.`})})]}),_jsxs(_components.p,{children:[`Shorthand: pass a string instead of an object (e.g., `,_jsx(_components.code,{children:`\"region\"`}),`).`]})]}),_jsx(ParamField,{body:`filters`,type:`array`,id:`param-filters`,children:_jsx(_components.p,{children:`Array of filter conditions applied to this chart.`})}),_jsx(ParamField,{body:`limit`,type:`number`,id:`param-limit`,children:_jsxs(_components.p,{children:[`Max number of rows to return. Defaults to `,_jsx(_components.code,{children:`100`}),` if not using `,_jsx(_components.code,{children:`filter`}),`.`]})}),_jsx(ParamField,{body:`sort`,type:`array`,id:`param-sort`,children:_jsxs(_components.p,{children:[`Sort configuration. Each item: `,_jsx(_components.code,{children:`{ \"field\": \"columnName\", \"direction\": \"asc\" | \"desc\" }`}),`.`]})}),_jsxs(ParamField,{body:`grid`,type:`object`,id:`param-grid`,children:[_jsxs(_components.p,{children:[`Chart position and size within the experiment grid. If omitted, auto-generated (KPIs: `,_jsx(_components.code,{children:`width: 3`}),` side-by-side, others: `,_jsx(_components.code,{children:`width: 12`}),` stacked vertically).`]}),_jsxs(Expandable,{title:`grid properties`,children:[_jsxs(ParamField,{body:`width`,type:`number`,id:`param-width`,children:[`Grid column span (1–12). Default: `,_jsx(_components.code,{children:`12`}),` (full width), `,_jsx(_components.code,{children:`3`}),` for KPI cards.`]}),_jsxs(ParamField,{body:`height`,type:`number`,id:`param-height`,children:[`Grid row span. Default: `,_jsx(_components.code,{children:`13`}),`, `,_jsx(_components.code,{children:`6`}),` for KPI cards.`]}),_jsxs(ParamField,{body:`x`,type:`number`,id:`param-x`,children:[`Column offset (0-based). Default: `,_jsx(_components.code,{children:`0`}),`.`]}),_jsx(ParamField,{body:`y`,type:`number`,id:`param-y`,children:`Row offset (0-based). Default: auto-calculated.`})]})]}),_jsxs(ParamField,{body:`display`,type:`object`,id:`param-display`,children:[_jsx(_components.p,{children:`Chart visual settings. If omitted, sensible defaults are applied.`}),_jsxs(Expandable,{title:`display properties`,children:[_jsx(ParamField,{body:`showValues`,type:`boolean`,default:true,id:`param-show-values`,children:`Show data values on the chart.`}),_jsx(ParamField,{body:`showLegend`,type:`boolean`,default:true,id:`param-show-legend`,children:`Show chart legend.`}),_jsx(ParamField,{body:`showTooltip`,type:`boolean`,default:false,id:`param-show-tooltip`,children:`Show hover tooltips.`}),_jsx(ParamField,{body:`showNull`,type:`boolean`,default:false,id:`param-show-null`,children:`Include null values.`}),_jsx(ParamField,{body:`enableZoom`,type:`boolean`,default:false,id:`param-enable-zoom`,children:`Enable chart zoom.`}),_jsx(ParamField,{body:`enableForecast`,type:`boolean`,default:false,id:`param-enable-forecast`,children:`Show forecast line.`}),_jsx(ParamField,{body:`showXScrollBar`,type:`boolean`,default:false,id:`param-show-x-scroll-bar`,children:`Show horizontal scrollbar.`}),_jsx(ParamField,{body:`showYScrollBar`,type:`boolean`,default:false,id:`param-show-y-scroll-bar`,children:`Show vertical scrollbar.`})]})]}),_jsx(ParamField,{body:`drillDown`,type:`string`,id:`param-drill-down`,children:_jsx(_components.p,{children:`Title of another chart in the same section to use as a drill-down source. Clicking the source chart filters this chart. Resolved to internal chart IDs during import.`})}),_jsxs(ParamField,{body:`card`,type:`object`,id:`param-card`,children:[_jsxs(_components.p,{children:[`KPI metric card styling. Only applicable for `,_jsx(_components.code,{children:`kpi`}),` / `,_jsx(_components.code,{children:`kpi-card`}),` chart types.`]}),_jsxs(Expandable,{title:`card properties`,children:[_jsxs(ParamField,{body:`icon`,type:`string`,id:`param-icon`,children:[`Icon component name (e.g., `,_jsx(_components.code,{children:`\"BsCurrencyDollar\"`}),`, `,_jsx(_components.code,{children:`\"ImCart\"`}),`).`]}),_jsxs(ParamField,{body:`color`,type:`string`,id:`param-color`,children:[`Primary icon/value color (hex, e.g., `,_jsx(_components.code,{children:`\"#237e11\"`}),`).`]}),_jsxs(ParamField,{body:`trendColor`,type:`string`,id:`param-trend-color`,children:[`Trend-up color (hex, e.g., `,_jsx(_components.code,{children:`\"#41d723\"`}),`).`]}),_jsxs(ParamField,{body:`trend`,type:`object`,id:`param-trend`,children:[_jsx(_components.p,{children:`Trend sparkline configuration for the KPI card.`}),_jsxs(Expandable,{title:`trend properties`,children:[_jsxs(ParamField,{body:`field`,type:`string`,required:true,id:`param-field-2`,children:[`Measure field to trend (e.g., `,_jsx(_components.code,{children:`\"Market Value\"`}),`).`]}),_jsxs(ParamField,{body:`dateField`,type:`string`,required:true,id:`param-date-field`,children:[`Date dimension for the trend x-axis (e.g., `,_jsx(_components.code,{children:`\"Position Date\"`}),`).`]}),_jsxs(ParamField,{body:`interval`,type:`string`,default:`Month`,id:`param-interval`,children:[`Trend grouping interval: `,_jsx(_components.code,{children:`\"Day\"`}),`, `,_jsx(_components.code,{children:`\"Week\"`}),`, `,_jsx(_components.code,{children:`\"Month\"`}),`, `,_jsx(_components.code,{children:`\"Quarter\"`}),`, `,_jsx(_components.code,{children:`\"Year\"`}),`.`]}),_jsxs(ParamField,{body:`format`,type:`string`,default:`percentage`,id:`param-format`,children:[`Trend display format: `,_jsx(_components.code,{children:`\"percentage\"`}),` (delta %), `,_jsx(_components.code,{children:`\"absolute\"`}),` (delta value), or `,_jsx(_components.code,{children:`\"value\"`}),`.`]})]})]})]})]}),_jsxs(ParamField,{body:`bubble`,type:`object`,id:`param-bubble`,children:[_jsxs(_components.p,{children:[`Bubble chart configuration. Only applicable for `,_jsx(_components.code,{children:`bubble`}),` chart type.`]}),_jsxs(Expandable,{title:`bubble properties`,children:[_jsx(ParamField,{body:`sizeField`,type:`string`,id:`param-size-field`,children:`Field that controls bubble size.`}),_jsx(ParamField,{body:`xAxis`,type:`string | object`,id:`param-x-axis`,children:_jsxs(_components.p,{children:[`X-axis field. Pass a string for the field name, or an object `,_jsx(_components.code,{children:`{\"field\": \"...\", \"type\": \"dimension\" | \"measure\"}`}),`.`]})}),_jsx(ParamField,{body:`yAxis`,type:`string | object`,id:`param-y-axis`,children:_jsxs(_components.p,{children:[`Y-axis field. Same format as `,_jsx(_components.code,{children:`xAxis`}),`.`]})}),_jsx(ParamField,{body:`colorField`,type:`string`,id:`param-color-field`,children:`Field that controls bubble color intensity.`}),_jsx(ParamField,{body:`colorRange`,type:`array`,id:`param-color-range`,children:_jsxs(_components.p,{children:[`Two-element array of hex colors for the min/max color gradient (e.g., `,_jsx(_components.code,{children:`[\"#98c1e7\", \"#1169bb\"]`}),`).`]})})]})]})]})]}),`\n`,_jsxs(ParamField,{body:`sections`,type:`array`,id:`param-sections`,children:[_jsxs(_components.p,{children:[`Array of section definitions. Use this for `,_jsx(_components.strong,{children:`multi-section mode`}),` (multiple experiments, category tabs).`]}),_jsxs(Expandable,{title:`section object`,children:[_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`Section name — appears as the category tab label.`})}),_jsx(ParamField,{body:`charts`,type:`array`,required:true,id:`param-charts-1`,children:_jsxs(_components.p,{children:[`Same chart array format as the top-level `,_jsx(_components.code,{children:`charts`}),` field.`]})}),_jsx(ParamField,{body:`topSection`,type:`boolean`,default:false,id:`param-top-section`,children:_jsxs(_components.p,{children:[`If `,_jsx(_components.code,{children:`true`}),`, this section’s charts render in the always-visible top section (ideal for KPI cards).`]})}),_jsx(ParamField,{body:`category`,type:`boolean`,default:false,id:`param-category`,children:_jsxs(_components.p,{children:[`If `,_jsx(_components.code,{children:`true`}),`, this section appears as a navigable category tab.`]})})]})]}),`\n`,_jsxs(ParamField,{body:`layout`,type:`object`,id:`param-layout`,children:[_jsx(_components.p,{children:`Layout configuration for the dashboard grid.`}),_jsxs(Expandable,{title:`layout properties`,children:[_jsx(ParamField,{body:`columns`,type:`number`,default:2,id:`param-columns`,children:_jsx(_components.p,{children:`Number of columns in the grid.`})}),_jsx(ParamField,{body:`chartHeight`,type:`string`,default:`380px`,id:`param-chart-height`,children:_jsx(_components.p,{children:`Default chart height.`})}),_jsx(ParamField,{body:`kpiHeight`,type:`string`,default:`180px`,id:`param-kpi-height`,children:_jsx(_components.p,{children:`Height for KPI cards in the top section.`})}),_jsx(ParamField,{body:`chartWidth`,type:`string`,default:`100%`,id:`param-chart-width`,children:_jsx(_components.p,{children:`Default chart width.`})})]})]}),`\n`,_jsx(ParamField,{body:`templateType`,type:`string`,id:`param-template-type`,children:_jsxs(_components.p,{children:[`Layout template type (e.g., `,_jsx(_components.code,{children:`\"realEstate\"`}),`). Used to resolve a layout template from the database.`]})}),`\n`,_jsx(ParamField,{body:`layoutTemplateName`,type:`string`,id:`param-layout-template-name`,children:_jsxs(_components.p,{children:[`Exact name of a layout template. Takes priority over `,_jsx(_components.code,{children:`templateType`}),`.`]})}),`\n`,_jsx(ParamField,{body:`category`,type:`array`,id:`param-category-1`,children:_jsxs(_components.p,{children:[`Dashboard categories (e.g., `,_jsx(_components.code,{children:`[\"BI\", \"Sales\"]`}),`).`]})}),`\n`,_jsx(ParamField,{body:`tags`,type:`array`,id:`param-tags`,children:_jsxs(_components.p,{children:[`Tags for the dashboard. `,_jsx(_components.code,{children:`\"sdk-import\"`}),` is always added automatically.`]})}),`\n`,_jsx(ParamField,{body:`isPublic`,type:`boolean`,default:true,id:`param-is-public`,children:_jsx(_components.p,{children:`Whether the dashboard is publicly visible.`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Whether the import succeeded.`})}),`\n`,_jsx(ResponseField,{name:`facadeId`,type:`string`,id:`param-facade-id`,children:_jsxs(_components.p,{children:[`The created facade ID (e.g., `,_jsx(_components.code,{children:`F2026A00018`}),`). Use this to view the dashboard in the UI.`]})}),`\n`,_jsxs(ResponseField,{name:`experiments`,type:`array`,id:`param-experiments`,children:[_jsx(_components.p,{children:`Array of created experiments.`}),_jsxs(Expandable,{title:`experiment object`,children:[_jsx(ResponseField,{name:`experimentId`,type:`string`,id:`param-experiment-id`,children:_jsxs(_components.p,{children:[`Experiment ID (e.g., `,_jsx(_components.code,{children:`E2026A00042`}),`).`]})}),_jsx(ResponseField,{name:`section`,type:`string`,id:`param-section`,children:_jsx(_components.p,{children:`Section name this experiment belongs to.`})}),_jsxs(ResponseField,{name:`charts`,type:`array`,id:`param-charts-2`,children:[_jsx(_components.p,{children:`Charts created within this experiment.`}),_jsxs(Expandable,{title:`chart object`,children:[_jsx(ResponseField,{name:`chartId`,type:`string`,id:`param-chart-id`,children:_jsxs(_components.p,{children:[`Chart identifier (e.g., `,_jsx(_components.code,{children:`chart_1`}),`).`]})}),_jsx(ResponseField,{name:`chartType`,type:`string`,id:`param-chart-type`,children:_jsxs(_components.p,{children:[`Resolved chart type code (e.g., `,_jsx(_components.code,{children:`CH00003`}),`).`]})}),_jsx(ResponseField,{name:`chartTitle`,type:`string`,id:`param-chart-title`,children:_jsx(_components.p,{children:`Chart display title.`})})]})]})]})]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`Simple Mode`,numberOfLines:`21`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`21`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`your-instanc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/v1/sdk/import`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer trvh_sdk_your_key_here\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Revenue Dashboard\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dataSource\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dbId\": \"D2026A00002\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"vdmId\": \"VDM2026A00001\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"connType\": \"VDM\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"charts\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"title\": \"Revenue by Region\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"column\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"measures\": [{\"field\": \"revenue\", \"aggregation\": \"sum\"}],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dimensions\": [\"region\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"category\": [\"Sales\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"tags\": [\"quarterly\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Sections with Layout \u0026 Interactions`,numberOfLines:`51`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`51`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`your-instanc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/v1/sdk/import`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer trvh_sdk_your_key_here\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Executive Dashboard\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dataSource\": {\"dbId\": \"D2026A00002\", \"vdmId\": \"VDM2026A00001\", \"connType\": \"VDM\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"templateType\": \"realEstate\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"sections\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"KPIs\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"topSection\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"charts\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"title\": \"Total Revenue\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"kpi\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"measures\": [{\"field\": \"revenue\", \"aggregation\": \"sum\"}],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dimensions\": [\"period\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"grid\": {\"width\": 3, \"height\": 6, \"x\": 0, \"y\": 0},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"card\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"icon\": \"BsCurrencyDollar\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"color\": \"#237e11\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"trend\": {\"field\": \"revenue\", \"dateField\": \"order_date\", \"interval\": \"Month\", \"format\": \"percentage\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Sales\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"category\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"charts\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"title\": \"Revenue by Region\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"donut\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"measures\": [{\"field\": \"revenue\", \"aggregation\": \"sum\"}],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dimensions\": [\"region\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"grid\": {\"width\": 4, \"height\": 13, \"x\": 0, \"y\": 0},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"display\": {\"showValues\": true, \"showLegend\": true}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"title\": \"Revenue by Product\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"column\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"measures\": [{\"field\": \"revenue\", \"aggregation\": \"sum\"}],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dimensions\": [\"product\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"drillDown\": \"Revenue by Region\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"grid\": {\"width\": 8, \"height\": 13, \"x\": 4, \"y\": 0},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"sort\": [{\"field\": \"revenue\", \"direction\": \"desc\"}]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`201 Created`,numberOfLines:`17`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`17`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"facadeId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"F2026A00018\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"experiments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"experimentId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"E2026A00042\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"section\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Revenue Dashboard\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"charts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"chartId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"chart_1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"chartType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CH00003\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"chartTitle\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Revenue by Region\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400 Bad Request`,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Request body must include a non-empty 'charts' array or 'sections' array with charts\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`401 Unauthorized`,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"API key required\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Import Dashboard","api":"POST /v1/sdk/import","description":"Create a complete dashboard with charts in a single API call (API key auth)","href":"/api-reference/import-dashboard","hidden":false}}}},"mdxExtracts":{"tableOfContents":[{"title":"Request Body","slug":"request-body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Simple Mode","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"21\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">\u0026#x3C;\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">your-instanc\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">e\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">>\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">/v1/sdk/import\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer trvh_sdk_your_key_here\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"Revenue Dashboard\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"dataSource\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"dbId\": \"D2026A00002\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"vdmId\": \"VDM2026A00001\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"connType\": \"VDM\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"charts\": [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"title\": \"Revenue by Region\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"type\": \"column\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"measures\": [{\"field\": \"revenue\", \"aggregation\": \"sum\"}],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"dimensions\": [\"region\"]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"category\": [\"Sales\"],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"tags\": [\"quarterly\"]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Sections with Layout \u0026 Interactions","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"51\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">\u0026#x3C;\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">your-instanc\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">e\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">>\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">/v1/sdk/import\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer trvh_sdk_your_key_here\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"Executive Dashboard\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"dataSource\": {\"dbId\": \"D2026A00002\", \"vdmId\": \"VDM2026A00001\", \"connType\": \"VDM\"},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"templateType\": \"realEstate\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"sections\": [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"KPIs\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"topSection\": true,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"charts\": [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"title\": \"Total Revenue\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"type\": \"kpi\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"measures\": [{\"field\": \"revenue\", \"aggregation\": \"sum\"}],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"dimensions\": [\"period\"],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"grid\": {\"width\": 3, \"height\": 6, \"x\": 0, \"y\": 0},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"card\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"icon\": \"BsCurrencyDollar\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"color\": \"#237e11\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"trend\": {\"field\": \"revenue\", \"dateField\": \"order_date\", \"interval\": \"Month\", \"format\": \"percentage\"}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"Sales\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"category\": true,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"charts\": [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"title\": \"Revenue by Region\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"type\": \"donut\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"measures\": [{\"field\": \"revenue\", \"aggregation\": \"sum\"}],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"dimensions\": [\"region\"],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"grid\": {\"width\": 4, \"height\": 13, \"x\": 0, \"y\": 0},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"display\": {\"showValues\": true, \"showLegend\": true}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"title\": \"Revenue by Product\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"type\": \"column\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"measures\": [{\"field\": \"revenue\", \"aggregation\": \"sum\"}],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"dimensions\": [\"product\"],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"drillDown\": \"Revenue by Region\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"grid\": {\"width\": 8, \"height\": 13, \"x\": 4, \"y\": 0},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"sort\": [{\"field\": \"revenue\", \"direction\": \"desc\"}]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"201 Created","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"17\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"facadeId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"F2026A00018\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"experiments\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"experimentId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"E2026A00042\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"section\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Revenue Dashboard\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"charts\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"chartId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"chart_1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"chartType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"CH00003\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"chartTitle\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Revenue by Region\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400 Bad Request","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Request body must include a non-empty 'charts' array or 'sections' array with charts\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"401 Unauthorized","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"API key required\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Import Dashboard","path":"/v1/sdk/import","method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"name":[{"type":"string","description":"Dashboard name displayed in the UI.","required":true}],"description":[{"type":"string","description":"Optional description for the dashboard."}],"dataSource":[{"type":"object","properties":{"dbId":[{"type":"string","description":"Database connection ID (e.g., `D2026A00002` ).","required":true}],"vdmId":[{"type":"string","description":"Virtual Data Mart ID. When provided, field names are validated against VDM columns."}],"connType":[{"type":"string","description":"Connection type. Use `\"VDM\"` for Virtual Data Mart sources."}],"schemaName":[{"type":"string","description":"Database schema name (e.g., `\"public\"` )."}]},"description":"The data source to query against.","required":true}],"charts":[{"type":"array","items":[{"type":"object","properties":{"title":[{"type":"string","description":"Display title of the chart."}],"type":[{"type":"string","description":"Chart type — friendly name (e.g., `column` , `pie` , `line` , `kpi` ) or CH code (e.g., `CH00003` ). See Get Chart Types for all options.","required":true}],"measures":[{"type":"array","items":[{"type":"object","properties":{"field":[{"type":"string","description":"Column name in the data source.","required":true}],"aggregation":[{"type":"string","description":"Aggregation function: `sum` , `count` , `average` / `avg` , `min` , `max` , `distinct` , `as-is` ."}]}}],"description":"Array of measure definitions. Shorthand: pass a string instead of an object to use the default aggregation (e.g., `\"revenue\"` is equivalent to `{\"field\": \"revenue\", \"aggregation\": \"sum\"}` ). Using calculations: To reference a pre-computed calculation (percentage of total, weighted average, etc.) from the VDM, use `\"aggregation\": \"as-is\"` with the calculation’s label as the `field` . See Calculations for details.","required":true}],"dimensions":[{"type":"array","items":[{"type":"object","properties":{"field":[{"type":"string","description":"Column name for grouping.","required":true}],"isDate":[{"type":"boolean","description":"Whether this dimension is a date type."}]}}],"description":"Array of dimension field names (strings) or dimension objects. Shorthand: pass a string instead of an object (e.g., `\"region\"` ).","required":true}],"filters":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array of filter conditions applied to this chart."}],"limit":[{"type":"number","description":"Max number of rows to return. Defaults to `100` if not using `filter` ."}],"sort":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Sort configuration. Each item: `{ \"field\": \"columnName\", \"direction\": \"asc\" | \"desc\" }` ."}],"grid":[{"type":"object","properties":{"width":[{"type":"number","description":"Grid column span (1–12). Default: `12` (full width), `3` for KPI cards."}],"height":[{"type":"number","description":"Grid row span. Default: `13` , `6` for KPI cards."}],"x":[{"type":"number","description":"Column offset (0-based). Default: `0` ."}],"y":[{"type":"number","description":"Row offset (0-based). Default: auto-calculated."}]},"description":"Chart position and size within the experiment grid. If omitted, auto-generated (KPIs: `width: 3` side-by-side, others: `width: 12` stacked vertically)."}],"display":[{"type":"object","properties":{"showValues":[{"type":"boolean","description":"Show data values on the chart."}],"showLegend":[{"type":"boolean","description":"Show chart legend."}],"showTooltip":[{"type":"boolean","description":"Show hover tooltips."}],"showNull":[{"type":"boolean","description":"Include null values."}],"enableZoom":[{"type":"boolean","description":"Enable chart zoom."}],"enableForecast":[{"type":"boolean","description":"Show forecast line."}],"showXScrollBar":[{"type":"boolean","description":"Show horizontal scrollbar."}],"showYScrollBar":[{"type":"boolean","description":"Show vertical scrollbar."}]},"description":"Chart visual settings. If omitted, sensible defaults are applied."}],"drillDown":[{"type":"string","description":"Title of another chart in the same section to use as a drill-down source. Clicking the source chart filters this chart. Resolved to internal chart IDs during import."}],"card":[{"type":"object","properties":{"icon":[{"type":"string","description":"Icon component name (e.g., `\"BsCurrencyDollar\"` , `\"ImCart\"` )."}],"color":[{"type":"string","description":"Primary icon/value color (hex, e.g., `\"#237e11\"` )."}],"trendColor":[{"type":"string","description":"Trend-up color (hex, e.g., `\"#41d723\"` )."}],"trend":[{"type":"object","properties":{"field":[{"type":"string","description":"Measure field to trend (e.g., `\"Market Value\"` ).","required":true}],"dateField":[{"type":"string","description":"Date dimension for the trend x-axis (e.g., `\"Position Date\"` ).","required":true}],"interval":[{"type":"string","description":"Trend grouping interval: `\"Day\"` , `\"Week\"` , `\"Month\"` , `\"Quarter\"` , `\"Year\"` ."}],"format":[{"type":"string","description":"Trend display format: `\"percentage\"` (delta %), `\"absolute\"` (delta value), or `\"value\"` ."}]},"description":"Trend sparkline configuration for the KPI card."}]},"description":"KPI metric card styling. Only applicable for `kpi` / `kpi-card` chart types."}],"bubble":[{"type":"object","properties":{"sizeField":[{"type":"string","description":"Field that controls bubble size."}],"xAxis":[{"type":"object","properties":{},"description":"X-axis field. Pass a string for the field name, or an object `{\"field\": \"...\", \"type\": \"dimension\" | \"measure\"}` ."}],"yAxis":[{"type":"object","properties":{},"description":"Y-axis field. Same format as `xAxis` ."}],"colorField":[{"type":"string","description":"Field that controls bubble color intensity."}],"colorRange":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Two-element array of hex colors for the min/max color gradient (e.g., `[\"#98c1e7\", \"#1169bb\"]` )."}]},"description":"Bubble chart configuration. Only applicable for `bubble` chart type."}]}}],"description":"Array of chart definitions. Use this for simple mode (single section)."}],"sections":[{"type":"array","items":[{"type":"object","properties":{"name":[{"type":"string","description":"Section name — appears as the category tab label."}],"charts":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Same chart array format as the top-level `charts` field.","required":true}],"topSection":[{"type":"boolean","description":"If `true` , this section’s charts render in the always-visible top section (ideal for KPI cards)."}],"category":[{"type":"boolean","description":"If `true` , this section appears as a navigable category tab."}]}}],"description":"Array of section definitions. Use this for multi-section mode (multiple experiments, category tabs)."}],"layout":[{"type":"object","properties":{"columns":[{"type":"number","description":"Number of columns in the grid."}],"chartHeight":[{"type":"string","description":"Default chart height."}],"kpiHeight":[{"type":"string","description":"Height for KPI cards in the top section."}],"chartWidth":[{"type":"string","description":"Default chart width."}]},"description":"Layout configuration for the dashboard grid."}],"templateType":[{"type":"string","description":"Layout template type (e.g., `\"realEstate\"` ). Used to resolve a layout template from the database."}],"layoutTemplateName":[{"type":"string","description":"Exact name of a layout template. Takes priority over `templateType` ."}],"category":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Dashboard categories (e.g., `[\"BI\", \"Sales\"]` )."}],"tags":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Tags for the dashboard. `\"sdk-import\"` is always added automatically."}],"isPublic":[{"type":"boolean","description":"Whether the dashboard is publicly visible."}]}}],"examples":{"example":{"value":{"name":"\u003cstring>","description":"\u003cstring>","dataSource":{"dbId":"\u003cstring>","vdmId":"\u003cstring>","connType":"\u003cstring>","schemaName":"\u003cstring>"},"charts":[{"title":"\u003cstring>","type":"\u003cstring>","measures":[{"field":"\u003cstring>","aggregation":"\u003cstring>"}],"dimensions":[{"field":"\u003cstring>","isDate":true}],"filters":[{}],"limit":123,"sort":[{}],"grid":{"width":123,"height":123,"x":123,"y":123},"display":{"showValues":true,"showLegend":true,"showTooltip":true,"showNull":true,"enableZoom":true,"enableForecast":true,"showXScrollBar":true,"showYScrollBar":true},"drillDown":"\u003cstring>","card":{"icon":"\u003cstring>","color":"\u003cstring>","trendColor":"\u003cstring>","trend":{"field":"\u003cstring>","dateField":"\u003cstring>","interval":"\u003cstring>","format":"\u003cstring>"}},"bubble":{"sizeField":"\u003cstring>","xAxis":{},"yAxis":{},"colorField":"\u003cstring>","colorRange":[{}]}}],"sections":[{"name":"\u003cstring>","charts":[{}],"topSection":true,"category":true}],"layout":{"columns":123,"chartHeight":"\u003cstring>","kpiHeight":"\u003cstring>","chartWidth":"\u003cstring>"},"templateType":"\u003cstring>","layoutTemplateName":"\u003cstring>","category":[{}],"tags":[{}],"isPublic":true}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"boolean","description":"Whether the import succeeded."}],"facadeId":[{"type":"string","description":"The created facade ID (e.g., `F2026A00018` ). Use this to view the dashboard in the UI."}],"experiments":[{"type":"array","items":[{"type":"object","properties":{"experimentId":[{"type":"string","description":"Experiment ID (e.g., `E2026A00042` )."}],"section":[{"type":"string","description":"Section name this experiment belongs to."}],"charts":[{"type":"array","items":[{"type":"object","properties":{"chartId":[{"type":"string","description":"Chart identifier (e.g., `chart_1` )."}],"chartType":[{"type":"string","description":"Resolved chart type code (e.g., `CH00003` )."}],"chartTitle":[{"type":"string","description":"Chart display title."}]}}],"description":"Charts created within this experiment."}]}}],"description":"Array of created experiments."}]}}],"examples":{"example":{"value":{"success":true,"facadeId":"\u003cstring>","experiments":[{"experimentId":"\u003cstring>","section":"\u003cstring>","charts":[{"chartId":"\u003cstring>","chartType":"\u003cstring>","chartTitle":"\u003cstring>"}]}]}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"centalapps","siteName":"Tarvah","title":"Import Dashboard - Tarvah","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-18T11:39:53.013Z","originalFileLocation":"api-reference/import-dashboard.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a complete dashboard with charts in a single API call (API key auth)\">\u003cmeta data-mint-head name=\"application-name\" content=\"Tarvah\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/centalapps/GrtuAi3n6Oev7m7Y/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/centalapps/GrtuAi3n6Oev7m7Y/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/centalapps/GrtuAi3n6Oev7m7Y/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/centalapps/GrtuAi3n6Oev7m7Y/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/centalapps/GrtuAi3n6Oev7m7Y/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/centalapps/GrtuAi3n6Oev7m7Y/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/centalapps/GrtuAi3n6Oev7m7Y/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/centalapps/GrtuAi3n6Oev7m7Y/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/centalapps/GrtuAi3n6Oev7m7Y/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Import Dashboard - Tarvah\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a complete dashboard with charts in a single API call (API key auth)\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Tarvah\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tarvah.com/api-reference/import-dashboard\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://centalapps.mintlify.site/_mintlify/api/og/v2?division=SDK+API\u0026amp;title=Import+Dashboard\u0026amp;description=Create+a+complete+dashboard+with+charts+in+a+single+API+call+%28API+key+auth%29\u0026amp;theme=6ea3f49009950d40abb2cc32\u0026amp;signature=5950f09131311287a4acc3a2602a684a48137a33166c97ce7ef97173bd9e479b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Import Dashboard - Tarvah\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a complete dashboard with charts in a single API call (API key auth)\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://centalapps.mintlify.site/_mintlify/api/og/v2?division=SDK+API\u0026amp;title=Import+Dashboard\u0026amp;description=Create+a+complete+dashboard+with+charts+in+a+single+API+call+%28API+key+auth%29\u0026amp;theme=6ea3f49009950d40abb2cc32\u0026amp;signature=5950f09131311287a4acc3a2602a684a48137a33166c97ce7ef97173bd9e479b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/centalapps/GrtuAi3n6Oev7m7Y/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Tarvah\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tarvah.com/api-reference/import-dashboard\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/import-dashboard.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tarvah.com/#organization\",\"name\":\"Tarvah\",\"url\":\"https://docs.tarvah.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/centalapps/QHyWCJjS20Dkt51Q/logo/light.svg?fit=max\u0026auto=format\u0026n=QHyWCJjS20Dkt51Q\u0026q=85\u0026s=50f4305be57852731b09fb1123903217\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tarvah.com#website\",\"name\":\"Tarvah\",\"url\":\"https://docs.tarvah.com\",\"publisher\":{\"@id\":\"https://docs.tarvah.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tarvah.com/api-reference/import-dashboard#webpage\",\"url\":\"https://docs.tarvah.com/api-reference/import-dashboard\",\"name\":\"Import Dashboard\",\"description\":\"Create a complete dashboard with charts in a single API call (API key auth)\",\"dateModified\":\"2026-03-18T11:39:53.013Z\",\"isPartOf\":{\"@id\":\"https://docs.tarvah.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tarvah.com/api-reference/import-dashboard#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tarvah.com/api-reference/import-dashboard#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tarvah\",\"item\":\"https://docs.tarvah.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Import Dashboard\",\"item\":\"https://docs.tarvah.com/api-reference/import-dashboard\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tarvah.com/api-reference/import-dashboard#apireference\",\"headline\":\"Import Dashboard\",\"name\":\"Import Dashboard\",\"description\":\"Create a complete dashboard with charts in a single API call (API key auth)\",\"url\":\"https://docs.tarvah.com/api-reference/import-dashboard\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tarvah.com/api-reference/import-dashboard#webpage\"},\"dateModified\":\"2026-03-18T11:39:53.013Z\",\"publisher\":{\"@id\":\"https://docs.tarvah.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tarvah.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Tarvah\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Tarvah\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/import-dashboard.md","siteName":"Tarvah","nav":{"global":null,"tabs":[{"tab":"Getting Started","pages":[{"title":"Getting Started","href":"/introduction"}]},{"tab":"API Reference","icon":"square-terminal","groups":[{"group":"SDK API","pages":[{"title":"Import Dashboard","api":"POST /v1/sdk/import","href":"/api-reference/import-dashboard"},{"title":"Import Data Pipeline","api":"POST /v1/sdk/import-pipeline","description":"Create a complete data pipeline from a JSON definition (API key auth)","href":"/api-reference/import-pipeline"},{"title":"Client Onboard","api":"POST /v1/sdk/client/onboard","href":"/api-reference/onboard-client"},{"title":"Get Chart Types","api":"GET /v1/sdk/chart-types","href":"/api-reference/get-chart-types"}]},{"group":"BI Administration API","pages":[{"title":"List Clients","api":"GET /v1/bi/admin/clients/{userId}","href":"/api-reference/list-clients"},{"title":"Get Client","api":"GET /v1/bi/admin/clients/{clientId}/{userId}","href":"/api-reference/get-client"}]}]},{"tab":"Concepts","icon":"book","pages":[{"title":"Concepts","href":"/hierarchy-configuration"}]}]},"basePath":"","title":"Import Dashboard - Tarvah","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BgGj2PGS.js","utils-BhNOqRKb.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BAgRNUZo.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CGkb0TPw.js","snippetPresets-ChLkL1a6.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-Ef10Jrbx.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DlVCnjU8.js","shallow-BA55zJxQ.js","getApiPlaygroundDisplay-DR09dKtp.js","CodeSnippet-BZ8J8Kll.js","CodeSnippets-CcguVheG.js","Page-C7x-eUfk.js","getPastedJson-D5UqeqBp.js","icon-DpD0l99C.js","MethodPill-Wg2NXsp_.js","DuplicateIcon-CCSyX8lh.js","createIcon-C4Ukv9HX.js","DynamicMarkdown-RhjEuCHC.js","SectionHeading-DL1MykRq.js","axios-vUo_bRtp.js"]}