Skip to content

Feedback Post

POST
/v1/ratchet/feedback
curl --request POST \
--url http://localhost:8000/v1/ratchet/feedback

A verdict on an answer this gateway served: {"request_id", "verdict": "correct"|"incorrect"}, the request id from the response’s ratchet.request_id (or its completion id). With incorrect, corrected (the right answer) and the request’s messages (and the conditions and end user it carried) store a human-labelled training example, unless a storage opt-out or the task’s pinning keeps it out; a correct verdict never stores anything. An API key reaches its own requests only (any other request id is a 404); open where chat completions are.

x-api-key
Any of:
string

Successful Response

Media typeapplication/json
Response Feedback Post V1 Ratchet Feedback Post
object

Example generated

{}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}