Update a Collection
Update an existing AI Task Builder Collection. This is a full replacement — all fields must be provided.
To preserve existing entities (collection items, page items) when updating, include their id fields in the request. Entities without IDs will be created as new, and existing entities not included in the request will be deleted.
Authentication
AuthorizationToken
Header authentication of the form Token <token>
Path parameters
collection_id
Request
This endpoint expects an object.
name
The name of the collection
task_details
Task metadata displayed to participants
collection_items
Pages within the collection. Include id to preserve existing items.
Response
OK
id
schema_version
Allowed values:
created_at
ISO-8601 formatted creation timestamp in UTC
created_by
User ID of the Prolific user that created the collection
workspace_id
The ID of the Prolific workspace
name
The name of the collection
task_details
Task metadata displayed to participants
collection_items
Pages within the collection. Each collection item represents a page.
last_modified_at
ISO-8601 formatted last modification timestamp in UTC
last_modified_by
User ID of the Prolific user that last modified the collection