Skip to main content
The Scout Chat SDK emits a variety of events that allow your application to react to the agent’s work cycle.

Core Events

EventDescription
citationFoundEmitted when the engine verifies a new legal source.
draftGeneratedEmitted when a strictly-typed legal draft is ready for review.
vaultSearchEmitted when the agent initiates a search of the hardened Vault.
errorEmitted during connection issues or agentic disconnects.

Subscribing to Events

chat.on('citationFound', (citation) => {
  showCitationToast(citation.caseName);
});