← Back to Dashboard

Activity Log

Real-time feed of agent events and tool calls — search, filter, and inspect every action across your organization.

Table of Contents

Overview

Non-technical summary: The Activity Log is like a security camera for your AI agents. It records everything they do — when they start, stop, make errors, and every tool they use. You can search and filter to find exactly what happened and when.

The Activity page provides two complementary views into agent behavior:

Both views support full-text search, agent filtering, type filtering (events only), pagination, and click-to-inspect detail modals.

How It Works

On page load:

  1. /agents?orgId=... — Loads agent list for name resolution
  2. /activity/events?limit=25 — Fetches the first page of events
  3. /activity/tool-calls?limit=25 — Fetches the first page of tool calls
  4. /activity/events?limit=500 — Fetches a larger batch to populate the event type filter dropdown

Data is re-fetched whenever filters, search terms, or page numbers change. Search has a 300ms debounce to avoid excessive API calls.

Key Concepts

Events vs Tool Calls

AspectEventsTool Calls
GranularityHigh-level (agent lifecycle)Individual tool invocations
ExamplesAgent started, deployed, erroredweb_search called, file read, API request
FieldsTime, Type, Agent, Details (JSON)Time, Tool, Agent, Duration, Status
FrequencyFewer (state changes)Many (every tool invocation)
Use caseAudit, troubleshootingPerformance monitoring, debugging

Events Tab

The events table shows:

ColumnDescription
TimeTimestamp — shows time only for today, date + time for older events
TypeEvent type as a blue badge (e.g., "started", "stopped", "error", "deployed")
AgentAgent name badge with avatar
DetailsJSON data preview (truncated to 120 characters)

Click any row to open the Event Detail modal.

Tool Calls Tab

The tool calls table shows:

ColumnDescription
TimeWhen the tool was called
ToolTool name in monospace font (e.g., web_search, Read)
AgentWhich agent made the call
DurationExecution time in milliseconds
Statusok or fail

Click any row to open the Tool Call Detail modal.

Filtering & Search

Both tabs share a filter bar with:

Changing any filter resets pagination to page 1.

Tip: Use the agent filter + search together to investigate specific agent behavior. For example, filter to "secretary" agent and search "error" to find all errors from that agent.

Detail Modals

Event Detail Modal

Shows all event fields in a structured view:

Tool Call Detail Modal

Shows comprehensive tool call information:

Note: Tool call parameters and results can contain large JSON objects. The detail modal shows the complete data — scroll within the modal to view everything.

Pagination

Both tabs use server-side pagination with 25 items per page. The pagination bar shows:

Configuration & Setup

The Activity Log works automatically — events and tool calls are recorded by the engine as agents operate. No additional configuration is needed.

What Gets Logged

Data Retention

Activity data retention depends on your deployment configuration. Check your engine settings for retention policies.

API Reference

EndpointMethodParametersDescription
/activity/events GET limit, offset, search, agentId, type Fetch events with filtering. Returns { events, total }
/activity/tool-calls GET limit, offset, search, agentId Fetch tool calls with filtering. Returns { toolCalls, total }
/agents?orgId=... GET orgId Agent list for name resolution

Event Object

{
  "id": "evt_abc123",
  "timestamp": "2026-03-03T14:30:00Z",
  "type": "agent_started",
  "agentId": "agent_xyz",
  "sessionId": "sess_456",
  "data": { /* event-specific fields */ }
}

Tool Call Object

{
  "id": "tc_abc123",
  "timestamp": "2026-03-03T14:30:05Z",
  "tool": "web_search",
  "agentId": "agent_xyz",
  "sessionId": "sess_456",
  "durationMs": 1250,
  "success": true,
  "parameters": { "query": "AgenticMail docs" },
  "result": { "results": [...] }
}

Best Practices

Troubleshooting

IssueSolution
No events showingAgents may not be running. Check the Overview or Org Chart page. Also verify the org ID is correct.
No tool calls showingAgents may not have been assigned tasks yet. Tool calls only appear when agents actively use tools.
Search not finding resultsSearch is server-side — it searches specific fields, not all data. Try simpler search terms.
Event type filter is emptyThe filter populates from the first 500 events. If there are very few events, fewer types appear.
Detail modal shows "-" for parametersSome tool calls may not have logged parameters (depending on engine configuration).
Loading overlay stuckAPI call may have timed out. Refresh the page.
AgenticMail Enterprise Documentation Report an issue