Request upload
Begin the presigned upload flow for large or local files: returns an uploadId plus a presigned URL. PUT the raw file bytes to that URL, then call confirmUpload to create the asset; no asset exists until confirmation. For a remote URL or a small inline payload (up to 10MB decoded), importAsset is the simpler single-call alternative.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Team (workspace) id (UUID). Discover ids via the list teams endpoint or the agent context.
Body
Original filename of the file to upload, including extension.
1"launch-teaser.mp4"
Exact file size in bytes; max 200 MB (209715200 bytes) per asset.
x >= 11048576
SHA-256 hex digest of the file content, used for deduplication; null skips the dedupe check.
"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
MIME type of the file content.
1"video/mp4"
"image/png"
Response
Success
a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$