Components
Event
An event represents a specific occurrence during a session.
Example Usage
Fields
Field | Type | Required | Description | Example |
---|---|---|---|---|
timestamp | Date | TRUE | Timestamp at which the event occurred | |
sessionId | string | FALSE | ID of the session in which the event occurred | |
conversationId | string | FALSE | ID of the conversation associated with the session in which the event occurred | |
source | string | FALSE | Source of the event (either a tool call or an LLM prompt) | tool-call |
sourceId | string | FALSE | ID of the source of the event (either a tool ID or a prompt ID) | |
category | string | FALSE | Broad categorization of the event | automation |
type | string | FALSE | More specific class of the event | phone-transfer |
userId | string | FALSE | ID of the user interacting with the system when the event occurred (e.g., their phone number) | +18042221111 |
description | string | FALSE | Human-readable description of the event | Transfer to phone number +18042221111 |
attributes | components.Attributes | FALSE | Arbitrary additional metadata for the event |