# Filtering Traces by Annotation

Source: https://agenta.ai/docs/changelog/filtering-traces-by-annotation
Date: 2025-10-14

**

![Annotation filtering interface](https://agenta.ai/docs/images/changelog/changelog-annotation-filter.png)

You can now filter and search traces based on their annotations. This helps you find traces with low scores or bad feedback quickly.

We rebuilt the filtering system in observability with a simpler dropdown and more options. You can now filter by span status, input keys, app or environment references, and any key within your span.

The new annotation filtering lets you find:
- Spans evaluated by a specific evaluator
- Spans with user feedback like `success=True`

This enables powerful workflows: [capture user feedback](https://agenta.ai/docs/1.0/tutorials/cookbooks/capture-user-feedback) from your app, filter to find traces with bad feedback, add them to test sets, and improve your prompts based on real user data.

**

We rebuilt the filtering system in observability. We added a new dropdown with more options. Additionally, we added a new annotation filtering. You can now filter and search traces based on their annotations. This feature helps you find traces with low scores or bad feedback quickly.

### New Filter Options

The new dropdown is simpler and gives you more options. You can now filter by:
- **Span status**: Find successful or failed spans
- **Input keys**: Search for specific inputs in your spans
- **App or environment**: Filter traces from specific apps or environments
- **Any key within your span**: Search custom data in your trace structure

![Complete observability filters](https://agenta.ai/docs/images/changelog/changelog-filters-observability.png)

### Annotation Filtering

Filter traces based on evaluations and feedback:
- **Evaluator results**: Find spans evaluated by a specific evaluator
- **User feedback**: Search for spans with feedback like `success=True`

![Annotation filtering interface](https://agenta.ai/docs/images/changelog/changelog-annotation-filter.png)

This feature enables powerful workflows:

1. **Capture user feedback** from your application using our API ([see tutorial](https://agenta.ai/docs/1.0/tutorials/cookbooks/capture-user-feedback))
2. **Filter traces** to find those with bad feedback or low scores
3. **Add them to test sets** to track problematic cases
4. **Improve your prompts** based on real user feedback

The filtering system makes it easy to turn production issues into test cases.

---
