Dashboard JSON

A Rapidash dashboard file is a portable description of a board: its layout, every widget's settings, its branding, and where each dataset comes from. It never contains your rows, and it contains no component code: Rapidash renders it.

JSON Schema: https://rapidash.io/schema/dashboard.v1.json

{
  "$schema": "https://rapidash.io/schema/dashboard.v1.json",
  "rapidash": "dashboard/v1",
  "name": "Store pulse",
  "branding": { "brandName": "Acme", "palette": ["#0a84ff", "#30b0c7"], "font": "inter", "theme": "light" },
  "datasets": [
    { "ref": "orders", "name": "Storefront orders", "source": { "kind": "sample", "key": "ecommerce" } }
  ],
  "widgets": [
    { "type": "kpi", "dataset": "orders", "y": "order_value", "x": "order_date", "format": "currency" },
    { "type": "trend", "size": "large", "dataset": "orders", "x": "order_date", "y": "order_value" },
    { "type": "geo", "size": "large", "dataset": "orders", "x": "country", "y": "order_value" }
  ]
}

Datasets

Widgets point at datasets by ref. Each dataset may say where its data comes from:

  • {"kind": "sample", "key": "ecommerce" | "saas" | "marketing"}: a built-in sample.
  • {"kind": "url", "url": "https://…"}: fetched on import (the server must allow cross-origin requests for in-browser imports).
  • {"kind": "file"} or {"kind": "manual"}: you connect one of your datasets on import.

On import, each ref resolves to a sample, one of your datasets with the same id, name, URL or matching columns, or a URL source fetched now. Anything left over is reported so you can map it.

Import and export

  • App: editor menu → Export JSON / Copy JSON; New dashboard → From a dashboard JSON to import (with a step to connect datasets).
  • Link: https://rapidash.io/app/new?spec=<URL of a JSON file>.
  • API: GET /api/v1/dashboards/{id}/export, POST /api/v1/dashboards/import with { "spec": … , "datasetMap": { "orders": "<datasetId>" } }.
  • MCP: export_dashboard, import_dashboard. Agents can hand-write the JSON to design a whole board in one call.

Widget fields are listed in the widget reference.