Watch channel
watch_channelSubscribe to a WebSocket channel to verify events are flowing, inspect payload shapes, and test publish end to end; private and presence auth is handled.
Instructions
Subscribe to a channel over WebSocket and collect the events that arrive for a few seconds, then disconnect. Use it to confirm events are flowing, see payload shapes, or test a publish end to end (start the watch, then publish). Private and presence channels are signed automatically. On presence channels the watcher joins as a member, which other subscribers will see. Long watches report progress every few seconds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | Channel to subscribe to. | |
| seconds | No | How long to listen after subscribing (default 10, max 60). | |
| max_events | No | How many events to keep; later ones are counted but dropped (default 50, max 200). | |
| channel_data | No | Presence member data to join with. Defaults to a watcher identity. | |
| until_events | No | Stop early once this many events have arrived. |