Duplicate Dataset
Create a new dataset from selected rows of an existing dataset.
POST
https://api.futureagi.com/model-hub/datasets/{id}/duplicate/ Authentication
Path parameters
id
UUID of the source dataset to duplicate.
Request body
name
Name for the duplicated dataset.
row_ids
Array of row UUIDs to include in the duplicate.
selected_all_rows
Whether to include all rows. Defaults to false.
Response
200 OK data
Duplicated dataset details.
message
Confirmation message.
new_dataset_id
UUID of the duplicated dataset.
new_dataset_name
Name of the duplicated dataset.
columns_copied
Number of columns copied.
rows_copied
Number of rows copied.
status
Status of the API response.
Errors
400
Invalid request parameters.
401
Invalid or missing API credentials.
404
The source dataset could not be found.
429
Resource limit reached.
500
Unexpected server error.