Skip to navigation

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

AuthorizationBearer

OAuth authentication of the form <token>.

Path parameters

idstringRequired

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

sinceintegerOptional>=0

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

OK
airlineIdstring
sessionIdstring
frameslist of objects

Every frame after the request’s since cursor, in ascending order. Already filtered for safety.

nextCursorobject

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.

correlationIdstring
schemaVersionstringOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
500
Internal Server Error