Skip to content

Documentation / @agentick/shared / DTGatewayResponseEvent

Interface: DTGatewayResponseEvent

Defined in: devtools.ts:599

Emitted when a gateway request completes.

Extends

Properties

error?

optional error: object

Defined in: devtools.ts:608

Error details if ok is false

code

code: string

message

message: string


executionId

executionId: string

Defined in: devtools.ts:32

UUID of the execution context

Inherited from

DevToolsEventBase.executionId


latencyMs

latencyMs: number

Defined in: devtools.ts:606

Response latency in milliseconds


ok

ok: boolean

Defined in: devtools.ts:604

Whether the request succeeded


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

requestId: string

Defined in: devtools.ts:602

Matches the request

Overrides

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


traceId?

optional traceId: string

Defined in: devtools.ts:41

Trace ID for distributed tracing correlation

Inherited from

DevToolsEventBase.traceId


type

type: "gateway_response"

Defined in: devtools.ts:600

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.