Create a Batch

View as MarkdownOpen in Claude
Create a new AI Task Builder batch. The dataset does not need to be in READY status at creation time.

Authentication

AuthorizationToken

Header authentication of the form Token <token>

Request

This endpoint expects an object.
namestringRequired
The name of the batch
workspace_idstringRequired
The ID of the Prolific workspace
task_detailsobjectRequired
Task metadata displayed to participants
dataset_idstringOptional

The ID of the dataset to attach (optional at creation time)

Response

Created
idstringformat: "uuid"
created_atdatetime

An ISO-8601 formatted string representing the batch creation time, in UTC.

created_bystring
User ID of the Prolific user that created the resource.
datasetslist of objects
namestring
statusenum
Allowed values:
total_task_countinteger>=0
total_instruction_countinteger>=0
workspace_idstring
task_detailsobject

Errors