ExecutionEvent
Defined in: types.ts:626
A structured event emitted after an agent execution completes or fails.
Properties
agentId
readonlyagentId:string
Defined in: types.ts:629
duration
readonlyduration:number
Defined in: types.ts:633
error?
readonlyoptionalerror?:string
Defined in: types.ts:643
Error message if the execution failed.
eventType
readonlyeventType:"execution.completed"|"execution.failed"
Defined in: types.ts:627
failurePoint?
readonlyoptionalfailurePoint?:FailurePoint
Defined in: types.ts:636
graphId
readonlygraphId:string
Defined in: types.ts:628
model?
readonlyoptionalmodel?:string
Defined in: types.ts:647
Model used for the execution.
nodeCount
readonlynodeCount:number
Defined in: types.ts:634
pathSignature
readonlypathSignature:string
Defined in: types.ts:635
processContext?
readonlyoptionalprocessContext?:ProcessContext
Defined in: types.ts:637
schemaVersion
readonlyschemaVersion:number
Defined in: types.ts:631
semantic?
readonlyoptionalsemantic?:SemanticContext
Defined in: types.ts:638
status
readonlystatus:GraphStatus
Defined in: types.ts:632
summary?
readonlyoptionalsummary?:string
Defined in: types.ts:641
Execution summary (e.g., OpenClaw cron run summary or SOMA worker stage info).
timestamp
readonlytimestamp:number
Defined in: types.ts:630
usage?
readonlyoptionalusage?: {input_tokens?:number;output_tokens?:number;total_tokens?:number; }
Defined in: types.ts:645
Token usage from LLM calls.
input_tokens?
readonlyoptionalinput_tokens?:number
output_tokens?
readonlyoptionaloutput_tokens?:number
total_tokens?
readonlyoptionaltotal_tokens?:number
violations
readonlyviolations: readonlyGuardViolation[]
Defined in: types.ts:639