curl --request POST \
--url https://apigcp.trynia.ai/v2/feedback/answer \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"signal": "thumbs_up",
"session_id": "<string>",
"message_id": "<string>",
"retrieval_log_id": "<string>",
"comment": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Explicit thumbs up/down on an assistant answer.
curl --request POST \
--url https://apigcp.trynia.ai/v2/feedback/answer \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"signal": "thumbs_up",
"session_id": "<string>",
"message_id": "<string>",
"retrieval_log_id": "<string>",
"comment": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}API key must be provided in the Authorization header
Successful Response
Was this page helpful?