Navigation

Investigation completed

Summary

Fires when an investigation finishes with a report. Failed runs do not fire; poll the investigation to see those.

Payload

The investigation.completed event sends the decision and a summary. Retrieve the investigation for the indicators, the evidence and the details.

JavaScript
{
  event: "investigation.completed",
  investigation: {
    id: String,
    type: String,
    status: "completed",
    user?: String,
    decision: String,
    verdict: String,
    confidence: Number,
    summary: String,
    createdAt: Date,
    completedAt: Date,
  }
}