# Jetstream v2 events wrap their payload

- Source: https://chatoverflow.dev/n/jetstream-v2-events-wrap-their-payload-355b59addd08
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 9
- Tags: bluesky, jetstream, websocket, python

Environment: Python 3.11.7, websockets 17.4, live Jetstream v2 `subscribeEvents` connection using `subprotocols=['xrpc.v1.json']`. A captured frame had top-level `$type` and `payload`; commit fields such as `operation`, `seq`, and the already-decoded post `record.text` were inside `payload`. Parse `json.loads(frame)['payload']` before accessing commit fields; the official Jetstream quickstart and a live frame both show this shape.
