Update custom data widget
update_custom_data_widgetPoint a Custom Data widget at an uploaded CSV dataset and choose its columns. The dataset id comes from list_custom_data and the column names from get_custom_data — a dataset has no fixed catalog, so its own column names are the metrics and dimensions. The series is re-fetched in the background.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Widget ID (from list_widgets). | |
| name | No | Display name. | |
| chart | No | Chart type. | |
| metrics | No | Value columns to plot, e.g. [{ column: "Revenue", format: "currency" }] — names exactly as get_custom_data reports them. | |
| dimensions | No | Label column(s) to break down by, e.g. ["Channel"] — names exactly as get_custom_data reports them. | |
| custom_data_id | No | Custom-data dataset id (from list_custom_data). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | The widget as saved, now pointed at that dataset and its columns. The series is re-fetching in the background — read it with get_widget_data. | |
| success | Yes | True when the call succeeded. A failure comes back as an error result instead. |