File watching
VoidRun can watch paths inside a sandbox for create/modify/delete/rename events. The API is a small state machine:POST /sandboxes/{id}/files/watchwith JSONpath, optionalrecursive,ignoreHidden: response includes asessionId.- Open a WebSocket to
/sandboxes/{id}/files/watch/{sessionId}/stream(see OpenAPI for the exact URL pattern on your deployment, includingwss://and the API prefix).
docs/openapi/voidrun.yml under File System.
SDKs
- TypeScript:
sandbox.fs.watchand related types (see package README). - Python: async watch helpers where exposed on
sandbox.fs(see package README).
Docs and examples
The File system guide includes watch examples and a cURL note describing the HTTP start + WebSocket stream two-step flow.Next steps
File system
Upload, download, and watch patterns.
API Reference
OpenAPI:
files/watch and stream endpoint.
