Skip to main content

cmind/conversations/v1/types.proto

Package: cmind.conversations.v1

Enums

Role

ValueNumberDescription
ROLE_UNSPECIFIED0
ROLE_USER1
ROLE_ASSISTANT2
ROLE_SYSTEM3
ROLE_DEVELOPER4
ROLE_TOOL5

ItemStatus

ValueNumberDescription
ITEM_STATUS_UNSPECIFIED0
ITEM_STATUS_IN_PROGRESS1
ITEM_STATUS_COMPLETED2
ITEM_STATUS_INCOMPLETE3

SortOrder

ValueNumberDescription
SORT_ORDER_UNSPECIFIED0
SORT_ORDER_ASC1
SORT_ORDER_DESC2

Messages

Conversation

FieldTypeNumberDescription
idstring1
tenantIdstring2
createdAtint643Unix timestamp seconds
metadatamap<string, string>4
createdBystring5user ID from auth token
updatedAtint646Unix timestamp seconds; last activity (item append or metadata update)

DeletedConversation

FieldTypeNumberDescription
idstring1
deletedbool2

InputTextContent

FieldTypeNumberDescription
textstring1

OutputTextContent

FieldTypeNumberDescription
textstring1

InputImageContent

FieldTypeNumberDescription
detailstring1"auto", "low", "high"
fileIdstring2
imageUrlstring3

Oneof source: one of fileId, imageUrl

InputFileContent

FieldTypeNumberDescription
fileIdstring1
fileUrlstring2
fileDatabytes3
filenamestring4

Oneof source: one of fileId, fileUrl, fileData

RefusalContent

FieldTypeNumberDescription
refusalstring1

ContentPart

FieldTypeNumberDescription
inputTextInputTextContent1
outputTextOutputTextContent2
inputImageInputImageContent3
inputFileInputFileContent4
refusalRefusalContent5

Oneof part: one of inputText, outputText, inputImage, inputFile, refusal

MessageItem

FieldTypeNumberDescription
roleRole1
contentrepeated ContentPart2
statusItemStatus3
modelIdstring4model that was asked (user items) or responded (assistant items)

ReasoningSummaryPart

FieldTypeNumberDescription
textstring1

ReasoningTextPart

FieldTypeNumberDescription
textstring1

ReasoningItem

FieldTypeNumberDescription
summaryrepeated ReasoningSummaryPart1
encryptedContentstring2
statusItemStatus3
openaiItemIdstring4
contentrepeated ReasoningTextPart5
modelIdstring6

FunctionCallItem

FieldTypeNumberDescription
openaiItemIdstring1
callIdstring2
namestring3
argumentsstring4
statusItemStatus5
modelIdstring6

FunctionCallOutputParts

FieldTypeNumberDescription
contentrepeated ContentPart1

FunctionCallOutputItem

FieldTypeNumberDescription
openaiItemIdstring1
callIdstring2
outputstring3
contentFunctionCallOutputParts4
statusItemStatus5
modelIdstring6

Oneof result: one of output, content

ConversationItem

FieldTypeNumberDescription
idstring1
messageMessageItem2
reasoningReasoningItem3
functionCallFunctionCallItem4
functionCallOutputFunctionCallOutputItem5
createdAtint646Unix timestamp seconds

Oneof item: one of message, reasoning, functionCall, functionCallOutput