Skip to main content
POST
Feedback Replace

Body

application/json
project_id
string
required
Example:

"entity/project"

weave_ref
string
required
Example:

"weave:///entity/project/object/name:digest"

feedback_type
string
required
Example:

"custom"

payload
Payload · object
required
Example:
feedback_id
string
required
id
string | null

If provided by the client, this ID will be used for the feedback row instead of a server-generated one.

Example:

"018f1f2a-9c2b-7d3e-b5a1-8c9d2e4f6a7b"

creator
string | null
Example:

"Jane Smith"

annotation_ref
string | null
Example:

"weave:///entity/project/object/name:digest"

runnable_ref
string | null
Example:

"weave:///entity/project/op/name:digest"

call_ref
string | null
Example:

"weave:///entity/project/call/call_id"

trigger_ref
string | null
Example:

"weave:///entity/project/object/name:digest"

queue_id
string | null

The annotation queue ID this feedback was created from. References annotation_queues.id. NULL when feedback is created outside of queues.

Example:

"018f1f2a-9c2b-7d3e-b5a1-8c9d2e4f6a7b"

scorer_tags
string[]

Tags applied to the ref by a scorer

Example:
scorer_tag_reasons
Scorer Tag Reasons · object

reason text per tag, keyed by tag name

Example:
scorer_tag_confidences
Scorer Tag Confidences · object

confidence (0-1) per tag, keyed by tag name

Example:
scorer_ratings
Scorer Ratings · object

numeric ratings (0-1) keyed by rating name

Example:
scorer_rating_reasons
Scorer Rating Reasons · object

reason text per rating, keyed by rating name

Example:
scorer_rating_confidences
Scorer Rating Confidences · object

confidence (0-1) per rating, keyed by rating name

Example:
span_agent_name
string
default:""

Display name of the scored agent (from spans.agent_name)

Example:

"midi-generator"

span_agent_version
string
default:""

Version of the scored agent (from spans.agent_version)

Example:

"1.2.0"

span_status_code
string
default:UNSET

Status of the scored turn (from spans.status_code)

Example:

"SUCCESS"

wb_user_id
string | null

Do not set directly. Server will automatically populate this field.

Response

Successful Response

id
string
required
created_at
string<date-time>
required
wb_user_id
string
required
payload
Payload · object
required