ExecutionEvent
Defined in: types.ts:708
A structured event emitted after an agent execution completes or fails.
Properties
agentId
readonlyagentId:string
Defined in: types.ts:711
duration
readonlyduration:number
Defined in: types.ts:715
error?
readonlyoptionalerror?:string
Defined in: types.ts:725
Error message if the execution failed.
eventType
readonlyeventType:"execution.completed"|"execution.failed"
Defined in: types.ts:709
failurePoint?
readonlyoptionalfailurePoint?:FailurePoint
Defined in: types.ts:718
graphId
readonlygraphId:string
Defined in: types.ts:710
model?
readonlyoptionalmodel?:string
Defined in: types.ts:729
Model used for the execution.
nodeCount
readonlynodeCount:number
Defined in: types.ts:716
operatorContext?
readonlyoptionaloperatorContext?:OperatorContext
Defined in: types.ts:733
Operator context from Claude Code session.
operatorId?
readonlyoptionaloperatorId?:string
Defined in: types.ts:731
UUID of the operator who initiated this execution.
pathSignature
readonlypathSignature:string
Defined in: types.ts:717
processContext?
readonlyoptionalprocessContext?:ProcessContext
Defined in: types.ts:719
schemaVersion
readonlyschemaVersion:number
Defined in: types.ts:713
semantic?
readonlyoptionalsemantic?:SemanticContext
Defined in: types.ts:720
status
readonlystatus:GraphStatus
Defined in: types.ts:714
summary?
readonlyoptionalsummary?:string
Defined in: types.ts:723
Execution summary (e.g., OpenClaw cron run summary or SOMA worker stage info).
timestamp
readonlytimestamp:number
Defined in: types.ts:712
usage?
readonlyoptionalusage?: {input_tokens?:number;output_tokens?:number;total_tokens?:number; }
Defined in: types.ts:727
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:721