Skip to main content

Swap Input Dataset

PUT 

/trifactaClassic/v1/wrangledDatasets/:id/primaryInputDataset

Authentication scope: Workspace

Accessible using: OAuth 2.0 API Tokens

Swap Input Dataset

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

Update the primary input dataset for the specified wrangled dataset. Each wrangled dataset must have one and only one primary input dataset, which can be imported or wrangled. If a wrangled dataset from another flow is selected, a reference will be used.

โœ… 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.

Requestโ€‹

Responsesโ€‹

Success