POST
/
v1
/
set_trace_feedback
curl --request POST \
  --url https://app.premai.io/v1/set_trace_feedback \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "feedback": {
    "positive": false,
    "messages": [
      {
        "role": "user",
        "content": "<string>"
      }
    ]
  }
}'
{
  "feedback": {
    "positive": false,
    "messages": [
      {
        "role": "user",
        "content": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Body

feedback
object

Response

200 - application/json
feedback
object