Original upload
Keep the bulk transfer out of the API request.
The web uploader asks Fastify for a signed storage URL. The API checks project membership, a write-capable role and the organization’s storage quota before generating an object key with organization and project prefixes. The browser then sends the file directly to the reachable object-storage endpoint.
Files below 100 MiB use a single presigned PUT; at that threshold and above, the web client takes the multipart path. Part size scales with file size—64 MiB for files up to 5 GiB, rather than a universal fixed chunk. The client collects part ETags and completes the upload before returning the original key. Its multipart error path attempts an abort. These are implementation thresholds, not measured upload limits or throughput results. [S1]

