sandbox.files manages files inside one sandbox. /workspace is the default
mutable work tree, but general filesystem APIs also accept valid sandbox-scoped
absolute paths such as /tmp/result.txt, /context/input.json, and
/srv/app/config.json.
Read and write
format="stream" for large downloads:
/workspace is still the default mutable work tree.
General filesystem APIs also accept valid sandbox-scoped absolute paths such as
/srv/app/...; reserved runtime paths under
/workspace/.nullspace are rejected.
Upload and download
Metadata and search
make_dir(), rename(), remove(),
set_permissions(), and get_info() as an alias for info().
Replace and watch
user= when paths should be resolved for a specific
sandbox user.
Async API
sandbox.files API.
Concept: Exec. API reference:
listDir, readFile,
writeFile, uploadUrl, and
downloadUrl.