Skip to main content

Storage configured limits

The limits Storage applies to files, buckets, and requests.

File size​

LimitValueWhat happens
Largest file TaruviBase accepts5 GBA bucket's file size limit can't be set higher.
Default bucket file size limit50 MBUploads larger than the bucket's limit are rejected with 400. Change it with file_size_limit when you create or update the bucket.

Bucket settings​

SettingDefaultRules
file_size_limit50 MB (52428800 bytes)Positive number of bytes, up to 5 GB.
allowed_mime_types[] (all types allowed)File types such as image/png; wildcards like image/* work.
max_size_bytesNoneOptional total size quota. Must be at least file_size_limit.
max_objectsNoneOptional file count quota.

Quotas​

max_size_bytes and max_objects are checked periodically, not on each upload. When a bucket goes over a quota, it is marked as exceeded — the Console shows a Quota exceeded warning and the bucket's usage/ endpoint reports it — but uploads are not blocked. Delete files to bring the bucket back under its quota.

GET /buckets/{slug}/usage/ returns usage as of the last recalculation; calculated_at shows when that was.

Per-request limits​

LimitValueWhat happens
Metadata per file2 KB totalRejected with 400
Files per batch upload100Rejected with 400
Total size per batch upload800 MBRejected with 400
Paths per batch delete100Rejected with 400
Search limitUp to 1000 (default 100)Higher values are rejected with 400
Browse page_sizeUp to 100 (default 50)Higher values are reduced to 100
List page_sizeUp to 100 (default 10)

SharePoint access​

For SharePoint buckets, opening a view or edit link waits up to 8 seconds for SharePoint to grant access. Files of 4 MB or less upload in a single request; larger files upload in chunks automatically.

What isn't limited​

  • There is no limit on the number of buckets or files per app or site beyond the optional per-bucket quotas.
  • Listing, browsing, and searching without signing in is refused, even for public buckets — only individual public files can be downloaded anonymously.