Duplicate a Batch
Create a duplicate of an existing AI Task Builder batch. The dataset does not need to be in READY status for duplication. Supports two modes:
- Duplicate with dataset (default): Creates a copy with the same dataset (the dataset is shared between both batches, not duplicated)
- Duplicate without dataset: Creates a copy that requires a new dataset upload (set upload_new_dataset to true)
You can optionally provide a new name for the duplicated batch. If no name is provided, the duplicate will be named "[Original Batch Name] (Copy)".
Authentication
AuthorizationToken
Header authentication of the form Token <token>
Path parameters
batch_id
The unique identifier of the batch to duplicate
Request
This endpoint expects an object.
name
Optional name for the duplicated batch. If not provided, a default name will be generated.
upload_new_dataset
If true, creates the batch without copying the dataset (user must upload a new one). If false or omitted, duplicates with the existing dataset.
Response
Created
id
created_at
An ISO-8601 formatted string representing the batch creation time, in UTC.
created_by
User ID of the Prolific user that created the resource.
datasets
name
status
Allowed values:
total_task_count
total_instruction_count
workspace_id
task_details