Glossary
Multipart upload
A way of uploading a large file as several smaller parts, sent separately and often in parallel, that the storage service joins into one object.
Multipart upload is a method for sending a large file to object storage as a set of smaller parts. Each part goes up in its own request, often in parallel, and the storage service joins them into a single object once every part has arrived. If one part fails, only that part is sent again.
How multipart upload works
On Amazon S3, and on the many services that copy its API, the process has three steps. The client starts an upload and receives an upload ID. It then sends each part with that ID and a part number, and the service returns an ETag for each one. Finally the client sends a completion request listing the part numbers and ETags in order, and the service assembles the object. Until that last call the parts are stored, but no object is visible.
Parts can be uploaded in any order and at the same time, which makes better use of available bandwidth than one long request. A presigned URL can be generated for each part, so a browser or mobile app uploads straight to object storage while the application server only starts and completes the upload.
Limits and costs
On S3, each part must be between 5 MiB and 5 GiB, except the last part, which has no minimum. An upload can have up to 10,000 parts, and an object can reach 48.8 TiB. A single PUT request is capped at 5 GB, so larger objects have to use multipart, and AWS suggests considering it once files pass about 100 MB. Other providers differ: Google Cloud Storage offers resumable uploads alongside an S3-style multipart API, and Azure blob storage builds block blobs from separately uploaded blocks that are committed as a list.
One cost catches people out. Parts from an upload that was started but never completed or aborted stay in storage and are billed until they are removed. A lifecycle rule that aborts incomplete uploads after a few days is a common safeguard, alongside retry logic with exponential backoff for parts that fail.
Aspect | Single request upload | Multipart upload | Resumable upload |
|---|---|---|---|
Requests | One | One per part, plus start and complete | One session, sent in chunks |
Parallel transfer | No | Yes | Usually sequential |
After a failure | Start again | Resend the failed parts | Resume from the last confirmed byte |
Best for | Small and medium files | Very large files on fast links | Unreliable networks and mobile clients |
Multipart upload in AI applications
AI products often accept large files: recorded calls, video libraries, scanned archives and datasets. Upload is the first stage of data ingestion, and the file still has to be processed before an agent can use it. Splitting the upload helps reliability, but the slower work usually comes after it: audio transcription, OCR and file indexing. That processing tends to run as an asynchronous API job that reports completion through a webhook or polling. The webhook is the right interface for extraction argues for the push model.
Uploads in Exabase
Exabase uploads use a signed URL flow. The uploads endpoint returns a URL and headers, the client PUTs the file to it, and the files endpoint creates the resource in a Base, where it is extracted and indexed for Deep Search. Files can be up to 5GB, or less depending on plan, and the documented flow sends each file in a single request. If a file would take the workspace past its storage allowance, the API returns 403 with exceeds_storage_limit. The creating resources guide covers the steps, and Exabase vs AWS S3 compares the storage models.
For processing without storage, Extract offers its own signed upload URL through api.extract.getUploadUrl, which gives more control over the transfer, such as progress tracking, before the job is submitted. Results arrive by polling or through extraction webhooks. The file extraction solution covers processing every file type, and the document extraction use case shows the flow end to end.
FAQs
When should I use multipart upload?
Use it for large files, typically above about 100 MB, and whenever a single request might fail or time out. On S3 it is required for objects larger than 5 GB.
What happens if a multipart upload fails?
Only the failed parts need to be sent again, using the same upload ID. If the upload is abandoned, abort it so the stored parts stop being billed.
What is the minimum part size for S3 multipart upload?
5 MiB for every part except the last, which can be smaller. Parts can be up to 5 GiB each, with at most 10,000 parts per upload.
Is multipart upload the same as chunked upload?
They are close relatives. Chunked or resumable uploads usually send pieces in sequence within one session, while multipart upload sends independent parts that can travel in parallel and are assembled at the end.
Can a browser upload parts directly to storage?
Yes. The server starts the upload and creates a presigned URL for each part, the browser sends the parts, and the server completes the upload. The storage credentials and API key stay on the server.
Does Exabase use multipart upload?
Exabase documents a single signed-URL upload per file, for files up to 5GB depending on plan. Storage allowances for each plan are on the pricing page.
Related pages: Blob storage, Object storage, Presigned URL, Agent file system, Data ingestion, Asynchronous API, Resources, File extraction, Exabase vs AWS S3, Best file storage for AI agents, File indexing.