LangSmith makes it easy to attach feedback to traces. This feedback can come from users, annotators, automated evaluators, etc., and is crucial for monitoring and evaluating applications.Documentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
Use create_feedback() / createFeedback
Here we’ll walk through how to log feedback using the SDK.
Child runs
You can attach user feedback to ANY child run of a trace, not just the trace (root run) itself.
This is useful for critiquing specific steps of the LLM application, such as the retrieval step or generation step of a RAG pipeline.
create_feedback() / createFeedback. See Access the current run (span) within a traced function for how to get the run ID of an in-progress run.
Collect feedback from client-side applications
If you need to collect feedback from a browser or other client-side environment without exposing your API key, use presigned feedback tokens. These generate a URL scoped to a specific run and feedback key that clients can call directly. See Collect feedback with presigned URLs for the full guide. To learn more about how to filter traces based on various attributes, including user feedback, see Filter traces.Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

