Fetch the tree
- Shelf status must be
readyorreview
files object is a flat path -> content map.
fileCount reports the number of entries returned in the map.
Because directory hierarchy is encoded in keys, preserve paths exactly if you rematerialize files locally.
Materialize locally (optional)
Prefer single-file reads when possible
If you already know the path, use:Tree vs alternatives
- JSON tree: full in-memory access
- Sandbox adapters: filesystem hydration plus snapshots
- Single file endpoint: narrow, efficient retrieval
