Skip to main content

Prerequisites

  • A Tarvah instance with the SDK routes enabled
  • An API key (create one here)
  • A data source (database connection ID or VDM ID)

Step 1: Get your chart types

First, check available chart types and aggregations:
This returns the full mapping of friendly names (like column, pie, line) to internal chart codes.

Step 2: Create a simple dashboard

Step 3: Create a multi-section dashboard

Use the sections array for dashboards with KPI cards and category tabs:
This creates:
  • A top section with KPI cards (always visible)
  • Category tabs for “Sales” and “Operations” with their respective charts

Response format