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

# Answers and charts

> What an agent gets back from Midplane, the chart view, and the answer's page and snapshot: what is kept, encrypted and capped, for how long, and who sees it.

An answer is what `query_metric` or `run_sql` returns to an agent. Every
answer says where its number came from and links to its own page in the
control room, where anyone in the workspace can check it.

## What an agent gets back

A sentence or two on what came back (first saying so when the metric is a
draft), a table of up to 20 rows with every row as structured data, the
provenance line, and the link after `The answer in Midplane:`.

```text theme={null}
MRR · definition v3, confirmed · Shop (Postgres) · 12:03 CET · 1 column masked
```

The line names the definition, version and status (`SQL` for `run_sql`),
the source, the time in the [workspace's time
zone](https://midplane.ai/docs/metrics/definitions.md#the-workspace-time-zone), and any masked columns
(on MySQL, without a count). An answer holds at most 1,000 rows and 1 MiB,
and says when it was cut there: narrow or group the question to get all of
it. The fields are in [the tools reference](https://midplane.ai/docs/agents/tools.md#what-an-answer-holds).

## The chart view

Clients that show MCP Apps get the answer as a chart, with its provenance
line and **Open in Midplane** underneath; others, such as Claude Code, get
the text and the link ([which client does what](https://midplane.ai/docs/agents.md)). Midplane picks a
number, a line (up to 6 categories), bars (up to 40) or a table from the
answer's columns.

A metric's chart has its own **Range**, **By**, **Group by** and
**Filter**: each change asks again, as you, and gives a new answer and link.

## The answer page

![An answer's page: Active customers, as answered 26 Nov 2026, 12:00 (Europe/Berlin) by Ada Runner through an agent, from Shop. The number 201, up 7.5% from 187 at the end of 2026-10-31, with Number and Table to switch between, the provenance line Active customers, definition v1, confirmed, Shop (Postgres), 12:00 CET, and What was asked: the metric, by one number, as of the end of 2026-11-26, grouped by nothing, no filters. Refresh at the top right.](https://mintcdn.com/midplane/A21NQSgjOLyH_XeA/images/answer.png?fit=max\&auto=format\&n=A21NQSgjOLyH_XeA\&q=85\&s=c252e1d2dcb429168ec0bc5bc6ffc5c8)

Only members of the answer's workspace can open it; for anyone else, it
doesn't exist. It shows who asked, through which agent and when, and **What
was asked**: the metric version with its grain, range, groups and filters,
or the SQL. **Refresh** runs it again as you. Every view is logged in
[Activity](https://midplane.ai/docs/activity.md) as your call.

## Snapshots

An answer keeps a snapshot, its rows exactly as the agent got them, so a
shared number doesn't change under people's feet. Midplane keeps no other
query results.

* **Encrypted** with your workspace's own key, which only the MCP server
  holds.
* **Capped** at 1,000 rows and 1 MiB; a larger answer keeps none.
* **Kept 30 days** by default. Owners and admins choose 14, 7 or 1 days, or
  none, under **Answer snapshots** on **Metrics**. Shortening deletes the
  older ones at once; expired ones are deleted every 15 minutes. The answer
  itself stays, and its link runs it again, for 90 days, as long as the
  [activity log](https://midplane.ai/docs/activity.md) keeps its call.

A person sees a snapshot only if their access covers it today: they read
every table the answer read, and no column is masked more for them than for
the person who asked. Otherwise, and when there is no snapshot, the page
runs the question again as them and says why, or says it is denied for them
by the workspace's policy.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.