Get a Dataset

View as MarkdownOpen in Claude
Get a specific AI Task Builder dataset by its unique identifier. For **V4 datasets**, the response includes the dataset `schema` (if one has been set) and an `imports` array listing all import jobs for this dataset. For **V3 datasets**, the response includes `status`, `filename`, and `has_predetermined_grouping_id` instead.

Authentication

AuthorizationToken
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>`.

Path parameters

dataset_idstringRequired
The unique identifier of the AI Task Builder dataset

Response

OK
idstringformat: "uuid"
namestring
created_atdatetime
created_bystring
workspace_idstring
total_datapoint_countinteger>=0
schema_versionenum

Internal dataset version. 3 = legacy CSV/ZIP; 4 = structured schema with JSONL/CSV import tracking.

statusenum

Processing status. V3 datasets only. V4 datasets track status per import job via imports.

filenamestring or null

Filename of the uploaded data file. V3 datasets only.

has_predetermined_grouping_idboolean or null

Whether the dataset contains a META_TASK_GROUP_ID column. V3 datasets only.

schemaobject or null

The researcher-defined field schema for this dataset. V4 datasets only. null if no schema has been set yet.

importslist of objects or null

Import jobs for this dataset, most recent first. V4 datasets only. null for V3 datasets.

Errors

4XX
Client Request Error
404
Not Found Error