Raw file data in bytes, buffer, or string format.
Optional
metadataDescriptive metadata for file organization and tracking.
Optional
storageStorage provider name or uses configured default if unspecified.
Optional
encryptEnables automatic encryption before upload to storage.
Optional
encryptionCustom encryption key or generates one automatically if encryption enabled.
Defines parameters for uploading files to storage providers with encryption options.
Remarks
Used with DataController upload methods and storage operations. Supports multiple content formats, optional encryption, and custom storage provider selection with comprehensive metadata tracking.
Deprecated
Use UploadParams with vana.data.upload() instead for the high-level API
Example