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

Authorizations

Authorization
string
header
required

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

Body

application/json
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>

Unique identifier for the feedback

product
enum<string>
default:deployments
Available options:
remoteconfigs,
deployments,
experiments,
playgrounds,
spreadsheets,
spreadsheet_run,
llm_evaluator,
knowledge,
router,
workflows,
external_events,
agents,
memory-stores,
generic,
evaluators,
otel,
ai-chat

Response

Event has been dispatched to delete the feedback

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>

Unique identifier for the feedback

product
enum<string>
default:deployments
Available options:
remoteconfigs,
deployments,
experiments,
playgrounds,
spreadsheets,
spreadsheet_run,
llm_evaluator,
knowledge,
router,
workflows,
external_events,
agents,
memory-stores,
generic,
evaluators,
otel,
ai-chat