Skip to main content
POST
Submit feedback for a thread message

Authorizations

Authorization
string
header
required

Use JWT token for authentication

Path Parameters

threadId
string
required

The unique identifier of the thread

Body

application/json
messageId
string
required

The unique message ID (uid) to submit feedback for

Example:

"msg-123456"

feedback
boolean

Feedback value: true = positive, false = negative

Example:

true

feedbackComment
string

Optional comment explaining the feedback

Example:

"This response was very helpful!"

feedbackData
object

Optional additional structured feedback data

Example:

Response

Feedback submitted successfully

_id
string
required

Feedback ID

Example:

"64f5a5b8c123456789abcdef"

requestId
string
required

Message ID the feedback is for

Example:

"msg-123456"

creationTimestamp
string
required

Creation timestamp

Example:

"2024-01-15T10:30:00.000Z"

threadId
string

Thread ID

Example:

"64f5a5b8c123456789abcdef"

agentId
string

Agent ID

Example:

"64f5a5b8c123456789abcdef"

feedback
boolean

Feedback value

Example:

true

feedbackComment
string

Feedback comment

Example:

"This was very helpful!"

feedbackData
object

Additional feedback data

lastEditTimestamp
string

Last edit timestamp

Example:

"2024-01-15T11:00:00.000Z"