Skip to main content

Get execution gap-fill

GET 

/api/v1/bsl/accounts/:account/executions

Gap-fill semantics​

fromSeq is inclusive. To fetch the first missing event after contiguous id N, send fromSeq=N+1 (last_contiguous_event_id + 1). Alternatively, send cursor=N; cursor is exclusive. Never send both parameters.

For native version 3 JSON replay or server-sent events, add reportVersion=3. Omission preserves legacy payloads. Each replay items[].data then contains the whole native report with version, cursor, reportId, and event; OI economics and original cuts live inside the event. JSON is the default encoding. Unsupported report versions return HTTP 400, version 3 with binary encoding returns HTTP 406, and missing canonical version 3 source integrity returns HTTP 409 for JSON replay. Account authorization remains unchanged. This HTTP selector does not change the WebSocket representation or negotiate a direct TCP capability.

Process events in ascending eventId order and dedupe by eventId together with the returned execution identity. HTTP 409 means the requested replay point is outside retention or integrity cannot be proven; take a fresh account bootstrap, reconcile open orders, apply scoped cancel-all where needed, and reseed quotes.

Returns account execution events for replay, or streams them when the request accepts server-sent events.

Request​

Responses​

BSL execution events