InsightEvent
Defined in: types.ts:778
A structured event emitted when the insight engine generates an LLM-powered analysis.
Properties
agentId
readonlyagentId:string
Defined in: types.ts:780
dataHash
readonlydataHash:string
Defined in: types.ts:793
Hash of input data — used for cache identity.
eventType
readonlyeventType:"insight.generated"
Defined in: types.ts:779
insightType
readonlyinsightType:"failure-analysis"|"anomaly-explanation"|"agent-summary"|"fix-suggestion"
Defined in: types.ts:783
prompt
readonlyprompt:string
Defined in: types.ts:789
The prompt that was sent to the AnalysisFn (for auditing).
response
readonlyresponse:string
Defined in: types.ts:791
The LLM response.
schemaVersion
readonlyschemaVersion:number
Defined in: types.ts:782
timestamp
readonlytimestamp:number
Defined in: types.ts:781