Add workbook schedule

View as MarkdownOpen in Claude
Add a schedule to a workbook to export data from the workbook on a periodic basis. ### Usage notes - Retrieve the **workbookId** by calling the [/v2/workbooks](https://help.sigmacomputing.com/reference/list-workbooks) endpoint. - Retrieve relevant IDs based on the export contents and destination: - To export to one or more Sigma users, retrieve the **memberId** by calling the [/v2/members](https://help.sigmacomputing.com/reference/list-members) endpoint. - To export to one or more Sigma teams, retrieve the **teamId** by calling the [/v2/teams](https://help.sigmacomputing.com/reference/list-teams) endpoint. - Retrieve the **pageId** by calling the [/v2/workbooks/{workbookId}/pages](https://help.sigmacomputing.com/reference/list-workbook-pages) endpoint. - Retrieve the **elementId** by first calling the [/v2/workbooks/{workbookId}/pages](https://help.sigmacomputing.com/reference/list-workbook-pages) endpoint, then calling the [/v2/workbooks/{workbookId}/pages/{pageId}/elements](https://help.sigmacomputing.com/reference/list-workbook-page-elements) endpoint.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Path parameters

workbookIdstringRequired

Request

The request body.
targetlist of objectsRequired
One or more targets to send the workbook to.
scheduleobjectRequired
When to send the workbook export.
configV2objectOptional
Configuration settings for the export schedule.
configobjectOptional

[Deprecated] Configuration settings for the export.

descriptionstring or nullOptional
Description of the scheduled export
ownerIdstringOptional

ID of the user (member) to own the export.

Response

The response body.
scheduledNotificationIdstring
Unique identifier of the scheduled export.
workbookIdstring
Unique identifier of the workbook.
scheduleobject
configV2object
isSuspendedboolean
Whether the schedule is currently suspended.
ownerIdstring
Unique identifier of the user who owns the schedule.
lastUpdatedByUserstring
Unique identifier of the user who last updated the schedule.
disabledAtdatetime or null
Timestamp when the schedule was disabled, or null if the schedule is active.
disabledBystring or null
Unique identifier of the member who disabled the schedule, or null if the schedule is active.
createdBystring
The identifier of the user who created this object.
updatedBystring
The identifier of the user or process that last updated this object.
createdAtdatetime
When the object was created.
updatedAtdatetime
When the object was last updated.