Use create_feedback() / createFeedback
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.
createFeedback call shape, assuming a runId is already available from your application.
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.

