Filesystem
WatchDir
Server-streaming RPC. Use the Connect protocol with streaming support.
POST
WatchDir
Authorizations
Sandbox access token (envdAccessToken) for authenticating requests to a running sandbox. Returned by: POST /sandboxes (on create), POST /sandboxes/{sandboxID}/connect (on connect), POST /sandboxes/{sandboxID}/resume (on resume), and GET /sandboxes/{sandboxID} (for running or paused sandboxes).
Headers
Define the version of the Connect protocol
Define the timeout, in ms
Response
Stream of WatchDirResponse events
- WatchDirResponse
- WatchDirResponse
- WatchDirResponse
Previous
CloseStdinClose stdin to signal EOF to the process.
Only works for non-PTY processes. For PTY, send Ctrl+D (0x04) instead.
Next
WatchDir