Set page refresh
fastero_set_page_refreshSet how a hosted page refreshes its numbers 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 widgets changes. A dashboard's refresh is set with fastero_set_dashboard_refresh instead, and fastero_disable_trigger pauses this one by its triggerId while keeping it. 'change' needs a widget whose query runs on Postgres or BigQuery, and a page that has one gets it from the start; a widget 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-read their rows. Returns refresh, the setting now in force ({ triggerId, mode: timer or change, minutes }, or null when off). 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). | |
| pageId | Yes | A hosted page’s id, from fastero_list_pages. | |
| 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. |