Refresh widgets
refresh_widgetsRe-fetch specific widgets with their saved config and save the results. Configuring a widget with update_data_widget already refreshes it, so this is for re-reading without a config change. Returns immediately; the fetch runs in the background — call get_widget_data with the same widget_ids to read the numbers as they land. To refresh a whole report, use refresh_report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | IANA timezone the dates are read in. Defaults to the client's own timezone | |
| client_id | No | Client the widgets belong to (from list_clients). Read from the widgets when omitted. | |
| date_range | No | Explicit range to fetch against. Defaults to each widget's own range, or its report's. | |
| widget_ids | Yes | Widgets to refresh (ids from list_widgets) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Acknowledgement that the refresh was accepted. The fetches run in the background — read the numbers with get_widget_data using the same widget_ids. | |
| success | Yes | True when the call succeeded. |