v44

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0156121143.5 KB

Download a directory as a tar.zst archive

Returns a tar.zst (tar archive compressed with zstd) file containing the contents of the specified directory. Zstd offers significantly faster compression and decompression compared to zip while achieving better compression ratios.

get/fs/download_dir_zstd

Query parameters

pathstring required

Absolute directory path to archive and download.

compression_level'fastest' | 'default' | 'better' | 'best'

Compression level. Higher levels produce smaller archives but take longer.

  • fastest: ~zstd level 1, maximum speed (~300-500 MB/s)
  • default: ~zstd level 3, balanced speed/ratio (~150 MB/s)
  • better: ~zstd level 7, better ratio (~50-80 MB/s)
  • best: ~zstd level 11, best ratio (~20-40 MB/s)

Response

Tar.zst archive of the requested directory