Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
The ID of the dashboard where the task will be created. This can be retrieved by:
/dashboards is the dashboard's ID; for example: https://myorg.omniapp.co/dashboards/12db1a0aThe name of the task.
A cron expression defining when the schedule will run, in Amazon Web Services (AWS) Cloudwatch syntax.
The IANA timezone where the task should run, such as Asia/Dubai. Refer to the TZ column in this IANA.org timezone description file for a list of accepted values.
The output format of the schedule.
csv, link_only, json, pdf, png, xlsx The destination where the task's output should be delivered.
webhook, email, sftp An object specifying the filter conditions to apply to the task. The filter key specified must already exist in the dashboard. If the dashboard doesn't have any filters configured, filters can't be used in the task.
Use the Get dashboard filters and controls endpoint to retrieve filter configuration objects.
Note: Filter keys are case-sensitive and must match exactly.
Required if conditionQueryMapKey is provided. Defines the type of condition to use for alerts.
RESULTS_PRESENT, RESULTS_CHANGED, RESULTS_MISSING, RESULTS_UNCHANGED Required if conditionType is provided. The ID of the query to monitor for triggering an alert. Must reference a valid query in the dashboard.
The ID of the query to include in a single tile task. Must reference a valid query in the dashboard.
Required for:
format: json with enableFormatting: trueformat: xlsx with overrideRowLimit: trueIf true, stop the entire job if any queries included in the task fail.
If true, run the task immediately instead of scheduling.
Not supported for RESULTS_CHANGED alert conditions.
Compatible with pdf and png formats. If true, the content's title will be hidden in the task's output.
Compatible with csv and xlsx formats. If true, fields marked as hidden won't be displayed in the task's output.
Compatible with csv and json formats. If true, formatting will be enabled in the task's output.
If true for json format, queryIdentifierMapKey is required.
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.
Compatible with csv, json, and xlsx formats. Used with overrideRowLimit. Specifies the maximum number of rows.
Compatible with all formats except link_only. If true, a link to the content will be shown in the task's output.
Compatible with all formats except link_only and csv. If true, filters will be shown in the task's output.
Compatible with pdf and png formats. If true, up to 1,000 rows in table visualizations will be included in the delivery.
This parameter cannot be used when paperFormat: fit_page.
Compatible with pdf format. Defines the paper format (size) of the resulting PDF.
The fit_page option cannot be used if expandTablesToShowAllRows: true.
a3, a4, letter, legal, fit_page, tabloid Compatible with pdf format. Defines the paper orientation of the resulting PDF.
portrait, landscape Compatible with pdf and png formats. If true, dashboard tiles will be arranged into a single vertical column.
Required if destinationType: webhook. A webhook URL. Must be a valid HTTP/HTTPS URL.
Required if destinationType: email. An array of strings, each specifying a valid email address.
Required if destinationType: email. Email subject line.
Applicable to email destinations. Custom email body text.
Applicable to email destinations. If true, send individual emails to each recipient.
Required if destinationType: sftp. SFTP server address.
Required if destinationType: sftp. SFTP port.
Required if destinationType: sftp. SFTP username.
Required if destinationType: sftp. Remote file path.
Applicable to SFTP destinations. SFTP password.