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).[optional]
contentStringThe chat text or prompt being sent to the LLM.[optional]
idUUIDUnique identifier for object in the system[optional] [readonly]
ownerIdUUIDUUID of owner of the object in the system[optional] [readonly]
createdDateOffsetDateTimeDate of object creation[optional] [readonly]
keyHashStringData, including hash of the key(s) used to encrypt this record.[optional] [readonly]
lastAccessedByIdUUIDLast user to access object[optional] [readonly]
lastAccessedDateOffsetDateTimeTimestamp of last access of object[optional] [readonly]
lastModifiedByIdUUIDUnique identifier for user who last modifed the object in the system[optional] [readonly]
lastModifiedDateOffsetDateTimeDate of last object modification[optional] [readonly]
trashedBooleanIndicates if the object is trashed (soft deleted)[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.2-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2026-04-02T00:49:23.764634-07:00[America/Los_Angeles]