v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBBucket Uploads
Confirm Upload
Verify S3 upload completion and create bucket object.
After uploading to S3 using the presigned URL, call this endpoint to:
1. Verify the file exists in S3
2. Validate ETag and file size (if provided)
3. Create bucket object (default, unless create_object_on_confirm=false)
4. Update upload status to COMPLETED
**Sync vs Async**:
- Files < 100MB: Processed synchronously (~100ms)
- Files >= 100MB or async=true: Processed asynchronously (returns task_id)
**Duplicate Detection**:
- If file hash matches existing upload, marks as duplicate
- References original object_id if available
post/v1/buckets/{bucket_identifier}/uploads/{upload_id}/confirm
Path parameters
bucket_identifierstring required
The unique identifier of the bucket
The unique identifier of the bucket
upload_idstring required
The unique identifier of the upload
The unique identifier of the upload
Query parameters
asyncboolean
Process confirmation asynchronously (recommended for files >= 100MB)
Process confirmation asynchronously (recommended for files >= 100MB)
Request body
Example request
{
"description": "Confirm with ETag for integrity verification (recommended)",
"etag": "d41d8cd98f00b204e9800998ecf8427e",
"file_size_bytes": 52428800
}Response
Successful Response
Example response
{
"completed_at": "2024-01-15T10:35:00Z",
"description": "Synchronous confirmation with object creation",
"etag": "d41d8cd98f00b204e9800998ecf8427e",
"file_hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"file_size_bytes": 52428800,
"object_id": "obj_xyz789",
"status": "COMPLETED",
"upload_id": "upl_abc123",
"verified_at": "2024-01-15T10:35:00Z"
}