Create a Dataset
Create a new AI Task Builder dataset.
Pass an optional schema to create a V4 dataset with a structured schema. V4 datasets accept JSONL and CSV uploads, track each upload as an import job, and allow dataset_field items in batch_items to reference named schema fields. Without a schema, a V3 dataset is created (CSV/ZIP only, legacy flow).
V4 dataset creation requires the feature to be enabled for the workspace.
Authentication
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
Response
Internal dataset version. 3 = legacy CSV/ZIP; 4 = structured schema with JSONL/CSV import tracking.
Processing status. V3 datasets only. V4 datasets track status per import job via imports.
Filename of the uploaded data file. V3 datasets only.
Whether the dataset contains a META_TASK_GROUP_ID column. V3 datasets only.
The researcher-defined field schema for this dataset. V4 datasets only.
null if no schema has been set yet.
Import jobs for this dataset, most recent first. V4 datasets only. null for V3 datasets.