Confirm Upload
confirm_uploadConfirm a file upload after a presigned PUT request by verifying the file in S3 and returning its URL, filename, MIME type, and size.
Instructions
Confirm a presigned upload after the PUT to uploadUrl succeeded. The server verifies the object in S3 and returns { url, filename, mimeType, size } — url is the /s/ path usable as a File/Image field value. Returns 400 if the file is not in S3 (ensure the PUT completed first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| s3Key | Yes | The s3Key returned from request_upload_url. | |
| workspaceId | No | Workspace ID. Omit if set via env or set_workspace; required in stateless/remote mode. |