For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
This endpoint lets you duplicate a tagged workbook, creating a new workbook from the tagged version. The workbook copy can be placed in a different folder from the original workbook, potentially with a different name and description. This is useful for creating workbook templates or backups.
### Usage notes
- The workbookId and version tag in the URL specify the tagged version of the workbook to duplicate. Retrieve the **workbookId** by calling the [/v2/workbooks](https://help.sigmacomputing.com/reference/list-workbooks) endpoint. For the **versionTag**, you can specify either the tag name or ID. Retrieve the version tag name or ID by calling the [/v2/tags](https://help.sigmacomputing.com/reference/list-version-tag) endpoint.
- The `destinationFolderId` in the request body specifies where to place the new workbook.
- To use the "My Documents" folder for a specific user as the destination folder, call the [/v2/members/{memberId}](https://help.sigmacomputing.com/reference/get-member) endpoint and use the `homeFolderId` included in the response.
- Retrieve the **folderId** of all folders by calling the [/v2/files](https://help.sigmacomputing.com/reference/list-files) endpoint and reviewing the `id` field in the response for files with a `type` of `folder`.
### Best practices
- Always verify that the destination folder has the correct permissions set to avoid access issues.
Authentication
AuthorizationBearer
OAuth authentication of the form <token>.
Path parameters
workbookIdstringRequired
Unique identifier of the workbook.
versionTagstringRequired
The id or name of the version tag to use.
Request
Body parameters for copying a workbook.
destinationFolderIdstringRequired
ID of the folder in which to place the copied workbook.
namestringRequired
Name for the copied workbook as it appears in Sigma.
descriptionstringOptional
A description for the new workbook.
copyBookmarksenumOptional
If set to `all` (available to admins only), every saved view (formerly called a bookmark) applied to the workbook is copied. If set to `accessible`, only personal saved views and those shared with the user initiating the operation are copied. Ownership of all saved views in the duplicate workbook transfers to the user initiating the operation. If not set, saved views are not copied.
Allowed values:
Response
The response body.
workbookIdstring
Unique identifier of the workbook.
workbookUrlIdstring
namestring
urlstring
pathstring
latestVersiondouble
The most recently published document version of the workbook.
ownerIdstring
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.
isArchivedbooleanOptional
tagslist of objectsOptional
descriptionstringOptional
taggedSourceUrlIdstringOptional
For a workbook deployed to a tenant organization by a deployment policy with a version tag, the urlId of the original source workbook in the parent organization. Only present when includeTaggedSourceUrlId=true is included in the request.
This endpoint lets you duplicate a tagged workbook, creating a new workbook from the tagged version. The workbook copy can be placed in a different folder from the original workbook, potentially with a different name and description. This is useful for creating workbook templates or backups.
Usage notes
The workbookId and version tag in the URL specify the tagged version of the workbook to duplicate. Retrieve the workbookId by calling the /v2/workbooks endpoint. For the versionTag, you can specify either the tag name or ID. Retrieve the version tag name or ID by calling the /v2/tags endpoint.
The destinationFolderId in the request body specifies where to place the new workbook.
To use the “My Documents” folder for a specific user as the destination folder, call the /v2/members/{memberId} endpoint and use the homeFolderId included in the response.
Retrieve the folderId of all folders by calling the /v2/files endpoint and reviewing the id field in the response for files with a type of folder.
Best practices
Always verify that the destination folder has the correct permissions set to avoid access issues.
If set to all (available to admins only), every saved view (formerly called a bookmark) applied to the workbook is copied. If set to accessible, only personal saved views and those shared with the user initiating the operation are copied. Ownership of all saved views in the duplicate workbook transfers to the user initiating the operation. If not set, saved views are not copied.