Skip to main content
POST
Submit feedback on an agent message

Authorizations

Authorization
string
header
required

User-bound credential carrying an identity: either a session JWT or a user access token (at:*) generated from the user settings UI. Send as Authorization: Bearer <token>. The organization and the permissions applied are those of this user.

Body

application/json
vote
enum<string>
required
Available options:
like,
dislike
task_id
string
required
Maximum string length: 128
message_id
string
required

Agent message the feedback applies to.

Maximum string length: 128
context_id
string
required

Conversation the message belongs to.

Maximum string length: 128
agent_id
string
required
Maximum string length: 64
category
enum<string>

Dislikes only. Omit it on likes.

Available options:
incorrect_incomplete,
not_what_i_asked,
slow_buggy,
style_tone,
safety_legal,
other
comment
string

Free-text comment.

Maximum string length: 4096

Response

Feedback recorded.

id
string

Feedback ID, fb_{task_id}_{message_id}.

vote
enum<string>
Available options:
like,
dislike
category
enum<string> | null

Reason for a dislike.

Available options:
incorrect_incomplete,
not_what_i_asked,
slow_buggy,
style_tone,
safety_legal,
other
updated
boolean