BloodhoundBloodhound Docsv1

Streaming

Consume durable investigation events and reconnect safely.

Mission streams use application/x-ndjson: one complete JSON event per line.

Events to handle

EventMeaning
session.startedDurable mission created
action.resultA research action returned evidence or a structured result
message.appendedIncremental findings text
message.completedA settled findings block
input.requestedThe mission needs a clarification or approval
turn.failedThe active turn failed
turn.cancelledCancellation completed
session.waitingStore the latest continuation token
session.completedMission reached a terminal end

Reconnect without duplicates

Track the number of events you have durably processed. Reconnect with that count as startIndex. The stream replays from that position, so a dropped connection does not lose investigation work.

GET /eve/v1/session/{sessionId}/stream?startIndex=147

Do not infer completion from a closed socket. Only a terminal event or an explicit failure establishes the mission state.

Next steps

Review the stream endpoint and error strategy.

On this page