Serves as a representation of a chat session within Scoopika.

Props

id
string

The session ID.

user_id
string | undefined

The session’s user ID. used to list users sessions.

user_name
string | undefined

The session’s user name. used so the agent can recognize a user by its name.

saved_prompts
string | undefined

Used by Scoopika to keep track of the system prompts saved in the session. Each agent saves a built system prompt that’s created on the first session run with all its variable injected. mostly you won’t need to deal with this property as it’s used by Scoopika under the hood.