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, or by agent_id and
agent_environment, which name that project through an Agent environment
that already exists.
Authorizations
Body
Schema used for creating feedback.
180Required unless the feedback is addressed by agent_id and agent_environment. 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. The Agent's id, not a UUID: 1 to 63 lowercase ASCII letters, digits, or hyphens, starting with a letter and ending with a letter or digit (e.g. support-agent). Addresses the tracing project through an Agent instead of session_id. Sent together with agent_environment, and never alongside session_id. The Agent and the environment must already exist; sending feedback does not create them.
Beta. Only supported in workspaces where Agent addressing is enabled; other workspaces get a 403. The Agent environment whose tracing project the feedback belongs to. Matched case-insensitively. Sent together with agent_id.
LOCAL, DEVELOPMENT, STAGING, PRODUCTION Beta. Only supported in workspaces where Agent addressing is enabled; other workspaces get a 403. Addresses the tracing project through an Agent environment instead of session_id. Never combined with agent_id, agent_environment, or session_id. The Agent and the environment must already exist; sending feedback does not create them.
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.

