Working with Collections
Early Access
AI Task Builder Collections are an early-access feature that may be enabled on your workspace upon request.
To request access or contribute towards the feature’s roadmap, visit our help center at https://researcher-help.prolific.com/en/ and drop us a message in the chat. Your activation request will be reviewed by our team.
Note: This feature is under active development and you may encounter bugs.
An AI Task Builder Collection allows you to gather original data from participants. Unlike Batches where participants evaluate your data, Collections enable participants to submit their own content — images, files, text responses, and more.
This guide covers the workflow for creating, configuring, and publishing a Collection.
Workflow overview
Creating a collection
Create a collection by sending a POST request to the collections endpoint. You can define the full structure — including pages, instructions, and content blocks — in a single request.
Request structure
A collection contains collection_items (pages), and each page contains page_items (instructions and content blocks). Participants progress through pages sequentially, completing the instructions on each page before moving to the next.
Each item requires an order field to determine its position within its parent.
Task details
The optional task_details object provides context to participants:
All three fields support basic HTML formatting.
Page items
The page_items array can contain both instructions (which participants respond to) and content blocks (non-interactive content for context or guidance).
Instruction types
Instruction fields
All instructions require a description field containing the prompt or question text.
Multiple choice:
Each option has a label (displayed to the participant) and a value (returned in responses).
By default, when there are 5 or more options, a dropdown is rendered instead of checkboxes or radio buttons. Set disable_dropdown: true to always use checkboxes/radio buttons. See Instructions for full details.
Multiple choice with free text:
Each option requires a heading field, which groups the option under a labeled section. The associated free text field allows participants to provide additional context for their selection.
Free text:
The optional placeholder_text_input field provides hint text displayed in the input field before the participant enters their response.
Content block types
Content block schemas
Image content block:
The url must use HTTPS. The alt_text field is required for accessibility; caption is optional.
Rich text content block:
The content field supports Markdown formatting.
Response
A successful request returns the created collection with IDs assigned to the collection, pages, and page items:
Updating a collection
Update an existing collection using a PUT request. You can modify any part of the collection — update existing items, add new ones, or remove items entirely.
How updates work
The PUT request performs a full replacement — the request body represents the complete desired state of the collection. Any pages or page items not included in the request will be removed.
For example, if your collection has three pages and you send an update containing only two, the third page and all its contents will be deleted.
To preserve entity IDs across updates (useful for correlating responses with specific instructions), include the id field when sending existing items. Items sent without an id will be created as new entities with new IDs.
Example: Adding a new page
To add a consent page at the beginning of the collection, send a PUT request with the complete desired structure:
Publishing a collection
To make your collection available to participants, create a Prolific study that references it.
When creating the study, set data_collection_method to AI_TASK_BUILDER_COLLECTION and provide your collection ID:
Then publish the study:
Retrieving responses
After participants have completed your study, you can retrieve their submitted data via the responses endpoint.
The researcher-facing responses endpoint is coming soon. Check back for updates on retrieving collection data.
By using AI Task Builder, you agree to our AI Task Builder Terms.