Interface: GatewaySessionExchangeRequest
@kortexya/reasoninglayer / GatewaySessionExchangeRequest
Interface: GatewaySessionExchangeRequest
Section titled “Interface: GatewaySessionExchangeRequest”Defined in: src/types/gateway-sessions.ts:30
One exchange to record in the caller’s native gateway session.
Properties
Section titled “Properties”assistantExcerpt?
Section titled “assistantExcerpt?”
optionalassistantExcerpt?: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
Section titled “callId”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.
promptTokens?
Section titled “promptTokens?”
optionalpromptTokens?:number|null
Defined in: src/types/gateway-sessions.ts:42
Prompt token count.
session
Section titled “session”session:
GatewaySessionAttributes
Defined in: src/types/gateway-sessions.ts:32
Attributes retained from the first exchange.
toolCalls?
Section titled “toolCalls?”
optionaltoolCalls?:GatewayToolCall[]
Defined in: src/types/gateway-sessions.ts:46
At most 64 tool-call digests.
traceId?
Section titled “traceId?”
optionaltraceId?:string|null
Defined in: src/types/gateway-sessions.ts:36
Trace identifier, when available.
userText?
Section titled “userText?”
optionaluserText?:string|null
Defined in: src/types/gateway-sessions.ts:44
New user message, at most 8 KiB, preserved verbatim.