Skip to content

Basic Examples

Simple examples to get started.

Table Metadata

{
  "name": "users",
  "description": "User accounts",
  "columns": [
    {
      "name": "id",
      "dataType": "BIGINT",
      "constraint": "PRIMARY_KEY"
    },
    {
      "name": "email",
      "dataType": "VARCHAR",
      "dataLength": 255
    }
  ]
}

Dashboard Metadata

{
  "name": "sales_dashboard",
  "dashboardType": "Dashboard",
  "charts": [
    {
      "name": "revenue_chart",
      "chartType": "Line"
    }
  ]
}

Service Connection

{
  "name": "postgres_prod",
  "serviceType": "Postgres",
  "connection": {
    "host": "db.example.com",
    "port": 5432,
    "database": "analytics"
  }
}