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>"
}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.
Browser session ID
Watch started successfully
Unique identifier for the directory watch