Stream polling
Hosted webhooks are not the only delivery mechanism. Omni Datastream also exposes cursor-based stream polling for operator and agent workflows that want deterministic replay.Endpoints
GET /v1/stream_subscriptionsPOST /v1/stream_subscriptionsGET /v1/stream_subscriptions/{stream_id}/events
Poll the feed
data: ordered stream eventsnextCursor: the cursor to use on the next pollreplayCursor: the last durable cursor the client can checkpoint
Resume from a checkpoint
- a tenant cannot expose a public webhook endpoint
- an agent runtime wants explicit checkpoint control
- support needs to replay a recent stream window without replaying the entire subscription
CLI
Operational notes
- stream events are filtered to the current org
cursorordering is based on recorded event order, not the original SEC filing timestamp- replay should advance from
replayCursor, not from the last array element a client happened to inspect