Collecting original data with AI Task Builder Collections
Early Access
AI Task Builder Collections are an early-access feature. To request access, visit our help center and send us a message. Your request will be reviewed by our team.
This feature is under active development and you may encounter bugs.
This cookbook covers how to gather original data from participants using AI Task Builder Collections. Unlike Batches (where participants evaluate your existing data), Collections let participants submit their own content such as images, files, or text responses.
Overview
A Collection defines the pages and questions participants see. You attach it to a Prolific study, which handles recruitment, reward, and participant targeting. The end-to-end workflow is:
- Define a study template: reward, description, and participant targeting
- Create a collection: define pages, instructions, and content blocks
- Publish the study to start recruiting participants
- Monitor submissions via the CLI or app
Use cases
- Image or file collection (e.g. photos, documents, recordings)
- Open-ended text responses
- Multi-page surveys that gather original participant data
- Consent + submission workflows
Prerequisites
- A Prolific researcher account with AI Task Builder Collections enabled
- An API token (see API Fundamentals)
- Your workspace ID, visible in the app URL:
app.prolific.com/researcher/workspaces/<workspace_id>/home - A project ID within your workspace, required to bill against workspace funds (see note below)
- The Prolific CLI installed (see step 1)
Workspace billing requires a project
Studies must be associated with a project to bill against workspace funds. A study created without a project field
will default to your personal account balance. Find your project IDs with:
Step-by-step guide
Install and authenticate the Prolific CLI
The Prolific CLI lets you create collections, publish studies, and view submissions without writing API calls directly.
Configure your API token by creating ~/.config/prolific-oss/prolific.yaml:
Verify authentication:
Define your study
Create a JSON template for your study. When you publish via collection publish, the CLI automatically injects
data_collection_method and data_collection_id; you don’t need to set these manually.
Reward and pricing:
rewardis in pence (GBP) or cents (USD)- Prolific’s minimum rate is £6 / $8 per hour
- To calculate a reward that fits a total budget:
reward_per_person = (budget / participants) / 1.4(the 1.4 accounts for Prolific’s ~40% service fee on workspace-billed studies)
Participant targeting with filters:
You can restrict your study to participants matching specific criteria. For example, to target pet owners:
Browse available filters by querying the API:
Define your collection
Create a YAML file describing your collection. A collection is made up of one or more pages
(collection_items), each containing instructions and content blocks (page_items).
Supported page item types:
Instruction types collect participant input:
Content block types display content to participants (no input collected):
Once you’re happy with your collection definition, create it:
Save the ID from the response; you’ll need it in the next step.
Create a draft study
Link your collection to a study and create it in draft status for review before going live:
The -t study-template.json flag is required. Without it the command has no reward, description, or
participant count to work with and will fail.
The --draft flag creates the study as UNPUBLISHED so you can review and adjust it before participants can
see it. Save the Study ID from the output.
To update any fields on the draft (e.g. adjust the reward):
All fields can be updated on a draft study. Once published, only certain fields (such as
total_available_places) can be changed.
Preview and publish the study
Before going live, preview your study to check how it will appear to participants:
This returns a preview URL you can open in your browser to walk through the participant experience.
Do not use the Prolific app to review this study. The researcher UI is not yet configured to handle
studies created via Collections and will crash on the review screen. Use the --preview flag above or the
CLI instead.
When you’re ready to go live, transition the draft study to active:
Once successfully published, the study’s status will be ACTIVE and participants matching your filters will
begin to see it.
Ensure your workspace has sufficient funds before publishing. A study created without a project will bill
against your personal account (which may have a £0 / $0 balance). See the prerequisites note above.
Retrieving submitted data
Responses API coming soon
The researcher-facing endpoint for retrieving participant submissions (including uploaded files and images) is not yet available. A dataset export feature for Collections is actively being built.
In the meantime, submitted data is not accessible via the public API or CLI. Check back for updates.
Help & support
For questions and requests specific to using Prolific’s API, you can reach our support team through this form.