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.
Authorizations
Body
Schema used for creating feedback.
180Required unless the feedback is addressed by address. The ID of the tracing project (session) the feedback belongs to.
Beta. Only supported in workspaces where Agent addressing is enabled; other workspaces get a 403. 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.
"lrn:agents/support-agent/environments/production"
Feedback from the LangChainPlus App.
- AppFeedbackSource
- APIFeedbackSource
- ModelFeedbackSource
- AutoEvalFeedbackSource
Deprecated. Use extra.error instead. If both values are provided, error takes precedence.
Response
Successful Response
Schema for getting feedback.
The feedback source loaded from the database.

