Records a positive or negative rating for a conversation, optionally targeting a specific message.
cURL
curl --request POST \ --url https://platform.agentictrust.com/api/v1/chat/feedback \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "conversationId": "<string>", "rating": "POSITIVE", "messageId": "<string>", "comment": "<string>" } '
{ "feedback": { "id": "<string>", "conversationId": "<string>", "messageId": "<string>", "rating": "POSITIVE", "comment": "<string>", "createdAt": "2023-11-07T05:31:56Z" } }
API key in lum_pk_* format. Pass via x-api-key header or Authorization: Bearer <key>.
lum_pk_*
x-api-key
Authorization: Bearer <key>
POSITIVE
NEGATIVE
Optional. Target a specific message.
Optional free-text comment.
Feedback recorded.
Show child attributes