superset_dashboard_create
Create a new Apache Superset dashboard, setting its title, URL slug, publication status, metadata, custom CSS, layout, and role-based access.
Instructions
Create a new dashboard.
IMPORTANT: when roles are specified, datasource_access is automatically synced for the given roles — each role will get access to all dashboard datasets.
Args: dashboard_title: Dashboard title (displayed in the UI). slug: URL slug for a pretty link (e.g. "my-dashboard"). Must be unique. published: Publish immediately (default False — draft). json_metadata: JSON string with dashboard metadata. Contains filter settings, color palette, refresh interval. Use "{}" for empty metadata. css: Custom CSS for dashboard styling. position_json: JSON string with widget positioning on the dashboard. Defines the layout of charts, headers, dividers in the grid. roles: List of role IDs that can access the dashboard. Users without one of these roles will NOT see the dashboard. Empty list = accessible to all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | ||
| slug | No | ||
| roles | No | ||
| published | No | ||
| json_metadata | No | ||
| position_json | No | ||
| dashboard_title | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |