Update schedule
Update the specified task, whether it delivers a dashboard or a tab of a workbook. Changes to the schedule are applied to future runs. Currently running jobs are not affected.
A schedule’s entity (dashboard or workbook) is set when the schedule is created and can’t change. If the request body includes an entity value, it has no effect.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Path Parameters
The ID of the schedule. To find a schedule's ID:
- Navigate to the dashboard or workbook.
- Click File > Deliveries & Alerts.
- Next to a schedule, click Edit.
The schedule's ID is in the page's URL, after /schedules/. For example, the schedule ID in this URL is 123e4567-e89b-12d3-a456-426614174000:
Body
- Email
- Webhook
- SFTP
- Slack
- S3
The name of the scheduled task. Must be at least 1 character.
1"Weekly Sales Report"
When the task runs, as an AWS EventBridge cron expression: minute hour day-of-month month day-of-week year. Runs cannot be more frequent than once an hour unless the organization allows a higher frequency. Delivery times are approximate and happen within 15 minutes of the scheduled time.
"0 9 ? * MON *"
The IANA timezone for interpreting the schedule. Must be a valid IANA timezone identifier.
"America/New_York"
The output format of the task.
link_only, pdf, png, csv, xlsx, json "pdf"
The destination type for delivering to email recipients.
email "email"
Email recipients. Can be email addresses or user group IDs (if allowed).
1The subject line of the email. Must be at least 1 character.
1"Weekly Sales Report"
Optional IANA timezone applied to query execution at render time. Distinct from timezone (which controls when the schedule fires). Pass null to clear it (use the default). Omitting it keeps the current value only while query timezone overrides are enabled for the connection or document; otherwise it is cleared.
"Europe/Paris"
Required if conditionType is provided. The ID of the query to monitor for triggering an alert. Must reference a valid query in the document. For a workbook delivery, this must be a tab of the published workbook.
In responses, null for standard schedules.
"Jmn2r3KV"
Required if conditionQueryMapKey is provided. Defines the type of condition to use for alerts.
RESULTS_CHANGED, RESULTS_UNCHANGED, RESULTS_PRESENT, RESULTS_MISSING "RESULTS_PRESENT"
Compatible with xlsx format only. When true, conditional formatting rules from the visualization are included in the Excel output.
true
Compatible with csv, xlsx, and json formats. If true, number and date formatting will be preserved in the task's output.
If true for json format, queryIdentifierMapKey is required.
false
Compatible with csv, xlsx, and json formats. If true, number and date formatting will be preserved in the task's output.
If true for json format, queryIdentifierMapKey is required.
false
Compatible with pdf and png formats. If true, AI summary tiles grow to show their full text, splitting across pages when paperFormat isn't fit_page.
With paperFormat: fit_page, the page grows instead, and the operation fails if the page would be taller than 60,000px.
false
Dashboard deliveries only. An object specifying the filter conditions to apply to the task. The filter key specified must already exist in the dashboard.
Use the Get dashboard filters and controls endpoint to retrieve filter configuration objects.
Note: Filter keys are case-sensitive and must match exactly.
Compatible with csv and xlsx formats. If true, fields marked as hidden won't be displayed in the task's output.
false
Compatible with pdf and png formats. If true, the content's title will be hidden in the task's output.
false
If true, stops the entire job if any queries included in the task fail.
false
Compatible with csv, json, and xlsx formats. Used with overrideRowLimit. Specifies the maximum number of rows.
x >= 11000
Compatible with csv, json, and xlsx formats. If true, the default row limit will be overridden.
If true for json and xlsx formats, a queryIdentifierMapKey is required.
false
Compatible with pdf format. Defines the paper format (size) of the resulting PDF.
a3, a4, fit_page, legal, letter, tabloid "letter"
Compatible with pdf format. Defines the paper orientation of the resulting PDF.
portrait, landscape "landscape"
Required for single tile tasks and for workbook deliveries (entity: workbook). The ID of the query to include in a single tile task, or the ID of the workbook tab to deliver. Must reference a valid query in the document.
Required for:
format: jsonwithenableFormatting: trueformat: xlsxwithoverrideRowLimit: trueentity: workbook
"Jmn2r3KV"
Dashboard deliveries only. Compatible with pdf, png, csv, and xlsx formats, on dashboards using the advanced (multi-page) layout. The instanceKeys of the pages to render:
pdfrenders the listed pages in storage order.pngaccepts exactly one page.csvandxlsxkeep only the tiles on the selected pages.
Cannot be combined with queryIdentifierMapKey. Defaults to the dashboard's first page for pdf and png, and to every tile for csv and xlsx.
1If true, rebuild extracts before running the schedule. Cannot be combined with useCache.
false
Compatible with all formats except link_only. If true, a link to the content will be shown in the task's output.
true
Compatible with all formats except link_only and csv. If true, filters will be shown in the task's output.
true
Dashboard deliveries only. Compatible with pdf and png formats. If true, dashboard tiles will be arranged into a single vertical column.
false
If true, allow scheduled queries to use cached results instead of always running fresh queries. An alert always runs its condition check fresh. Only the delivery sent once the condition is met uses cached results. Cannot be combined with rebuildExtracts.
false
Applicable to email destinations. If true, send individual emails to each recipient.
If your organization's delivery personalization setting is set to Never, fanOut is always persisted as false regardless of the submitted value. If set to Always, personalization is forced on for all deliveries. See Personalizing email deliveries for more information.
Note: Personalized deliveries aren't supported for connections that use OAuth sign-in. In this case, the delivery will fail.
Optional custom filename for the attachment (without extension). Must not contain special characters.
"weekly-sales-report"
Optional plain text body content for the email.
"Please find attached the weekly sales report."

