Skip to main content
PATCH
Rate

Path Parameters

workspaceId
string
required
Pattern: ^[1-9]\d*$
messageId
string
required
Pattern: ^[1-9]\d*$

Body

application/json
rating
enum<string> | null
required
Available options:
up,
down
projectId
string
Pattern: ^[1-9]\d*$
comment
string | null
Required string length: 1 - 2000

Response

200 - application/json
id
string
required
conversationId
string
required
role
enum<string>
required
Available options:
user,
assistant
parts
object
required
rating
enum<string> | null
required
Available options:
up,
down
ratingComment
string | null
required
ratedAt
string | null
required
createdAt
string
required
updatedAt
string
required