Page tree

Release 5.0.1



For the latest updates on available API endpoints and documentation, see


In Release 4.2, the wrangled dataset object was removed from the application interface. This API endpoint remains, as the internal platform objects have not been modified. For more information, see Changes to the Object Model.

Updated the primary input dataset for the specified wrangled dataset. Each wrangled dataset must have one and only one primary input dataset, which can be an imported or wrangled dataset.

This action performs a dataset swap for the source of a wrangled dataset, which can be done through the UI. See Flow View Page.

Tip: After you have created a job via API, you can use this API to swap out the source data for the job's dataset. In this manner, you can rapidly re-execute a pre-existing job using fresh data. See API JobGroups Create v3.

Version: v3

Required Permissions

NOTE: Each request to the Designer Cloud Powered by Trifacta® platform must include authentication credentials. See


Request Type: PUT




<id>Internal identifier for the wrangled dataset

Request URI - Example:



Request Body - imported dataset:

  "importedDataset": {
    "id": <id>

Request Body - wrangled dataset:

  "wrangledDataset": {
    "id": <id>


Response Status Code - Success: 200 - OK

Response Body Example:

  "id": 50,
  "scriptId": 49,
  "flowId": 10,
  "flowNodeId": null,
  "deleted_at": null,
  "wrangled": true,
  "createdAt": "2017-02-21T16:53:15.619Z",
  "updatedAt": "2017-02-21T17:04:03.257Z",
  "activesampleId": 33,
  "createdBy": 1,
  "updatedBy": 1


For more information on these properties, see API WrangledDatasets Get PrimaryInputDataset v3.

This page has no comments.