The Feedback API is deprecated. Existing Feedback API integrations continue to work. Use Annotations to capture user ratings, comments, and corrections on completed requests.
Collecting quality feedback
Collecting quality feedback
Capture thumbs up/down ratings, custom scores, or categorical labels on AI responses. Build a feedback loop that surfaces low-quality generations for review.
Compliance and QA review
Compliance and QA review
Flag responses with specific defects (hallucination, off-topic, inappropriate content) using structured annotation keys shared across the team.
Dataset curation
Dataset curation
Annotate Traces with corrections and quality labels, then export curated subsets as training datasets for future experiments.
Human-in-the-loop workflows
Human-in-the-loop workflows
Route Traces to Annotation Queues for systematic expert review. Combine with Trace Automations to automatically surface Traces that meet specific criteria.
- Annotations: the feedback categories configured for a project, such as a quality rating or a defect tag
- Annotation Queues: organized workflows for reviewing Traces in bulk via AI Studio
- Annotations API: the API and SDK for applying feedback values to a Trace or span programmatically
Annotations
Define annotation schemas: keys, value types, and validation rules. Available on chat completion and responses spans once created.
Annotation Queues
Organize annotation review workflows. Filter and present relevant Traces for review in bulk.
Annotations API
Apply structured human feedback to Traces and spans programmatically via the API and SDK.
Create Annotations
Each annotation must be defined in the project before it can be used. The definition sets the key, title, and value type; applying an annotation to a Trace requires matching one of these definitions. The workspace-provided keysrating and correction are shared across projects, and each project defines them before their values appear on its pages.
- AI Studio
To create an annotation, head to Optimization > Annotations in AI Studio, or Settings > Annotations in AI Gateway, and press the button. Annotations can also be created directly from an Annotation Queue.Each annotation uses one of three value types:
- Categorical: button options with custom labels, such as good/bad or saved/deleted
- Range: a custom scoring slider, for example a scale from 0 to 100
- Open field: free-form text input for detailed comments
Once created, an annotation is available on all chat completion spans and responses spans in the project. No additional configuration or filtering required.
Deleting an annotation removes it from any Annotation Queues and Experiments that use it, so it no longer appears as a review option there. Annotations already recorded on a Trace are preserved: every annotated data point remains stored and queryable.
Common Annotations Legacy
The
rating and correction keys are shared across the workspace. A value written under either appears on a project’s pages only after that project defines the same annotation.Rating
Rating
Rate the overall quality of AI responses:
Defects
Defects
Identify specific issues with AI responses:
Multiple defects can be selected for one response using an annotation configured with an array value.
Use Annotations
Annotations can be applied wherever a Trace or span is reviewed:- Directly on a Trace or Log: open a single Trace or Log in the Traces or Logs view and use the Annotations panel.
- In an Annotation Queue: review a curated set of Traces in bulk. Fill a queue with Trace Automations or by manually adding individual Traces or Logs.
- Programmatically: apply feedback through the API and SDK using the API & SDK tab below.
- In an Experiment: apply annotations while reviewing experiment outputs.
Every annotation applied in an Annotation Queue is written back to its originating Trace. Because the values live on the Trace, they can be queried with the Toqan Router MCP and used to run analysis across reviewed data.
- AI Studio
- API & SDK
The annotation capabilities differ between Logs and Traces. Logs support human feedback and text corrections to the AI response. Traces support human feedback and correcting an evaluator result.
- Traces
- Logs
Navigate to the Traces view and select a single trace. The Annotations panel will be displayed, allowing you to apply human feedback to the AI response.
Annotations in Experiments
Annotations can also be applied outside of Annotation Queues, while reviewing the outputs of an Experiment. In the experiment review screen, the annotations defined for the project appear alongside Evaluator scores, so outputs can be annotated manually as part of an evaluation run.Correcting an Evaluator result is not available in the experiment review screen. Annotations and Evaluator scores still display as described above.

