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"
}'

Body

score
float

A score.

trace_id
string

One of trace_id or inference_id is required.

inference_id
string

One of trace_id or inference_id is required.

name
string

Optional name for this feedback.

target
string

Optional target or “gold standard” completion response.