Create a Collection
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
Authorizationstring
The Prolific API uses API token to authenticate requests. You can create an API token directly from your settings.
Your API token does not have an expiry date and carries full permission, so be sure to keep them secure.
If your token is leaked, delete it and create a new one directly in the app.
In your requests add `Authorization` header with the value `Token <your token>`.
Request
This endpoint expects an object.
name
The name of the collection
workspace_id
The ID of the Prolific workspace
task_details
Task metadata displayed to participants
collection_items
Pages within the collection
Response
Created
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