Skip to main content
GET
/
filesystems
/
{filesystem_id}
/
file-download
Download File
curl --request GET \
  --url https://api.example.com/filesystems/{filesystem_id}/file-download
"<string>"

Documentation Index

Fetch the complete documentation index at: https://docs.terminaluse.com/llms.txt

Use this file to discover all available pages before exploring further.

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.

Path Parameters

filesystem_id
string
required

Query Parameters

path
string
required

Relative file path to download.

Response

Binary file content

The response is of type file.