API reference
Feedback
Human feedback that feeds evals.
Human feedback that feeds evals.
This page is GENERATED from the OpenAPI spec (openapi.yaml) — it can never
drift from the served API. Set UR_BASE_URL (required: your gateway’s URL)
and UR_API_KEY (an ur_sk_* key); secrets are always the $UR_API_KEY placeholder.
Submit feedback on a request
POST /v1/requests/{id}/feedbackThumbs up/down + tags + optional comment, scoped to the key’s workspace. Requires API-key scope: gateway:invoke.
Auth: API key (Authorization: Bearer ur_sk_…).
curl -sS -X POST "$UR_BASE_URL/v1/requests/req_0000000000000000/feedback" \
-H "Authorization: Bearer $UR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"rating": 1
}'