# Stream sandbox and agent events over SSE or WebSocket `GET /v1/sandboxes/{sandbox}/events/stream` **In this build:** Real. **Scope:** `agent.prompt` **CLI:** `harebox events ID --follow` ## Query `cursor`, `type`, `conversation` ## Response: 200 Server-sent events. Each event's `id` is a resume cursor. Send `Upgrade: websocket` for WebSocket framing. Errors follow [one format](../errors.html).