> ## 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.

# Create charts with Loop

export const plans_0 = "Any"

export const deployments_0 = "Any"

export const data_plane_version_0 = undefined

export const use_case_0 = "Use case - While working with Loop, create and add a chart without switching to the Monitor page"

<Note>
  **Applies to:**

  * Plan - {plans_0}
  * Deployment - {deployments_0}
  * {data_plane_version_0}
  * {use_case_0}
</Note>

## Summary

Loop conversations are scoped to the project and the page e.g. Logs, Experiments, or Datasets. Use Loop's add chart action to turn Loop-generated filters or SQL into a chart and then save it as to a Monitor page view.

## What is happening

Loop saves chat history only on the page where it runs (for example the Logs page). When you switch to the Monitor/chart builder you will not see the same Loop conversation which is expected behavior. The Logs page includes a built-in action to generate a chart from the current query or Loop output so you can create/save a chart without recreating the query manually in the Monitor page.

## Fix or suggestion

### Create chart from the Logs page

1. On the Logs page, use Loop to craft filters, grouping, or SQL for the metric you want.
2. Expand the `Searched <query description>` tool call.
3. Click the "Chart" tab in the expanded view.
4. Click the bar graph icon named "Add to monitor".
5. Choose a view.
6. Click "Add chart".

## How to confirm it worked

* The new chart appears in the targeted Monitor page view.
* The chart shows the same filters/aggregation and matches the results you saw on the Logs page.
