Create feedback
Create a new feedback.
session_id identifies the tracing project the feedback belongs to. It is
required unless the feedback is addressed by address, which names that
project through an Agent environment that already exists.
Body
Schema used for creating feedback.
Addresses the tracing project through an Agent environment, as lrn:agents/{id}/environments/{environment}, instead of session_id. The id is 1 to 63 lowercase ASCII letters, digits, or hyphens, starting with a letter and ending with a letter or digit. The environment is local, development, staging, or production, matched case-insensitively. Never combined with session_id. The Agent and the environment must already exist; sending feedback does not create them. Self-hosted deployments need LangSmith v0.18 or later.
"lrn:agents/support-agent/environments/production"
The ID of the feedback config this feedback was written against. It must be a feedback config for this feedback key in the same workspace, or the feedback is rejected. It doesn't change how the score is checked; feedback_config does that. If omitted, the server may record the key's enforced feedback config, or the one created for the key by this request.
Response
Successful Response
Schema for getting feedback.

