SDK Guides

Input, Output & Result Handling

Practical patterns for passing files into Zavilo, receiving one or many result files, creating ZIP output, previewing results, and sending them to your own server.

Single File Input

Pass one File object to a Headless Tool.

Multiple File Input

Use files: File[] with merge, batch, and multi-input Tools.

Result Object

Understand files, archive, data, metadata and executionId.

Multiple Result Files

Handle Tools that return multiple output files.

ZIP Results

Request and consume ZIP archives for multi-file output.

Preview & Download

Preview images, PDFs and videos or trigger downloads.

Upload to Your Server

Send one file, many files, or a ZIP to your own backend.

Error Handling

Catch ZaviloError codes and build predictable fallback UI.

During normal SDK Tool execution, Zavilo does not store customer input files or generated result files on Zavilo servers. Your application receives File objects and decides whether to preview, download, or upload them to your own server.