A Session is a collection of Interactions from a User within a time-bound scope. A Session is an entity that holds together this series of Interactions with our APIs.
A Session is uniquely identified internally with a GUID and is exposed as the SessionID with every API output. The SessionID is used with every API call after the initial one.
Similarly to User Properties, the Session is represented by a Session Property, which is a key value collection with a reference to a Conversational AI Cloud’s internal UserID.
Session Properties are used to persist state on the Session and keep state for values between different Interactions. This is particularly important for Dialogs, where the previous and current Interaction are strongly linked.
The SessionProperty always expires after 15 minutes of inactivity. Depending on the existence of a user identifier key, the linked User Property is then also removed, or left as it is.