Skip to main content

ExecutionEvent

Defined in: types.ts:708

A structured event emitted after an agent execution completes or fails.

Properties

agentId

readonly agentId: string

Defined in: types.ts:711


duration

readonly duration: number

Defined in: types.ts:715


error?

readonly optional error?: string

Defined in: types.ts:725

Error message if the execution failed.


eventType

readonly eventType: "execution.completed" | "execution.failed"

Defined in: types.ts:709


failurePoint?

readonly optional failurePoint?: FailurePoint

Defined in: types.ts:718


graphId

readonly graphId: string

Defined in: types.ts:710


model?

readonly optional model?: string

Defined in: types.ts:729

Model used for the execution.


nodeCount

readonly nodeCount: number

Defined in: types.ts:716


operatorContext?

readonly optional operatorContext?: OperatorContext

Defined in: types.ts:733

Operator context from Claude Code session.


operatorId?

readonly optional operatorId?: string

Defined in: types.ts:731

UUID of the operator who initiated this execution.


pathSignature

readonly pathSignature: string

Defined in: types.ts:717


processContext?

readonly optional processContext?: ProcessContext

Defined in: types.ts:719


schemaVersion

readonly schemaVersion: number

Defined in: types.ts:713


semantic?

readonly optional semantic?: SemanticContext

Defined in: types.ts:720


status

readonly status: GraphStatus

Defined in: types.ts:714


summary?

readonly optional summary?: string

Defined in: types.ts:723

Execution summary (e.g., OpenClaw cron run summary or SOMA worker stage info).


timestamp

readonly timestamp: number

Defined in: types.ts:712


usage?

readonly optional usage?: { input_tokens?: number; output_tokens?: number; total_tokens?: number; }

Defined in: types.ts:727

Token usage from LLM calls.

input_tokens?

readonly optional input_tokens?: number

output_tokens?

readonly optional output_tokens?: number

total_tokens?

readonly optional total_tokens?: number


violations

readonly violations: readonly GuardViolation[]

Defined in: types.ts:721