Javascript
import Kernel from '@onkernel/sdk'; const client = new Kernel({ apiKey: 'My API Key', }); const response = await client.browsers.fs.watch.events('watch_id', { id: 'id' }); console.log(response.path);
{ "type": "CREATE", "name": "<string>", "path": "<string>", "is_dir": true }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Browser session ID
SSE stream of filesystem events
Filesystem change event.