superset_dataset_duplicate
Duplicate any Apache Superset dataset with all its columns and metrics using the source dataset ID and a new unique table name.
Instructions
Create a copy of an existing dataset (with columns and metrics).
Args: base_model_id: ID of the source dataset to copy. IMPORTANT: the field is called base_model_id, NOT base_id or dataset_id. table_name: Name for the new dataset (must be unique).
Returns: JSON string with the duplicated dataset details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | ||
| base_model_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |