Skip to main content

API Overview


Source

class Feedback

A feedback row, as a feedback query returns it. Pydantic Fields:
  • id: <class 'str'>
  • project_id: <class 'str'>
  • weave_ref: <class 'str'>
  • creator: str | None
  • feedback_type: <class 'str'>
  • payload: dict[str, typing.Any]
  • annotation_ref: str | None
  • runnable_ref: str | None
  • call_ref: str | None
  • trigger_ref: str | None
  • queue_id: str | None
  • scorer_tags: list[str]
  • scorer_tag_reasons: dict[str, str]
  • scorer_tag_confidences: dict[str, float]
  • scorer_ratings: dict[str, float]
  • scorer_rating_reasons: dict[str, str]
  • scorer_rating_confidences: dict[str, float]
  • span_agent_name: <class 'str'>
  • span_agent_version: <class 'str'>
  • span_status_code: <class 'str'>
  • span_conversation_id: <class 'str'>
  • span_trace_id: <class 'str'>
  • scorer_trace_id: <class 'str'>
  • wb_user_id: str | None
  • created_at: <class 'datetime.datetime'>
Source

classmethod warn_on_extra_fields


Source

class FeedbackQuery

Lazy-loading object for fetching feedback from the server. Source

method __init__


Source

method execute


Source

method refresh


Source

method refs


Source

class Feedbacks

A collection of Feedback objects with utilities. Source

method __init__


Source

method refs

Return the unique refs associated with these feedbacks.
Source

class RefFeedbackQuery

Object for interacting with feedback associated with a particular ref. Source

method __init__


Source

method add

Add feedback to the ref. feedback_type: A string identifying the type of feedback. The “wandb.” prefix is reserved. creator: The name to display for the originator of the feedback.
Source

method add_note


Source

method add_reaction

Add an emoji reaction, written as the type the target’s UI renders.
Source

method execute


Source

method purge


Source

method refresh


Source

method refs


Source

function feedback_create_params

A feedback create request with every field, in a fixed order. The scorer and span fields get the server’s defaults unless given, and batched feedback goes out in this key order.
Last modified on November 5, 2026