Skip to main content

ChatMessage

Description

A chat message sent as part of a conversation.

Properties

NameTypeDescriptionNotes
sessionIdString[optional]
chatCompletionRequestIdUUID[optional]
connectedBooleanIndicates if this message is connected to an active service (e.g., WebSocket).[optional]
jsonStringAny JSON payload attached to this message.[optional]
sourceTypeSourceTypeEnumType of the message source (e.g., 'api', 'server_log', 'p2p').[optional]
sourceOwnerUUID[optional]
roleRoleEnumThe role of the message sender (system, user, or assistant).
contentStringThe chat text or prompt being sent to the LLM.
idUUIDUnique identifier for object in the system[optional]
ownerIdUUIDUUID of owner of the object in the system[optional]
createdDateOffsetDateTimeDate of object creation[optional]
keyHashStringData, including hash of the key(s) used to encrypt this record.[optional]
lastAccessedByIdUUIDLast user to access object[optional]
lastAccessedDateOffsetDateTimeTimestamp of last access of object[optional]
lastModifiedByIdUUIDUnique identifier for user who last modifed the object in the system[optional]
lastModifiedDateOffsetDateTimeDate of last object modification[optional]

Enum: SourceTypeEnum

NameValue
API"api"
SERVER_LOG"server_log"
P2P"p2p"

Enum: RoleEnum

NameValue
SYSTEM"system"
USER"user"
ASSISTANT"assistant"

Implemented Interfaces

  • Serializable

Generated Version Details

~value
GENERATOR VERSIONcom.valkyrlabs:ValkyrAI API 1.0-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2025-04-09T20:27:13.881184-07:00[America/Los_Angeles]