POST
/
api
/
parea
/
v1
/
feedback
curl --location 'https://parea-ai-backend-us-9ac16cdbc7a7b006.onporter.run/api/parea/v1/feedback' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <<PAREA_API_KEY>>' \
--data '{
    "trace_id": "sasdc-csd-rnFesaeCpqcXJ_yL3wi",
    "score": 0.5,
    "name": "test",
    "target": "perfect answer"
}'
"<any>"
curl --location 'https://parea-ai-backend-us-9ac16cdbc7a7b006.onporter.run/api/parea/v1/feedback' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <<PAREA_API_KEY>>' \
--data '{
    "trace_id": "sasdc-csd-rnFesaeCpqcXJ_yL3wi",
    "score": 0.5,
    "name": "test",
    "target": "perfect answer"
}'

Authorizations

x-user-id
string
header
required

Body

application/json
score
number
required

Feedback score

Required range: 0 < x < 1
trace_id
string | null

UUID of the trace log

inference_id
string | null

UUID of the trace log

comment
string | null

Feedback comment

target
string | null

Optional target or “gold standard” of log.

organization_id
string | null

Field will be automatically filled-in.

name
string | null

Deprecated field

Response

200
application/json
Successful Response

The response is of type any.