Skip to content

AIDK API Reference / aidk-shared / DTExecutionEndEvent

Interface: DTExecutionEndEvent ​

Defined in: packages/shared/src/devtools.ts:80

Base fields present on all DevTools events

Extends ​

Properties ​

PropertyTypeDescriptionOverridesInherited fromDefined in
error?{ message: string; name: string; stack?: string; }Error details if finalState is 'error'--packages/shared/src/devtools.ts:87
error.messagestring---packages/shared/src/devtools.ts:89
error.namestring---packages/shared/src/devtools.ts:88
error.stack?string---packages/shared/src/devtools.ts:90
executionIdstringUUID of the execution context-DevToolsEventBase.executionIdpackages/shared/src/devtools.ts:32
finalState?"completed" | "cancelled" | "error"Final execution state--packages/shared/src/devtools.ts:85
parentExecutionId?stringParent execution ID for nested executions (fork, spawn, component_tool)-DevToolsEventBase.parentExecutionIdpackages/shared/src/devtools.ts:43
procedureId?stringCurrent procedure ID-DevToolsEventBase.procedureIdpackages/shared/src/devtools.ts:45
requestId?stringRequest ID for this execution context-DevToolsEventBase.requestIdpackages/shared/src/devtools.ts:41
tenantId?stringTenant ID from context (for multi-tenant dashboards)-DevToolsEventBase.tenantIdpackages/shared/src/devtools.ts:49
timestampnumberUnix timestamp in milliseconds-DevToolsEventBase.timestamppackages/shared/src/devtools.ts:34
totalUsageTokenUsageCumulative token usage across all ticks--packages/shared/src/devtools.ts:83
traceId?stringTrace ID for distributed tracing correlation-DevToolsEventBase.traceIdpackages/shared/src/devtools.ts:39
type"execution_end"Discriminator for event typeDevToolsEventBase.type-packages/shared/src/devtools.ts:81
userId?stringUser ID from context (for attribution and multi-tenant filtering)-DevToolsEventBase.userIdpackages/shared/src/devtools.ts:47

Released under the MIT License.