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

# Agent Activity

> Monitor workflows, approvals, and tool execution details

## What you can monitor

The **Agent activity** page shows what happened when users chatted with agents or when workflows ran from triggers. Use it to review the path an agent took, the decisions it made, the tools it called, the files or sources it used, and any approvals or errors that occurred.

You can see:

* **Agent and sub-agent steps** in the order they ran.
* **Tool executions** with inputs, outputs, and status.
* **User messages** that started or continued the workflow.
* **Rules and conditions** that controlled the next step.
* **Approvals** that are waiting, approved, or rejected.
* **Sources, files, and browser recordings** attached to a step.
* **Errors** with the failing step and related context.

<Tabs>
  <Tab title="General">
    <Frame>
      <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/agent_activity_general.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=3633b10cf9eaf7f07d92a592b41ba3ff" alt="Agent activity list showing recent agent runs with statuses and timestamps" width="1545" height="732" data-path="images/agent-activity/agent_activity_general.png" />
    </Frame>
  </Tab>

  <Tab title="Approvals">
    <Frame>
      <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/agent_activity_approvals.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=ada56d6de814d1a807816949f8b01450" alt="Agent activity list showing recent agent runs with statuses and timestamps" width="1527" height="362" data-path="images/agent-activity/agent_activity_approvals.png" />
    </Frame>
  </Tab>

  <Tab title="Async API Activity">
    <Frame>
      <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/async_api_activity.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=db81f73b749e57fdc744e8bb59f092b0" alt="Agent activity list showing recent agent runs with statuses and timestamps" width="1535" height="568" data-path="images/agent-activity/async_api_activity.png" />
    </Frame>
  </Tab>

  <Tab title="Workflow Runs">
    <Frame>
      <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/workflow_runs_re-run.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=8434ef8c0fe2b3d4034ebe838d0bf8f1" alt="Agent activity list showing recent agent runs with statuses and timestamps" width="1530" height="390" data-path="images/agent-activity/workflow_runs_re-run.png" />
    </Frame>
  </Tab>
</Tabs>

## Open the flow view

Select an activity record to open the run details. The **Flow** view shows the workflow path as a connected diagram.

<Frame>
  <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/flow_view.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=9e2469fa077b5532a1881ff6e557fd02" alt="Agent activity record opened into the Flow view" width="1541" height="814" data-path="images/agent-activity/flow_view.png" />
</Frame>

## Review the visual flow

The **Flow** view shows the run as a connected diagram. Each node represents a user message, parent agent, sub-agent, tool execution, or workflow end state.

Nodes include:

* **Type badges** such as Agent, Sub-Agent, Tool, and User.
* **Status badges** such as Success, Error, Awaiting Approval, Approved, and Rejected.
* **Expandable agent groups** when a parent agent contains sub-agent or tool steps.
* **Configuration links** on agent nodes when the agent configuration is available.
* **Approval end nodes** that show whether a run is awaiting approval, approved, or rejected.

The flow also includes zoom controls, a minimap, and a fullscreen option so you can inspect larger workflows.

<Frame>
  <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/approval_review_output.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=2a1127ef0b82a3014b0344972ceb7d90" alt="Agent activity Flow view showing connected agent, tool, and approval nodes" width="1550" height="827" data-path="images/agent-activity/approval_review_output.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/review_errors.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=db011522ac11f96cb6b20bd79f120ad1" alt="Agent activity Flow view showing connected agent, tool, and approval nodes" width="1550" height="809" data-path="images/agent-activity/review_errors.png" />
</Frame>

## Understand rule paths

Lines between nodes can show the rule or condition that caused the next step to run. These labels help you understand why the workflow followed a specific path.

Rule labels can reference:

* **Last message** content.
* **Runtime inputs** from the workflow.
* **Tool content** returned by a previous tool.
* **Last agent** or **tool executed**.
* **Context** values stored during the run.
* **Skip conditions** that prevented a step from running.

<Frame>
  <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/rule_path.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=d2c458b7b35d43482e60c5627b5b185b" alt="Flow edge labels showing rule conditions that routed the workflow" width="263" height="265" data-path="images/agent-activity/rule_path.png" />
</Frame>

## Filter, search, and sort activity

Use filters to narrow down activity and find the exact step or workflow run you need.

* **Search** by agent name, input, output, or company.
* **Sort** by date, agent name, status, or company.
* **Filter by status** to focus on approvals, errors, or successful steps.
* **Date filters** let you isolate activity over a specific window.

<Frame>
  <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/filters.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=80ffc8e76c5e2c75c32e6f56897db6e9" alt="Agent activity filters and search controls with status and date filters" width="553" height="557" data-path="images/agent-activity/filters.png" />
</Frame>

## Inspect step details

Click a node to open the step detail panel. Use the panel to inspect what the step received, what it returned, and what supporting data was attached.

Depending on the step, the detail panel can show:

* **Input** for the message, prompt, or tool parameters sent into the step.
* **Output** for the agent response, tool response, JSON result, markdown, or CSV.
* **System** for the system message used by a sub-agent.
* **Context** for usage and context details, such as token usage, message window size, memory context, and compression details.
* **Elements** for files, sources, and browser recordings attached to the step.

The panel can be expanded when you need more room to review long inputs, outputs, or source content.

<Tabs>
  <Tab title="Input">
    <Frame>
      <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/input_details.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=337a371f2ee75b72015dc5caec7a7912" alt="Selected flow node with detail panel showing the Input tab" width="1460" height="675" data-path="images/agent-activity/input_details.png" />
    </Frame>
  </Tab>

  <Tab title="Output">
    <Frame>
      <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/output_details.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=7a60ea43ef0c2a80fd92dd62b3d5b2d6" alt="Detail panel showing output with formatted JSON or markdown" width="1468" height="658" data-path="images/agent-activity/output_details.png" />
    </Frame>
  </Tab>

  <Tab title="System">
    <Frame>
      <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/system_details.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=082ff8c92724a21151fc8565cbbf171e" alt="Detail panel showing system details" width="1462" height="670" data-path="images/agent-activity/system_details.png" />
    </Frame>
  </Tab>

  <Tab title="Context">
    <Frame>
      <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/context_details.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=cbf958cc43195bcb5be9bd30fed9979b" alt="Detail panel showing context details" width="1458" height="679" data-path="images/agent-activity/context_details.png" />
    </Frame>
  </Tab>
</Tabs>

## Review Context

Use the **Context** tab to understand what the agent had available before it responded. This is useful when you need to explain why an agent answered a certain way, why context was removed, or whether memory changed the message window.

The **Context** tab can show:

* **Token usage** for the model, including total and actual prompt and completion tokens.
* **Context window stats** such as pre-transform messages, post-transform messages, removed messages, compressed content, tool calls, tool responses, memory context, and message senders.
* **Transform details** that show how message transforms changed the context before the model ran.
* **Pre-transform messages** that show the message window before context processing.
* **Post-transform messages** that show the message window after context processing.

Transform details can include memory storage, compression, trimming, visibility filters, and memory injection. Use the pre-transform and post-transform message lists together to see exactly what changed before the next step ran.

<Tabs>
  <Tab title="Memory">
    <Frame>
      <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/context_memory.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=5e026be70785b786c0eb65dc809279f8" alt="Detail panel showing output with formatted JSON or markdown" width="1478" height="664" data-path="images/agent-activity/context_memory.png" />
    </Frame>
  </Tab>

  <Tab title="Injected Memory">
    <Frame>
      <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/injected_memory.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=d7847e3f1355b0058ca059145409e5f8" alt="Detail panel showing output with formatted JSON or markdown" width="1438" height="339" data-path="images/agent-activity/injected_memory.png" />
    </Frame>
  </Tab>

  <Tab title="Compressed Response">
    <Frame>
      <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/compressed_response.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=7869082908251f692386ef910a5864b1" alt="Detail panel showing compressed response" width="1491" height="431" data-path="images/agent-activity/compressed_response.png" />
    </Frame>
  </Tab>

  <Tab title="Transformed Messages">
    <Frame>
      <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/pre-post-transform.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=c4d7074958b571a3c40bbe8047f19510" alt="Detail panel showing pre- and post-transform messages" width="1471" height="541" data-path="images/agent-activity/pre-post-transform.png" />
    </Frame>
  </Tab>
</Tabs>

## Review elements, sources, and recordings

The **Elements** tab shows supporting artifacts created or used by a step.

You may see:

* **Files** that can be downloaded when a workflow created or attached a file.
* **Sources** that show documents, records, or links used to support an answer.
* **Session recordings** when an agent acted in a browser and captured a replay.

Click a source badge to view its content. If the source is a URL, it opens in a new tab. Click a session recording to replay the browser activity.

<Tabs>
  <Tab title="Elements">
    <Frame>
      <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/element_sources.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=d288ad280b0e6e84abea4fe6c840f5e0" alt="Elements tab showing files, source badges, and a browser session recording" width="502" height="392" data-path="images/agent-activity/element_sources.png" />
    </Frame>
  </Tab>

  <Tab title="Source Details">
    <Frame>
      <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/source_details.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=3aa910447c6ad37c472f426b0d32e55d" alt="Source content dialog opened from a source badge" width="997" height="604" data-path="images/agent-activity/source_details.png" />
    </Frame>
  </Tab>

  <Tab title="Session Recording">
    <Frame>
      <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/session_recording_click.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=092fbc5233520b46ddb38a6102ce2dc7" alt="Browser session recording playback from Agent activity details" width="497" height="339" data-path="images/agent-activity/session_recording_click.png" />
    </Frame>
  </Tab>
</Tabs>

## Approve or reject actions

Approval steps appear in the run timeline and in the flow. If a workflow is waiting for approval, the detail panel shows a **Review Approval** action and the flow shows an approval end node.

<Check>
  Approval decisions are logged with the user and timestamp.
</Check>

### Approval statuses

* **Waiting**: approval required before the workflow continues.
* **Approved**: the action was approved and the workflow resumed.
* **Rejected**: the action was rejected and the workflow stopped or rerouted.

<Frame>
  <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/agent_activity_approval.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=3d6548fd224248be5464a0675976139c" alt="Approval dialog showing approve and reject actions" width="1579" height="831" data-path="images/agent-activity/agent_activity_approval.png" />
</Frame>

## Workflow runs and trigger executions

The **Workflow runs** view shows trigger executions with request and response payloads. You can filter, sort, and re-run selected executions.

<Frame>
  <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/workflow_runs_view_request.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=22216a9c35195135879efd71f61968a7" alt="Workflow runs table with request and response hover panels" width="1549" height="741" data-path="images/agent-activity/workflow_runs_view_request.png" />
</Frame>

### Re-run selected executions

Select one or more workflow runs to re-run them. Use this for retrying transient failures or validating a fix.

<Tip>
  Re-run only after confirming the connector credentials and tool defaults are correct.
</Tip>

## Error visibility

When an error occurs, you can see:

* The step that failed.
* An **Error** badge on the node or list item.
* Input and output context at the failure point.
* Any related files, sources, or browser recording.
* Links to related notifications when available.

<Frame>
  <img src="https://mintcdn.com/maadify/K7CT7HZ-nt5ok2U5/images/agent-activity/review_errors.png?fit=max&auto=format&n=K7CT7HZ-nt5ok2U5&q=85&s=db011522ac11f96cb6b20bd79f120ad1" alt="Agent activity error details with inputs and error message" width="1550" height="809" data-path="images/agent-activity/review_errors.png" />
</Frame>

## Troubleshooting

<AccordionGroup>
  <Accordion title="A step is missing output">
    * Confirm the tool completed successfully.
    * Check if a rule skipped the step.
  </Accordion>

  <Accordion title="Approval is stuck pending">
    * Verify the approver received the email.
    * Check **Notifications** for the approval request.
  </Accordion>

  <Accordion title="Context is incomplete">
    * Review the prompt template variable mappings.
    * Confirm memory context is enabled for the sub-agent.
  </Accordion>
</AccordionGroup>
