Skip to main content
POST
/
v2
/
feedback
Submit feedback
curl --request POST \
  --url https://api.orq.ai/v2/feedback \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "value": [
    "good"
  ],
  "property": "rating",
  "trace_id": "67HTZ65Z9W91HSF51CW68KK1QH"
}'
{
  "property": "<string>",
  "value": "<string>",
  "trace_id": "<string>",
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Feedback submission payload

property
string
required

A string describing the specific property or aspect rated.

value
required

The feedback value. For single selection of multiple choice, the value should be an array of strings. For correction, the value should be a string.

trace_id
string
required

The id returned by the get_config or invoke endpoints

Response

200 - application/json

Successful operation

property
string
required

A string describing the specific property or aspect rated.

value
required

The feedback value. For single selection of multiple choice, the value should be an array of strings. For correction, the value should be a string.

trace_id
string
required

The id returned by the get_config or invoke endpoints

id
string<ulid>
required