Create a Collection

View as MarkdownOpen in Claude

Create a new AI Task Builder Collection. Collections allow you to define static content and instructions without requiring a dataset upload.

Unlike Batches, Collections do not require a dataset or setup step — they can be published to a study immediately after creation.

Authentication

AuthorizationToken

Header authentication of the form Token <token>

Request

This endpoint expects an object.
namestringRequired
The name of the collection
workspace_idstringRequired
The ID of the Prolific workspace
task_detailsobjectRequired
Task metadata displayed to participants
collection_itemslist of objectsRequired
Pages within the collection

Response

Created
idstringformat: "uuid"
schema_versionenum
Allowed values:
created_atdatetime

ISO-8601 formatted creation timestamp in UTC

created_bystring
User ID of the Prolific user that created the collection
workspace_idstring
The ID of the Prolific workspace
namestring
The name of the collection
task_detailsobject
Task metadata displayed to participants
collection_itemslist of objects
Pages within the collection. Each collection item represents a page.
last_modified_atdatetime or null

ISO-8601 formatted last modification timestamp in UTC

last_modified_bystring or null
User ID of the Prolific user that last modified the collection

Errors