Get Dataset Upload URL
Changed onGenerates a presigned S3 URL for uploading a file to the dataset. Use the returned URL to PUT the file directly to S3.
V3 datasets (CSV/ZIP): returns upload_url and http_method. After the upload completes, poll GET /datasets/{dataset_id}/status for processing status.
V4 datasets (JSONL/CSV): additionally returns import_id. After the upload completes, poll GET /datasets/{dataset_id}/imports/{import_id} for per-upload status. Multiple upload URLs can be requested before any upload completes — each creates a distinct import job and S3 key.
Supported file types:
- V3: .csv, .zip
- V4: .csv, .jsonl
Request
- Base URLhttps://api.prolific.com
- URLhttps://api.prolific.com/api/v1/data-collection/datasets/{dataset_id}/upload-url/{filename}
- AuthAPI key in header Authorization
Path parameters
The ID of the dataset to upload files to
The name of the file to upload (e.g. data.jsonl)
Response
Presigned URL generated successfully
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
tokenwas added to the API
- warning
- info
api operation id
get-dataset-upload-urlremoved and replaced withaiTaskBuilder_getDatasetUploadUrl
- info