Poll/replay session-event frames after a cursor
Reads the SAME underlying event log GET /v1/sessions/{id}/stream reads. ‘since’ (query, optional, default 0) is a non-negative integer cursor; the response’s nextCursor is the cursor to pass on the NEXT poll. Every frame is already filtered for safety. Emits an append-only audit record per request.
Authentication
OAuth authentication of the form <token>.
Path parameters
The session locator — an untrusted LOCATOR only (never a trust assertion); validated key-safe server-side before this handler runs, failing closed (400) otherwise.
Query parameters
Optional non-negative integer cursor from the caller’s last successful read; the response’s nextCursor is the cursor to pass on the next poll. Omitted (or 0) replays everything buffered.
Response
Every frame after the request’s since cursor, in ascending order. Already filtered for safety.
The cursor to pass as since on the next poll. Never moves backward: it is either the
last returned frame’s cursor, or the request’s own since value echoed back when there
are no new frames.