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

# Activity

> The log of every call an agent makes through Midplane, written before the statement runs and never holding result values: what it records, who sees it, filters and denials.

**Activity** logs every call an agent makes through Midplane, and every read
the control room makes for you. Each call is written to the log before its
statement runs; if the record can't be written, the call doesn't run.

## What is recorded

* When the call ran and for how long; the person, and the agent by the name
  its client registered.
* The tool and source; the statement as the agent sent it and as it ran,
  after the mask rewrites; for `find_data`, the question.
* The metric definitions used, with version and status.
* The verdict (**Answered**, **Denied** or **Failed**), a denial's rule and
  reason, the row count and whether it was cut, an error code, and the
  answer it gave, under **Open the answer**.

**Never recorded:** result values, no rows and no numbers an answer
returned. A statement is logged as written, with any value the agent put in
it, such as a customer's id. The only rows Midplane keeps are an answer's
[snapshot](https://midplane.ai/docs/answers.md#snapshots), encrypted and apart from the log. A call
naming a source or metric the workspace doesn't have isn't logged: nothing
ran. The log keeps 90 days; older calls are deleted every night.

Midplane's own reads for a person show under its own names: **Midplane
control room** for a metric's page or an answer's page, and **Midplane
drafting** for the few values [drafting reads](https://midplane.ai/docs/metrics/definitions.md#what-the-model-sees).

## Who sees what

Owners and admins see the whole workspace's log; members see their own
calls only, whatever a link says. Filter by **Person** (owners and admins),
**Agent**, **Source** and **Verdict**. The filters are in the page's
address, so you can share a filtered view. Times are in UTC.

## Denials

A denial is the workspace's policy at work, not an error, and the agent is
told so. A denied row names the rule, such as "Denied by the rule “Table
access”.", and what it means; every rule is in [the tools
reference](https://midplane.ai/docs/agents/tools.md#what-a-denial-means). To let someone read what was
denied, change the source's [access](https://midplane.ai/docs/access.md) or its [masks](https://midplane.ai/docs/review.md#masks).

## Save as metric

An answered `run_sql` call offers **Save as metric**, which drafts a metric
from its statement ([new metrics from
questions](https://midplane.ai/docs/metrics.md#new-metrics-from-questions)).

## Not product analytics

The log stays in your workspace's region. Midplane's servers separately send
a few product events, such as "source connected", with fixed values only:
never SQL, a table or column name, a value, an email or a name. See [what
leaves the region](https://midplane.ai/docs/how-it-works.md#what-leaves-the-region).


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