Skip to main content
Direct volume paths are absolute volume-internal paths rooted at /. Relative paths are rejected, .. cannot escape the volume root, and there is no machine cwd or user context for direct volume operations.

Read

Use cat for UTF-8 text. Use read --encoding base64 for binary data.

Write

Batch Write

There is no dedicated volume batch-write REST route; over HTTP, issue one POST /v1/volumes/{id}/files/write per file. write_files() can partially succeed before raising BatchWriteError. Inspect successes and failures before retrying.

Move, Remove, And Permissions

Search And Replace

find_files() searches file contents. search_files() matches file names. VolumeReplaceResult includes replacement counts and matched files, so dry runs can show planned changes before writing.

Watch

Volume watch is not a plain REST call: it streams change events over the volume data plane rather than a single request/response endpoint, so there is no curl equivalent. Direct watches are opened against a concrete volume ID. If you look up a volume by name, the SDK resolves it first and then watches that ID. In multi-host deployments, mutations through another data-plane host may require a resync; clients should treat resync_required as a prompt to list or stat the watched tree again.

Async