Skip to main content

ExecutionEvent

Defined in: types.ts:626

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

Properties

agentId

readonly agentId: string

Defined in: types.ts:629


duration

readonly duration: number

Defined in: types.ts:633


error?

readonly optional error?: string

Defined in: types.ts:643

Error message if the execution failed.


eventType

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

Defined in: types.ts:627


failurePoint?

readonly optional failurePoint?: FailurePoint

Defined in: types.ts:636


graphId

readonly graphId: string

Defined in: types.ts:628


model?

readonly optional model?: string

Defined in: types.ts:647

Model used for the execution.


nodeCount

readonly nodeCount: number

Defined in: types.ts:634


pathSignature

readonly pathSignature: string

Defined in: types.ts:635


processContext?

readonly optional processContext?: ProcessContext

Defined in: types.ts:637


schemaVersion

readonly schemaVersion: number

Defined in: types.ts:631


semantic?

readonly optional semantic?: SemanticContext

Defined in: types.ts:638


status

readonly status: GraphStatus

Defined in: types.ts:632


summary?

readonly optional summary?: string

Defined in: types.ts:641

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


timestamp

readonly timestamp: number

Defined in: types.ts:630


usage?

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

Defined in: types.ts:645

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