# Review agent activity

Every time an agent asks to do something through your Axiad Agentic Gateway, the
gateway records the call and the decision it made. This page shows how to read
that record: the **Activity** page, the details of one call, the summary on
**Home**, and **Audit logs** in Settings. It also says how long the record is
kept.

It is for workspace admins. See [Who can do what](#who-can-do-what).

## Before you begin

- A workspace on the Agentic Gateway, with at least one agent that has made a
  call. To connect an agent, see
  [Connect your agent to the gateway](./connect-your-agent.md).
- You are an admin of the workspace.

## Open the Activity page

Select **Activity** in the menu. The page is titled **Activity**, and its card
is **Agent activity**. It lists every call agents made through the gateway, and
the access decision for each.

Narrow the list with the filters:

- **Time window**: **Last hour**, **Last 24 hours**, **Last 7 days**, or
  **Last 31 days**.
- **Outcome**: **All outcomes**, or one of the [outcomes](#outcomes) below.
- **Agent**: **All agents**, or one agent. Each agent is listed with its owner
  and status.

Each row has these columns:

| Column | What it shows |
| --- | --- |
| **Time** | When the call was made, in UTC. Other screens, such as the **Your agents** card, use your local time. |
| **Agent** | The agent's name, with its agent ID under it. |
| **Person** | The person the agent acted for. |
| **Operation** | What the agent asked to do, with the application it asked in. |
| **Outcome** | What the gateway decided. |
| **Latency** | How long the call took, in milliseconds. |

The list loads 50 calls at a time. Select **Load more** to see older ones. The
line under the list counts the calls, shows how many were denied, and ends with
how long decisions are kept, for example "retained 30 days". If nothing matches,
the page says "No calls in this window".

Select **Details** on a row to see [why the call got its outcome](#see-why-a-call-was-allowed-or-denied).

## Outcomes

| Outcome | What it means |
| --- | --- |
| **Allowed** | The call went through. |
| **Allowed, notified** | The call went through, and a check flagged it for a notification. **Details** shows which check. To set up alerts, see [Receive alerts](./ai-agent-gateway.md#receive-alerts). |
| **Approval required** | Appears in the **Outcome** filter. The gateway does not record this outcome: it allows, allows with a notification, denies, or throttles each call, so this filter shows no calls. |
| **Denied** | The call was refused. **Details** shows the check that stopped it. |
| **Throttled** | The call was refused because a rate limit was reached. The agent is told it was rate limited. |

Agents see less than you do. A denied call gets the same generic "tool not
available" answer whatever the reason, and the reason is not part of it. You see
the reason in **Details**. On the **Your agents** card on **Home**, **Allowed,
notified** is shown as **Notified**.

## See why a call was allowed or denied

Select **Details** on a row. The call opens with its operation, its outcome,
and a line such as "Claude Code on behalf of" the person. It has up to two
tabs: **Decision** and **Payload**.

### The Decision tab

The tab heading reads **Why it was allowed** for **Allowed** and
**Allowed, notified**, and **Why it was denied** for every other outcome.

Under the heading, each check that stopped or flagged the call has a card. The
card gives the check's name and what the check found. For a denial it shows
**Expected** next to **Found**. For a check that only flagged an allowed call,
the first label is **Rule**.
Some check names refer to the access policy, which is the policy you set in
**Application access**. Examples of check names, and what to do:

| Check name | What to do |
| --- | --- |
| "Agent is awaiting approval" | The agent is **Pending**. Approve it. See [Approve an agent](./manage-agents.md#approve-an-agent). |
| "Agent registration was revoked" | An admin revoked the agent. To let it work again, approve it from the **Revoked** tab. See [Approve an agent](./manage-agents.md#approve-an-agent). |
| "No access policy covers this operation" | Your workspace has no enabled policy in **Application access**, so the gateway denies every call. Enable the policy in **Application access**. |
| "The operation is not known to the access policy" | **Application access** does not list this operation. Add it, set its **Effect** to **Allow**, then save and enable the policy. See [Control what agents may do in each application](./ai-agent-gateway.md#control-what-agents-may-do-on-each-integration). |
| "Access policy denies this operation" | A rule in **Application access** sets this operation's **Effect** to **Deny**, or leaves it **Not set**, which also denies. Set its **Effect** to **Allow** if agents should be allowed to use it. |

A line that starts "Not evaluated:" lists the checks that never ran, such as
**Identity check**, **Agent policy check**, **Access policy check**, and
**Risk signals check**.

Below that, the tab lists these rows:

- **Time**: when the call was made, in UTC.
- **Session**: calls from the same agent grouped together until it is quiet for a
  while. Select it, or select **Open session**, to see the calls in that session.
  The quiet time is **Session idle timeout** in **Capture settings**.
- **Agent**, **MCP server**, **Source IP** and **Latency**.
- **Target**: what the application answered and how long it took, when the call
  has that.
- **Required scope**, when the call has one.

**Result the agent saw** shows what the agent received back.

### The Payload tab

The **Payload** tab appears only if your role allows viewing call contents.
A payload is everything an agent sent and received in the call.

- The tab opens with a note that every view of a payload, redacted or
  decrypted, is recorded in the audit log.
- It shows the **Redacted** copy, the copy the gateway kept after its redaction
  step. When a full copy was stored, **Show decrypted full capture** shows it
  instead.
- If no payload was kept, it says "No payload was stored for this call" and
  explains that payloads are kept only when capture is on and redaction
  succeeds. **Open capture settings** takes you to **Capture settings**, if your
  role allows viewing them.

> **caution**

When **Full payload capture** is on, a stored payload can include sensitive
data. See
[Choose what the gateway records](./ai-agent-gateway.md#choose-what-the-gateway-records).

## Check the numbers on Home

Below the cards on **Home**, these widgets summarize the same data:

- **AI Gateway summary**, with the tiles **Sessions analysed** (with the number of calls),
  **Blocked by policy** (a percentage, with **See denied calls**, which opens
  the activity list filtered to **Denied**), **Agents active** (with how many are
  pending approval), **Most used target system**, and **Most active person**. A
  window menu offers **Last hour** to **Last 31 days**. With no calls, the
  tiles show 0.
- **Decisions over time**, a chart headed "Gateway decisions per hour · last 24
  hours": a bar for each hour, split by outcome, with a count for each outcome
  in the legend. **Open activity** opens the activity list. With no calls, it
  says "No gateway decisions in the last 24 hours".
- **Policy checks that fired**, headed "Which gateway checks shaped decisions":
  each check that fired has a **Notify** or **Deny** pill and the number of
  calls it affected. A window menu is at the top. With none, it says "No policy
  checks fired in this window".
- **Agent activity**, the same list as the Activity page.
- **Registered agents**, described in
  [Manage agents in your workspace](./manage-agents.md).

## Read the audit log

Open **Settings**, then **Audit logs**.

1. Set **From** and **To**. By default, **From** is two days before today and
   **To** is today. The dates are days in your local time zone.
2. Select **Filters** to narrow the list.
3. Read the table. Its columns include **Time**, **Actor**, **Role**,
   **Action**, **Status**, and **Resource type**. It lists the entries in your
   range.

If your role allows exporting audit logs, an **Export** button appears. Select
it to save the entries in your range as a CSV file named `audit_logs_<from>_<to>.csv`,
with the two days you chose. Your browser saves it like any download. While it runs, **Cancel
export** is available. If you have filters on, a dialog asks whether to export
**Filtered results** or **All results**. When it finishes, a line says
"Exported N audit log entries." If nothing matched, it says "No audit logs match
the current filters." or "No audit logs found for this range."

If the table is empty, it says "No audit logs match the current filters." or
"No audit logs found for the selected range."

## How long history is kept

**Decision retention** in **Capture settings** sets how long the gateway keeps
its record of each call. It is a whole number of days from 1 to 90. The
default is 30. A daily cleanup deletes decisions older than that.

The redacted copy of each call's payload is kept for the same number of days.
A full capture, when it is on, is kept for the shorter of your retention and 7
days. **Activity** offers windows up to **Last 31 days**, but decisions older than your
retention are deleted, so a longer window shows only what is kept.

To change these settings, see
[Choose what the gateway records](./ai-agent-gateway.md#choose-what-the-gateway-records).
To see when each policy version was enabled, see
[Policy versions](./ai-agent-gateway.md#policy-versions).

## Who can do what

Admins have full access to the dashboard, so they can do everything on this
page. Members connect their own AI agent and do not use the dashboard. Call
contents on the **Payload** tab are for workspace admins.

## Troubleshooting

| What you see | What it means and what to do |
| --- | --- |
| "No calls in this window" | No call matches the filters. Choose a longer **Time window**, set **Outcome** to **All outcomes**, and set **Agent** to **All agents**. |
| An error line with **Retry** under the list | The list could not be read. Select **Retry**. If the message reads "The time window is too large for this query. Narrow the time window or the filter.", do that. |
| "The call details could not be loaded." | Close the call and select **Details** again. |
| "The payload could not be loaded. Try again." or "The full payload could not be loaded. Try again." | Select the tab or the button again. |
| "No payload was stored for this call" | No copy was kept for this call. Select **Open capture settings** to check how your workspace captures calls. |
| No **Payload** tab | Call contents are for workspace admins. Ask an admin. |
| No **Audit logs** item in **Settings** | Your account is not allowed to see audit logs. Ask a workspace admin. |
| "Could not load audit logs, Please try again later." | Wait a moment and reload **Audit logs**. |
| "Could not export audit logs. Try again.", or a message from the server that explains why | Read the message. Select **Export** again. |

## Next steps

- [Manage agents in your workspace](./manage-agents.md): approve, revoke, and
  look at each agent.
- [Govern AI agents with the Agentic Gateway](./ai-agent-gateway.md): set the
  agent policy and Application access that decide each call.
