v1

latestOpenAPI 3.1.02026-08-0472428.7 KB
Study File Uploads

Get presigned upload URL

Generate a pre-signed S3 URL for uploading study stimuli files. Use the returned URL and fields to upload the file via a multipart POST directly to S3, then include the S3 key in the create study request.

post/v1/studies/uploads/presigned-url

Request body

file_typestring required

MIME type of the file. Supported types: image/, video/, audio/*, application/pdf, plus text/plain and DOCX as BBot question/text-stim source documents.

filenamestring required

Example request

{
  "file_type": "image/png",
  "filename": "product_photo.png"
}

Response

OK

keystring required
max_file_sizeinteger required