Skip to main content
System

File System

Read, write, and manage files inside the sandbox.

The filesystem API lets you list, read, write, move, and delete files inside the sandbox, plus upload tar archives in batch.

Path resolution

  • Absolute paths are used as-is.
  • Relative paths resolve from the server process working directory.
  • Requests that attempt to escape allowed roots are rejected by the server.

List entries

Read and write files

PUT /v1/fs/file writes raw bytes. GET /v1/fs/file returns raw bytes.

Create directories

Move, delete, and stat

Batch upload (tar)

Batch upload accepts application/x-tar and extracts into the destination directory.