Set dashboard refresh
fastero_set_dashboard_refreshSet how a dashboard refreshes its charts for everyone who has it open: minutes (1, 5, 15 or 60; 0 turns it off), or when: 'change' to refresh when the data behind its charts changes. A hosted page's refresh is set with fastero_set_page_refresh instead, and fastero_disable_trigger pauses this one by its triggerId while keeping it. 'change' needs a chart whose query runs on Postgres or BigQuery, and a chart on a warehouse that bills each query (BigQuery, Snowflake, Athena, S3) makes 5 minutes the shortest timer; a value it cannot use is refused with the reason. Only open screens re-run their charts, and its public link re-takes its numbers when someone opens it; a scheduled email (fastero_schedule_dashboard_email) runs its own queries whatever is set here. Returns refresh, the setting now in force ({ triggerId, mode: timer or change, minutes }, or null when off), as fastero_get_dashboard reports it. Owners, admins and editors of the project can set it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| when | No | 'change': re-run whenever the data behind its charts changes (Postgres and BigQuery only). | |
| minutes | No | Re-run its charts every 1, 5, 15 or 60 minutes; 0 turns the timer off. | |
| projectId | Yes | The project’s id, from fastero_list_projects. | |
| dashboardId | Yes | A dashboard’s id, from fastero_list_dashboards. |