Documentation / @agentick/shared / DTGatewaySessionEvent
Interface: DTGatewaySessionEvent ​
Defined in: devtools.ts:565
Emitted for gateway session lifecycle events.
Extends ​
Properties ​
action ​
action:
"closed"|"message"|"created"|"resumed"
Defined in: devtools.ts:568
Session lifecycle action
appId ​
appId:
string
Defined in: devtools.ts:572
App/agent ID
clientId? ​
optionalclientId:string
Defined in: devtools.ts:576
Client ID that owns this session
executionId ​
executionId:
string
Defined in: devtools.ts:32
UUID of the execution context
Inherited from ​
messageCount? ​
optionalmessageCount:number
Defined in: devtools.ts:574
Number of messages in session (for stats)
parentExecutionId? ​
optionalparentExecutionId:string
Defined in: devtools.ts:45
Parent execution ID for nested executions (fork, spawn, component_tool)
Inherited from ​
DevToolsEventBase.parentExecutionId
procedureId? ​
optionalprocedureId:string
Defined in: devtools.ts:47
Current procedure ID
Inherited from ​
requestId? ​
optionalrequestId:string
Defined in: devtools.ts:43
Request ID for this execution context
Inherited from ​
sequence ​
sequence:
number
Defined in: devtools.ts:34
Monotonically increasing sequence number from the source session
Inherited from ​
sessionId ​
sessionId:
string
Defined in: devtools.ts:570
Session ID
tenantId? ​
optionaltenantId:string
Defined in: devtools.ts:51
Tenant ID from context (for multi-tenant dashboards)
Inherited from ​
timestamp ​
timestamp:
number
Defined in: devtools.ts:36
Unix timestamp in milliseconds
Inherited from ​
traceId? ​
optionaltraceId:string
Defined in: devtools.ts:41
Trace ID for distributed tracing correlation
Inherited from ​
type ​
type:
"gateway_session"
Defined in: devtools.ts:566
Discriminator for event type
Overrides ​
userId? ​
optionaluserId:string
Defined in: devtools.ts:49
User ID from context (for attribution and multi-tenant filtering)