Skip to main content
You can use the files.write() method to upload data to the sandbox.

Upload single file

Upload with pre-signed URL

Pre-signed upload URLs allow users to upload files securely from environments that do not hold Novita SDK credentials, such as web browsers. Create the sandbox with the secure: true option, then use the SDK on your trusted backend to generate the upload URL. Return it only to users authorized by your application, and set a short expiration time. The URL acts as a temporary bearer credential until it expires.

Upload directory / multiple files

Last modified on June 25, 2026