Skip to content

Interface: GatewaySessionExchangeRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / GatewaySessionExchangeRequest

Defined in: src/types/gateway-sessions.ts:30

One exchange to record in the caller’s native gateway session.

optional assistantExcerpt?: string | null

Defined in: src/types/gateway-sessions.ts:48

Answer excerpt, at most 2 KiB.


at: string

Defined in: src/types/gateway-sessions.ts:40

Exchange time in RFC 3339 format.


callId: string

Defined in: src/types/gateway-sessions.ts:34

Gateway call identifier and native idempotency key.


kind: string

Defined in: src/types/gateway-sessions.ts:38

Request classification, such as agent_turn or compaction.


optional promptTokens?: number | null

Defined in: src/types/gateway-sessions.ts:42

Prompt token count.


session: GatewaySessionAttributes

Defined in: src/types/gateway-sessions.ts:32

Attributes retained from the first exchange.


optional toolCalls?: GatewayToolCall[]

Defined in: src/types/gateway-sessions.ts:46

At most 64 tool-call digests.


optional traceId?: string | null

Defined in: src/types/gateway-sessions.ts:36

Trace identifier, when available.


optional userText?: string | null

Defined in: src/types/gateway-sessions.ts:44

New user message, at most 8 KiB, preserved verbatim.