Skip to content

Documentation / @agentick/shared / DTExecutionEndEvent

Interface: DTExecutionEndEvent

Defined in: devtools.ts:82

Base fields present on all DevTools events

Extends

Properties

error?

optional error: object

Defined in: devtools.ts:89

Error details if finalState is 'error'

message

message: string

name

name: string

stack?

optional stack: string


executionId

executionId: string

Defined in: devtools.ts:32

UUID of the execution context

Inherited from

DevToolsEventBase.executionId


finalState?

optional finalState: "error" | "completed" | "cancelled"

Defined in: devtools.ts:87

Final execution state


parentExecutionId?

optional parentExecutionId: string

Defined in: devtools.ts:45

Parent execution ID for nested executions (fork, spawn, component_tool)

Inherited from

DevToolsEventBase.parentExecutionId


procedureId?

optional procedureId: string

Defined in: devtools.ts:47

Current procedure ID

Inherited from

DevToolsEventBase.procedureId


requestId?

optional requestId: string

Defined in: devtools.ts:43

Request ID for this execution context

Inherited from

DevToolsEventBase.requestId


sequence

sequence: number

Defined in: devtools.ts:34

Monotonically increasing sequence number from the source session

Inherited from

DevToolsEventBase.sequence


tenantId?

optional tenantId: string

Defined in: devtools.ts:51

Tenant ID from context (for multi-tenant dashboards)

Inherited from

DevToolsEventBase.tenantId


timestamp

timestamp: number

Defined in: devtools.ts:36

Unix timestamp in milliseconds

Inherited from

DevToolsEventBase.timestamp


totalUsage

totalUsage: UsageStats

Defined in: devtools.ts:85

Cumulative token usage across all ticks


traceId?

optional traceId: string

Defined in: devtools.ts:41

Trace ID for distributed tracing correlation

Inherited from

DevToolsEventBase.traceId


type

type: "execution_end"

Defined in: devtools.ts:83

Discriminator for event type

Overrides

DevToolsEventBase.type


userId?

optional userId: string

Defined in: devtools.ts:49

User ID from context (for attribution and multi-tenant filtering)

Inherited from

DevToolsEventBase.userId

Released under the ISC License.