Skip to main content
PATCH
Set Message's Score

Authorizations

x-hl-api-key
string
header
required

Path Parameters

conversationId
string<uuid>
required
messageId
string<uuid>
required

Body

messageId
string<uuid>
feedbackId
string<uuid> | null
score
integer<int32>
Required range: -10 <= x <= 10
comments
string | null
tags
string[] | null
scoreConfidence
number<double>
Required range: 0 <= x <= 1

Response

OK

conversationId
string<uuid>
aiSystem
string | null
model
string | null
personaId
string<uuid> | null
personaVersionId
string<uuid> | null
conversationStatus
string | null
conversationName
string | null
chatMessages
object[] | null
chatMessagesCount
integer<int32> | null
chatStarted
boolean | null
areChatMessagesInBlob
boolean | null
chatMessagesBlobUri
string | null
configuration
object | null
metadata
object | null
externalUserId
string | null
isActive
boolean
isDeleted
boolean
promptTokens
integer<int32> | null
completionTokens
integer<int32> | null
totalTokens
integer<int32> | null