Update a Batch

View as MarkdownOpen in Claude

Update an existing AI Task Builder batch. You can update the name, task details, and/or associated dataset. The dataset does not need to be in READY status for updates.

Authentication

AuthorizationToken

Header authentication of the form Token <token>

Path parameters

batch_idstringRequired
The unique identifier of the batch

Request

This endpoint expects an object.
namestringOptional
task_detailsobjectOptional
dataset_idstringOptionalformat: "uuid"

Response

Ok
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
schema_versioninteger
task_detailsobject
total_task_groupsinteger>=0

Errors