Skip to main content
GET
Get File
Retrieve a specific file (or directory) from the filesystem manifest.

Path Parameters

filesystem_id
string
required
file_path
string
required

Query Parameters

include_content
boolean
default:true

Include file content in response

Response

Successful Response

File metadata response - adds server-side fields.

modified_at
string<date-time>
required

File's last modification time.

path
string
required

Relative path within filesystem (e.g., 'src/index.ts').

synced_at
string<date-time>
required

When this entry was last synced.

checksum
string | null

SHA256 checksum (None for directories).

content
string | null

File contents (None for binary/large files).

content_truncated
boolean
default:false

True if content was truncated due to size.

is_binary
boolean
default:false

True if file is binary.

is_directory
boolean
default:false

Whether this entry is a directory.

mime_type
string | null

MIME type (None for directories).

size_bytes
integer | null

File size in bytes (None for directories).