List files in a directory
One step with E2B. We can help you get access.
Look something up
List files in a directory
with E2B
Use E2B: its E2B Filesystem API lets you list files in a directory in a single step (POST /filesystem.Filesystem/ListDir). capabilities.work can help you get signed up and connected.
- How do I list the files in a directory of a sandbox?
- Can I list a directory to a certain depth?
Say it to your AI assistant
- List the files in {path} in sandbox {sandbox}.
- List {path} to depth {depth} on sandbox {sandbox} port {port}.
For your developer
POST /filesystem.Filesystem/ListDir in E2B Filesystem API. Full spec on APIs.io.