BlobRouter v0.1 · Last updated: August 2026 · Architecture version: 2.0
Install
Constructor
upload(file, options)
Uploads via init → direct PUT to provider → complete. BlobRouter never sees file bytes.
Returns
UploadResult
Retry behavior
- Retries control-plane calls (
/v1/upload/init,/v1/upload/complete, get, delete) on network failures and5xx/408/429with exponential backoff - Does not retry other
4xxresponses - Does not retry the provider presigned PUT
get(fileId)
Returns a time-limited presigned download URL.
delete(fileId)
Deletes the object on the provider and marks the file deleted in BlobRouter.
Errors
code values: