Whether the session is free of both per-turn and cross-turn threats.
Threats that only emerge when turns are considered together.
Time taken in milliseconds for the whole session scan.
Summary stats for the session.
Optionaldegraded?: booleanTrue when any detector threw on any turn or window. clean is then false.
OptionalfailedDetectors?: string[]Ids of the detectors that threw. Present only when degraded is true.
Total chars considered in the cross-turn split-payload window.
Per-turn scan results, in the order the turns were supplied.
Result of scanning a multi-turn conversation.
turnsholds the per-turn single-string results (identical to scanning each turn on its own);crossTurnThreatsholds threats that only the session view reveals.Note: a session has no single sanitized form — per-turn sanitized text lives on each entry in
turns; cross-turn threats are advisory.