v3

latestOpenAPI 3.1.02026-07-313340106.6 KB
Assets

Request a presigned URL to upload a file

Returns a presigned S3 uploadUrl and the final public url. PUT the file bytes to uploadUrl with the same Content-Type, then register the file as an asset via POST /v2/assets using url. Registration verifies the upload happened and enforces plan limits on the actual file size. Single uploads are capped at 5GB.

post/v2/assets/upload

Request body

fileNamestring required
contentTypestring required
sizeinteger required

Response

Presigned upload URL created successfully

uploadUrlstring uri required
urlstring uri required
expiresIninteger required