Skip to main content
string
required
The API key for your account. You can find this in your account settings.
Chunked Init opens a chunked upload, the flow for files above the 100 MB single-request limit, up to 10 GiB. It returns an opaque upload token that you carry through the next calls:
1

Init

This route. Keep the upload token.
2

Send the parts

Chunked Part, in any order, up to 6 at a time.
3

Complete

Chunked Complete seals the file. Or Chunked Abort to cancel.
There is no server-side session: the token is the whole upload state, so persist it if the upload may span a page reload. Lost it? Open Uploads lists the open uploads with their tokens, and Chunked Status tells which parts already arrived. Uploads idle for 24 hours are aborted automatically.

Parameters

The query parameters are the same as in Object Post, plus filename and mime_type: there is no multipart envelope here, so the extension has to come from the query. Requires the blob:write scope, or an upload token, and an active plan.
string
required
The file name, without extension. Same pattern as in Object Post.
string
The original file name, extension included. The stored extension comes from it, then from mime_type, then falls back to bin.
string
Used for the extension only when filename has none.
string
Same as in Object Post.
boolean
Same as in Object Post.
string
Same as in Object Post.
boolean
Same as in Object Post.
boolean
Same as in Object Post.
string
Same as in Object Post.
boolean
Same as in Object Post.
string
Same as in Object Post.
string
Same as in Object Post.

Limits

  • File size: up to 10 GiB (10,737,418,240 bytes), or less when a rule or upload token sets a smaller limit.
  • Part size: 5 MB minimum (5,242,880 bytes), 32 MB maximum (33,554,432 bytes). The last part may be smaller.
  • Parts per file: up to 2048.
  • Open uploads per account: 32, counting uploads opened through the S3 gateway (TOO_MANY_OPEN_UPLOADS, 429).
  • Rate limit: 5 opens per 10 seconds.
  • An account already over its included storage can’t open uploads (STORAGE_QUOTA_EXCEEDED).
Read the limits from the chunk object of the response rather than hardcoding them.

Response

string
“success” if successful, “error” if not.
object

Errors

  • Blob SDK: blob.put() runs the whole chunked flow for files above 90 MiB