curl --request POST \
--url https://api.example.com/api/feedback \
--header 'Content-Type: application/json' \
--data '
{
"conversation_id": "<string>",
"rating": -1,
"expected_answer_origin": "library_rag",
"expected_intent": "<string>",
"expected_outcome": "<string>",
"expected_output": "<string>",
"max_rerank_score": 123,
"message_id": 123,
"reason_code": "<string>",
"reviewer_id": "<string>",
"source_ids": [
"<string>"
],
"span_id": "<string>",
"thread_id": "<string>",
"trace_id": "<string>"
}
'{
"feedback_id": 1,
"success": true
}Submit feedback for a response.
curl --request POST \
--url https://api.example.com/api/feedback \
--header 'Content-Type: application/json' \
--data '
{
"conversation_id": "<string>",
"rating": -1,
"expected_answer_origin": "library_rag",
"expected_intent": "<string>",
"expected_outcome": "<string>",
"expected_output": "<string>",
"max_rerank_score": 123,
"message_id": 123,
"reason_code": "<string>",
"reviewer_id": "<string>",
"source_ids": [
"<string>"
],
"span_id": "<string>",
"thread_id": "<string>",
"trace_id": "<string>"
}
'{
"feedback_id": 1,
"success": true
}1-1, 1 library_rag, web_rag, policy, general, skill 6420001000064128128128128