Watch for file changes via SSE
Server-sent event stream. Opens with one snapshot event whose data is {files: string[], path} (an ls -R listing of the watched directory), then a change event…
GET
Path parameters
string (uuid)
required
Sandbox identifier
Query parameters
string
Directory to watch (default /workspace)
Response
Returnstext/event-stream — Server-sent event stream. Opens with one snapshot event whose data is {files: string[], path} (an ls -R listing of the watched directory), then a change event with {added: string[], removed: string[]} whenever the listing differs on the 5-second poll, with : heartbeat comments every 15s.
Status codes
Last modified on August 31, 2026