> ## Documentation Index
> Fetch the complete documentation index at: https://braintrust.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Review insights from Topics

> Find patterns in classified logs through topic distributions, trace classifications, and time-series trends, with snapshot and real-time views.

Once Topics has classified your logs, you can explore the patterns three ways: distributions of clusters across your logs, classifications on individual traces, and trends in topic volume over time.

## View topic distributions

Braintrust offers two ways to explore topic distributions. Use the [**<Icon icon="pentagon" /> Topics**](https://www.braintrust.dev/app/~/topics) page for a snapshot view of clusters from the last pipeline run. Use the [**<Icon icon="activity" /> Logs**](https://www.braintrust.dev/app/~/logs) page for real-time analysis across all traces, or for on-demand clustering of any filtered subset.

### Snapshot view

The [**<Icon icon="pentagon" /> Topics**](https://www.braintrust.dev/app/~/topics) page visualizes the discovered topics in one of two views. Each view is a snapshot from the most recent pipeline run, not a live feed of new traces.

Click **Expand** on any card for a full-page detail view.

* **<Icon icon="chart-scatter" /> Scatterplot** (default) — A plot of trace embeddings colored by topic. Hover a point to see the trace's facet summary, or click to open the trace in a side panel. The legend lists each topic with its share of classified traces and trace count. In the expanded view, toggle **3D view** to rotate and zoom through the plot.

  <img src="https://mintcdn.com/braintrust/r-GOPa0enk8M9w2j/images/topics/scatterplot-view.png?fit=max&auto=format&n=r-GOPa0enk8M9w2j&q=85&s=437b86e0fef7d7b4e42c3f898688564c" alt="Scatterplot view" width="845" height="441" data-path="images/topics/scatterplot-view.png" />
* **<Icon icon="list-tree" /> List** — Topics ranked by share. Expand a row to see keywords and sample summaries.

  <img src="https://mintcdn.com/braintrust/r-GOPa0enk8M9w2j/images/topics/list-view.png?fit=max&auto=format&n=r-GOPa0enk8M9w2j&q=85&s=145db4163a4cc287a114e52c93d62eee" alt="List view" width="842" height="437" data-path="images/topics/list-view.png" />

### Real-time analysis

The [**<Icon icon="activity" /> Logs**](https://www.braintrust.dev/app/~/logs) page offers two ways to see topic distributions in real time as new traces are classified.

* **Live distribution view** — Select **<Icon icon="settings-2" /> Display** > **<Icon icon="rows-3" /> Row type** > [**<Icon icon="pentagon" /> Topics**](https://www.braintrust.dev/app/~/logs?qs=topics) to see each topic as a card showing its percentage of the total and trace count.

  <img src="https://mintcdn.com/braintrust/7nbTi_oqpw1F8C8t/images/topics/visualize-topic-distributions.png?fit=max&auto=format&n=7nbTi_oqpw1F8C8t&q=85&s=caecb76093b85e0ace0d1621e53b75e0" alt="Visualize topic distributions" width="2712" height="1434" data-path="images/topics/visualize-topic-distributions.png" />
* **On-demand clustering** — Filter to any subset (by user, time range, or any other attribute), then use **<Icon icon="settings-2" /> Display** > **Cluster traces by** and choose a facet to cluster that subset on demand. For example, filter to a specific user's conversations and cluster by Task to discover how they use your product. Each topic can be expanded to show keywords and sample summaries.

  <img src="https://mintcdn.com/braintrust/7nbTi_oqpw1F8C8t/images/topics/cluster-filtered-subset.png?fit=max&auto=format&n=7nbTi_oqpw1F8C8t&q=85&s=9ffd1e5c9f408cd670ca2130545c327d" alt="Cluster a filtered subset" width="2712" height="1470" data-path="images/topics/cluster-filtered-subset.png" />

  Once a cluster is active, open the **<Icon icon="ellipsis" />** menu next to the applied filters to adjust the run:

  * **<Icon icon="code" /> View clustering query** — Inspect the underlying query that produced the clusters.
  * **<Icon icon="asterisk" /> Run in SQL sandbox** — Open that query in the [SQL sandbox](https://www.braintrust.dev/app/~/sql) to refine or extend it.
  * **<Icon icon="settings-2" /> Clustering settings** — Tune how traces are grouped, including the clustering algorithm, distance threshold, embedding model, dimension reduction, and sample size.

## Examine specific traces

On the [**<Icon icon="activity" /> Logs**](https://www.braintrust.dev/app/~/logs) page, each trace in the logs table shows a **facet summary** (the short text the LLM extracts per facet) and **topic** the summary was matched to. If the LLM couldn't extract a meaningful summary for a facet, the summary will indicate no match and the trace won't have a summary for that facet. You can filter by topic or facet using the **Filter** menu or SQL, sort by any facet column, and select rows to build datasets.

For a deeper look, open any trace. Facet summaries and matched topics are also visible in the [**Thread**](/observe/examine-traces#view-as-a-conversation) (<Icon icon="messages-square" />) layout and the [**<Icon icon="triangle-dashed" /> Evaluators**](/observe/examine-traces#test-and-apply-evaluators) tab.

<img src="https://mintcdn.com/braintrust/hbxUa3k1mJI_I9ae/images/topics/examine-trace-topics.png?fit=max&auto=format&n=hbxUa3k1mJI_I9ae&q=85&s=56bb936ca552d4a7ddf23afa1066a900" alt="Examine a single trace" width="2754" height="1262" data-path="images/topics/examine-trace-topics.png" />

## Track trends over time

When topics are active, a **Topics** chart automatically appears on [**<Icon icon="chart-no-axes-column" /> Monitor**](https://www.braintrust.dev/app/~/monitor). This chart shows classified log volume over time. Click any data point to see those traces in the logs table.

<img src="https://mintcdn.com/braintrust/Xph7wlO6esteYmUR/images/topics/topics-chart.png?fit=max&auto=format&n=Xph7wlO6esteYmUR&q=85&s=ddb546d163290fec044f2fcca17a125c" alt="Topics chart" width="810" height="668" data-path="images/topics/topics-chart.png" />

## Next steps

* [Act on findings](/observe/topics/act-on-findings) to turn surfaced patterns into datasets, scorers, and review assignments.
* [Query classifications with SQL](/reference/sql#query-by-classifications) for ad-hoc analysis.
