Error
Files
Create survey file
Creates a pending file record and returns a presigned upload URL. Upload bytes directly to object storage — not through this API (except local /_dev/objects in development). When content_hash matches an existing ready file for the survey, returns that file with existingMatch: true and no upload URL.
POST
Error
Path Parameters
Body
application/json
Minimum string length:
1Example:
"stimulus-pack.zip"
Minimum string length:
1Example:
"application/zip"
Bucket visibility. Defaults to private.
Available options:
private, public Example:
"private"
When provided and a ready file with the same hash already exists for the survey, the existing file is returned and no upload URL is issued.
Pattern:
^[a-f0-9]{64}$Example:
"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"