cURL
curl --request POST \ --url https://api.onkernel.com/browsers/{id}/fs/watch \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "path": "<string>", "recursive": false } '
{ "watch_id": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Browser session ID
Directory to watch.
Whether to watch recursively.
Watch started successfully
Unique identifier for the directory watch