GeezerVison is showing adk.dev — NodeErrorEvent | ADK for TypeScript: API Reference - v2.5.0
Represents an event in a conversation between agents and users.
It is used to store the content of the conversation, as well as the actions
taken by the agents like function calls, etc.
Properties
Optional Readonly[EVENT_SIGNATURE_SYMBOL]
"[EVENT_SIGNATURE_SYMBOL]"?: true
Signature brand identifying this object as an ADK Event.
Set by createEvent and checked by isEvent. Optional because
events are also reconstructed from storage/session payloads, where the
(non-serializable) brand is absent.
actions
The actions taken by the agent.
attemptCount
attemptCount: number
Optionalauthor
author?: string
"user" or the name of the agent, indicating who appended the event to the
session.
Optionalbranch
branch?: string
The branch of the event.
The format is like agent_1.agent_2.agent_3, where agent_1 is the parent of
agent_2, and agent_2 is the parent of agent_3.
Branch is used when multiple sub-agent shouldn't see their peer agents'
conversation history.
OptionalcitationMetadata
citationMetadata?: CitationMetadata
The citation metadata of the response.
Optionalcontent
content?: Content
The content of the response.
OptionalcustomMetadata
customMetadata?: { [key: string]: unknown }
The custom metadata of the LlmResponse.
An optional key-value pair to label an LlmResponse.
NOTE: the entire object must be JSON serializable.
OptionalerrorCode
errorCode?: string
Error code if the response is an error. Code varies by model.
OptionalerrorMessage
errorMessage?: string
Error message if the response is an error.
errorType
errorType: string
OptionalfinishReason
finishReason?: FinishReason
The finish reason of the response.
OptionalgoAway
goAway?: LiveServerGoAway
Server-side signal that the live connection will be closed soon. The
caller should reconnect using the latest session resumption handle.
OptionalgroundingMetadata
groundingMetadata?: GroundingMetadata
The grounding metadata of the response.
id
id: string
The unique identifier of the event.
Do not assign the ID. It will be assigned by the session.
OptionalinputTranscription
inputTranscription?: Transcription
Audio transcription of user input.
OptionalinteractionId
interactionId?: string
The interaction ID returned by the model, if any.
Optionalinterrupted
interrupted?: boolean
Flag indicating that LLM was interrupted when generating the content.
Usually it's due to user interruption during a bidi streaming.
invocationId
invocationId: string
The invocation ID of the event. Should be non-empty before appending to a
session.
ReadonlyisNodeError
isNodeError: true
OptionalisolationScope
isolationScope?: string
Workflow: scope tag used to isolate multi-agent conversations so peer
scopes don't see each other's events. Mirrors Python
Event.isolation_scope.
OptionalliveSessionId
liveSessionId?: string
The session ID of the Live session.
OptionalliveSessionResumptionUpdate
liveSessionResumptionUpdate?: LiveServerSessionResumptionUpdate
The session resumption update of the LlmResponse
OptionallongRunningToolIds
longRunningToolIds?: string[]
Set of ids of the long running function calls. Agent client will know from
this field about which function call is long running. Only valid for
function call event
OptionalmodelVersion
modelVersion?: string
The model version used to generate the response.
OptionalnodeInfo
Workflow: provenance of the emitting node. Mirrors Python Event.node_info.
Optionaloutput
output?: unknown
Workflow: the structured output produced by the emitting node, if any.
First-class field mirroring google/adk-python Event.output. Used by the
workflow engine to carry a node's return value alongside its content.
OptionaloutputTranscription
outputTranscription?: Transcription
Audio transcription of model output.
Optionalpartial
partial?: boolean
Indicates whether the text content is part of a unfinished text stream.
Only used for streaming mode and when the content is plain text.
Optionalroute
Workflow: the route key(s) emitted by a routing node, used by the graph to
select the matching outgoing edge(s). A single value fires one branch; an
array fires every branch whose route matches any listed value (multi-route
dispatch). Mirrors Python Event.route.
timestamp
timestamp: number
The timestamp of the event.
OptionalturnComplete
turnComplete?: boolean
Indicates whether the response from the model is complete.
Only used for streaming mode.
OptionalusageMetadata
usageMetadata?: GenerateContentResponseUsageMetadata
The usage metadata of the LlmResponse.