# Attach to a command over SSE `GET /v1/sandboxes/{sandbox}/commands/{command}/stream` **In this build:** Works on the simulator or a real VM. **Scope:** `exec` **CLI:** `harebox attach` ## Query `cursor` ## 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).