Skip to main content
File operations use sandbox-specific ingress, commonly seen as https://<sandbox-id-or-name>.sandbox.tensorlake.ai, derived from the sandbox’s ingress_endpoint.Named sandboxes can use the sandbox name in place of the ID in the proxy hostname. The file APIs documented here run on the management URL on port 9501, which always requires authentication. Unauthenticated proxy access applies only to exposed user ports.

Copy Files

tl sbx cp is file-only today. Directory copy workflows should use the Python SDK, TypeScript SDK, or the raw file API.

Read Files

Write Files

List Directory Contents

Delete Files

Organize Files

Best Practices

  • Use /workspace as the default directory for application files.
  • Use absolute paths to avoid ambiguity.
  • Use write_file / read_file for programmatic access.
  • Use tl sbx cp for single-file transfers.
  • Use the Python SDK, TypeScript SDK, or raw file API for directory-oriented workflows.

Learn More

Commands

Execute commands in sandboxes.

Snapshots

Save and restore sandbox filesystem, memory, and running processes.

Lifecycle

Sandbox states, resources, and timeouts.