# How To Record What Agents Do On This Site With BetterShield?

Choose whether BetterShield records ability calls from every plugin, including refused calls, in Agent activity.

In **[BetterShield](/)**, the recording switch is under **BetterShield › Agents › Permissions › Recording agent activity**.

## What it does

**Record what agents do on this site** records every invocation of an ability registered by any plugin, including calls that were refused. The row keeps the ability, route, outcome, and an input digest. It never stores the input contents. The feature requires WordPress 7.1 or newer.

<span id="set-it-up" aria-hidden="true"></span>

## Step 1: Record What Agents Do On This Site

Leave the switch on, which is the default. Use **What assistants did** or open **Activity › Agent activity** to review the rows.

<figure class="doc-shot">
  <img src="/docs/screenshots/agent-activity-recording.png" alt="Record what agents do on this site setting with the switch on." width="1960" height="230" loading="lazy" decoding="async">
  <figcaption>Recording is on by default and is separate from read and change access.</figcaption>
</figure>

## Recommended settings

Keep recording on whenever agent abilities are registered, even when read or change access is currently off. Refused calls can be useful evidence.

## What it can break and how to undo

Recording adds rows to BetterShield's separate agent-activity table. Turn the switch off to stop new rows. Existing rows remain until retention removes them.

<span id="check-it-is-working" aria-hidden="true"></span>

## Final Outcome

Make one permitted read call and one deliberately refused call in a test connection. Both should appear with different outcomes and no input contents.

<figure class="doc-shot">
  <img src="/docs/screenshots/agent-activity-recording.png" alt="Record what agents do on this site setting with the switch on." width="1960" height="230" loading="lazy" decoding="async">
  <figcaption>Example Agent activity recording view. Check the saved values and status on your own site.</figcaption>
</figure>

## On multisite

Recording is configured per site. Each site's rows belong to that site.

## Related

- [Filter and review agent activity](/docs/review-agent-activity/)
- [Review abilities registered on this site](/docs/registered-agent-abilities/)
- [Privacy and personal data](/docs/privacy-and-personal-data/)

This is how you can record what agents do on this site with BetterShield.

Getting Stuck? Feel free to contact our [Dedicated Support Team](/support/).
