Skip to main content
This endpoint downloads one file from a filesystem by relative path. Use it when you want file bytes for a single path such as output/report.md.

SDK Surfaces

TypeScript

const response = await client.filesystems.downloadFile({
  filesystem_id: 'fs_123',
  path: 'output/report.md',
});

Python

chunks = client.filesystems.download_file(
    filesystem_id,
    path="output/report.md",
)
If you need the entire filesystem instead, use Get Download URL or tu fs pull.