Confirm upload
Finalize a presigned upload started with requestUpload: verifies the uploaded object’s size, creates the asset record, and kicks off thumbnailing and enrichment asynchronously. Call this only after the PUT to the presigned URL has completed. Returns the newly created asset.
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.
Upload session id returned by the request-upload endpoint; confirm the upload with it after the bytes are PUT to the presigned URL.
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}$image, video, audio, gif, document user_upload, render, template, green_screen_template, sound_effect, music, brand_asset, ai_image, ai_video, other - Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
pending, processing, completed, failed 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}$