Defines the shape of the conversations that can be passed back and forth with the Skip API Server - primarily used for the learning cycle process

Constructors

Properties

artifacts?: SkipAPIArtifact[]

Optional, this is an array of artifacts that are associated with the conversation. The AI Agent can request to add new artifacts during a response, this array is provided by the caller to ensure that the agent knows about existing artifacts/versions

createdAt: Date

When the conversation was created

description?: string

Optional, more detailed description of the conversation

id: string

The unique identifier for the conversation

messages: SkipMessage[]

Array of messages that make up the conversation in chronological order, showing the earliest messages first and the more recents messages last

name: string

The user-friendly name for the conversation

updatedAt: Date

The date the conversation header record was last updated - this is NOT the same as the most recent conversation detail, for that interrogate the conversation details

user?: string

The name of the user that the conversation is associated with

userId?: string

The unique identifier for the user that the conversation is associated with