Specification

Data Contracts.

Thread Intelligence Schema (V1)

type ThreadIntelV1 = {
  thread_id: string;
  summary: {
    bluf: string;
    key_points: string[];
  };
  tasks: Array<{
    id: string;
    description: string;
    priority: "low" | "medium" | "high";
    deadline_iso: string | null;
  }>;
  sentiment: "urgent" | "neutral" | "frustrated";
  attachments_parsed: boolean;
}

SSE Event Format

event: intel_ready
data: {
  "thread_id": "18f4a9b2",
  "status": "processed",
  "timestamp": 1698249822
}