OptionalcontextOptionalcontextsPre-created storage contexts to use directly. When provided, the SDK skips provider selection and uses these contexts as-is. Each context carries its provider binding and (optional) data set ID.
Mutually exclusive with providerIds, dataSetIds, and copies.
OptionalcopiesNumber of storage copies to create (default determined by SDK).
OptionaldataSpecific existing data set IDs to target. Mutually exclusive with
providerIds and contexts.
Use only when resuming into a known data set from a prior operation.
For first-time uploads to specific providers, use providerIds instead.
OptionalexcludeProvider IDs to exclude from selection.
OptionalipniOptional IPNI validation behaviour. When enabled (default), the upload flow will wait for the IPFS Root CID to be announced to IPNI.
Optionalenabled?: booleanEnable the IPNI validation wait.
@default: true
Logger used for structured upload events.
OptionalmetadataData set metadata applied when creating or matching contexts.
OptionalonOptional umbrella onProgress receiving child progress events.
OptionalpieceOptional metadata to associate with the upload (per-piece).
OptionalproviderSpecific provider IDs to upload to. The SDK resolves or creates data sets
on each provider automatically. Mutually exclusive with dataSetIds and
contexts.
This is the recommended way to target specific providers. Do not call
createContext() to resolve data sets first. Pass provider IDs here
and the SDK handles the rest.
OptionalsignalOptional AbortSignal to cancel the upload operation.
Optional identifier to help correlate logs.