Sessions
A Session is a series of interactions from a user within a specific time frame. It represents the collection of these interactions with our APIs during that period.
Each Session is assigned a unique identifier, a GUID, which is exposed as the SessionID in every API response. The SessionID is used for all subsequent API calls after the initial one.
Like User Properties, a Session is represented by a Session Property. This is a key-value collection that references the internal UserID in Conversational AI Cloud.
Session Properties are crucial for maintaining the state across interactions. They allow the system to track values between different interactions, which is particularly important in Dialogs where the current and previous interactions are closely connected.
Session Properties automatically expire after 15 minutes of inactivity. Depending on whether a user identifier key exists, the associated User Property will either be removed or remain unchanged.