Represents different types of instrumentation events in the Agentforce SDK. This enumeration categorizes all the trackable events within the SDK, each carrying an EventInfo payload with specific details. The events cover the complete lifecycle of Agentforce interactions from initialization through conversation completion.

PropertyTypeDescription
recommendationClickStringStatic marker for recommendation click events.
recommendedActionClickStringStatic marker for recommended action click events.
MethodSignatureDescription
initializeAgentforcecase initializeAgentforce(eventInfo: EventInfo)Tracks the initialization and bootstrap process of the Agentforce SDK.
initializeAgentscase initializeAgents(eventInfo: EventInfo)Tracks the initialization and discovery of available agents.
resetChatcase resetChat(eventInfo: EventInfo)Tracks conversation reset operations.
switchAgentscase switchAgents(eventInfo: EventInfo)Tracks agent switching during active conversations.
initialResponseReceivedcase initialResponseReceived(eventInfo: EventInfo)Tracks the time from user input until the first response content is received.
finalResponseReceivedcase finalResponseReceived(eventInfo: EventInfo)Tracks the complete response time from user input to final completion.
perfEventcase perfEvent(eventInfo: EventInfo)Generic performance event for various system operations.
userInteractionEventcase userInteractionEvent(eventInfo: EventInfo)Tracks user interaction events throughout the interface.
errorEventcase errorEvent(eventInfo: EventInfo)Tracks error events across all SDK operations.