Skip to content

Documentation / @agentick/shared / ExecutionEndEvent

Type Alias: ExecutionEndEvent ​

ExecutionEndEvent = object & StreamEventBase

Defined in: streaming.ts:432

Type Declaration ​

aborted? ​

optional aborted: boolean

Whether execution was aborted

error? ​

optional error: object

Error that caused execution to fail (absent on success or intentional abort)

error.message ​

message: string

error.name ​

name: string

executionId ​

executionId: string

metadata? ​

optional metadata: Record<string, unknown>

User-provided metadata (includes threadId, userId, etc.)

newTimelineEntries? ​

optional newTimelineEntries: unknown[]

Timeline entries added during this execution (delta, not full timeline)

output ​

output: unknown

parentExecutionId? ​

optional parentExecutionId: string

rootExecutionId? ​

optional rootExecutionId: string

sessionId? ​

optional sessionId: string

stopReason? ​

optional stopReason: StopReason | string

Why the execution stopped

type ​

type: "execution_end"

Released under the ISC License.