Skip to main content

ExecutionEvent

Defined in: types.ts:710

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

Properties

agentId

readonly agentId: string

Defined in: types.ts:713


duration

readonly duration: number

Defined in: types.ts:717


error?

readonly optional error?: string

Defined in: types.ts:727

Error message if the execution failed.


eventType

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

Defined in: types.ts:711


failurePoint?

readonly optional failurePoint?: FailurePoint

Defined in: types.ts:720


graphId

readonly graphId: string

Defined in: types.ts:712


model?

readonly optional model?: string

Defined in: types.ts:735

Model used for the execution.


nodeCount

readonly nodeCount: number

Defined in: types.ts:718


operatorContext?

readonly optional operatorContext?: OperatorContext

Defined in: types.ts:739

Operator context from Claude Code session.


operatorId?

readonly optional operatorId?: string

Defined in: types.ts:737

UUID of the operator who initiated this execution.


pathSignature

readonly pathSignature: string

Defined in: types.ts:719


processContext?

readonly optional processContext?: ProcessContext

Defined in: types.ts:721


schemaVersion

readonly schemaVersion: number

Defined in: types.ts:715


semantic?

readonly optional semantic?: SemanticContext

Defined in: types.ts:722


status

readonly status: GraphStatus

Defined in: types.ts:716


summary?

readonly optional summary?: string

Defined in: types.ts:725

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


timestamp

readonly timestamp: number

Defined in: types.ts:714


usage?

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

Defined in: types.ts:729

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:723