Filtering
Filter and search traces in BrowserStack AI Evals by name, user ID, session ID, tags, metadata, environment, and date range.
Filtering
The trace list supports a range of filter controls to help you find specific traces quickly. You can combine multiple filters, save them as presets, and share filter URLs with teammates.
Available Filters
| Filter | Description |
|---|---|
| Name | Filter by trace name (substring match) |
| User ID | Filter by the user ID set on the trace |
| Session ID | Filter by the session ID set on the trace |
| Custom ID | Filter by the custom ID attached to the trace. See Custom trace IDs for how to set one from the SDK. |
| Tags | Filter traces that have all of the specified tags |
| Metadata | Filter by any custom metadata key-value pair attached to the trace |
| Environment | Filter by environment label (e.g., production, staging, development) |
| Date range | Filter traces created within a specific time window |
| Scores | Filter traces by score value |
Using Filters
Open Logs in the left sidebar.
Click Filters (or the filter icon) at the top of the trace list to expand the filter panel.
Select or type a value for any filter. Filters are applied immediately as you type.
To filter by metadata, click Filter and select Metadata in Column, then enter the metadata key and value. You can add multiple metadata filters.
To filter by date range, click the Date filter and select a preset (Last hour, Last 24 hours, Last 7 days, Last 30 days) or choose a custom range from the calendar picker.
Active filters are shown as chips in the filter panel. Click the × on any chip to remove that filter.
Saved Filters (Table Presets)
Save a combination of filters as a named preset so you can return to the same view without re-entering the criteria.
Apply the filters you want to save.
Click Save as preset and give it a name (e.g., "Production errors last 7 days").
Saved presets appear in the Presets dropdown at the top of the filter panel. Click any preset to apply it instantly.
To update a preset, apply the new filters and click Update preset. To delete a preset, open the preset dropdown and click the trash icon next to it.
Sharing Filtered Views
The URL in your browser updates whenever you apply filters. Copy the URL to share the exact filtered view with a teammate — they will see the same filters applied when they open the link.
Filtering in Sessions
The Sessions list supports the same date range and session ID filters. Individual session detail views inherit the date range filter from the sessions list.