Segment event reference
The following tables show details of the events that AI assistant sends to Segment using the Segment extension. These events appear as tables in your Segment warehouse, and as regular events in other Destinations.
Only events generated using the AI assistant v2 API and associated with a user ID are included.
Message Handled
Sent when the AI assistant completes handling of a message.
Property | Type | Description |
|---|---|---|
| String | The ID of the IBM account. |
| String | The ID of the AI assistant. |
| String | The browser that was used to send the message. |
| String | The channel the customer used to send the message (for example, |
| String | The type of device that was used to send the message. |
| String | The environment in which the message was handled (such as |
| String | The language of the AI assistant. |
| String | The URL of the web page from which the message was sent. |
| String | The IBM AI assistant service instance. |
| String | The ID of the session during which the message was handled. |
| String[] | An array of strings listing all skills that were invoked during handling of the message (for example, |
The following properties are included only for messages that were handled by an actions skill:
Property | Type | Description |
|---|---|---|
| String | The unique identifier of the action that was visited during handling of the message (for example, |
| Boolean | Whether the action completed during handling of the message. |
| String | The reason the action completed (for example, |
| Boolean | Whether processing of the action started during handling of the message. |
| String | The title of the action that was visited during handling of the message (for example, |
| String[] | An array of strings listing the actions visited during handling of the message. |
| String | The reason why the fallback action was visited (for example, escalated to human agent or no action matches). |
| String | The name of any handler that was called. |
| Object[] | An object with two properties, |
| String | The name of any other action that was called by the action that was triggered by the message. |
Action Started
Sent when processing of an action begins.
Property | Type | Description |
|---|---|---|
| String | The ID of the IBM account. |
| String | The unique identifier of the action (for example, |
| String | The title of the action (for example, |
| Boolean | Whether the action completed during the same conversation turn. |
| String | The reason the action completed (for example, |
| String | The ID of the AI assistant. |
| String | The browser that was used to send the message that triggered the action. |
| String | The channel the customer used to send the message that triggered the action (for example, |
| String | The type of device that was used to send the message that triggered the action. |
| String | The environment in which the action was started (such as |
| String | The reason why the fallback action started (for example, escalated to human agent or no action matches). |
| String | The name of any handler that was called. |
| String | The language of the AI assistant. |
| String | The URL of the web page from which the message that triggered the action was sent. |
| String | The IBM AI assistant service instance. |
| String | The ID of the session during which the message that started the action was sent. |
| String[] | An array of strings listing all skills that were invoked during handling of the message that started the action (for example, |
| Object[] | An object with two properties, |
| String | The name of any other action that the action called during processing. |
Action Completed
Sent when processing of an action ends.
Property | Type | Description |
|---|---|---|
| String | The ID of the IBM account. |
| String | The unique identifier of the action (for example, |
| String | The reason the action completed (for example, |
| Boolean | Whether the action was started during the same conversation turn. |
| String | The title of the action (for example, |
| String | The ID of the AI assistant. |
| String | The browser that was used to send the message that triggered the action. |
| String | The channel the customer used to send the message that started the action (for example, |
| String | The type of device that was used to send the message that triggered the action. |
| String | The environment in which the action completed (such as |
| String | The reason why the fallback action was called (for example, escalated to human agent or no action matches). |
| String | The name of any handler that was called by the action. |
| String | The language of the AI assistant. |
| String | The URL of the web page from which the message that triggered the action was sent. |
| String | The IBM AI assistant service instance. |
| String | The ID of the session during which the message that started the action was sent. |
| String[] | An array of strings listing all skills that were invoked during handling of the message that started the action (for example, |
| Object[] | An object with two properties, |
| String | The name of any other action that the action called during processing. |
Session Started
Sent when a new session is started.
Note: The v2 stateless API does not generate events for starting sessions.
Property | Type | Description |
|---|---|---|
| String | The ID of the IBM account. |
| String | The ID of the AI assistant. |
| String | The browser that was used to send the message that started the session. |
| String | The channel that started the session (for example, |
| String | The type of device that was used to send the message that started the session. |
| String | The environment in which the session was started (such as |
| String | The URL of the web page from which the message that started the session was sent. |
| String | The IBM AI assistant service instance. |
| String | The ID of the session. |