Analytics
Track agent activity patterns, tool usage frequency, and cost trends with interactive dashboards.
/analyticsOverview#
The Analytics page provides a comprehensive metrics dashboard for your entire agent ecosystem. View aggregated usage data, identify activity patterns, and monitor cost trends over time.
Metric cards give you an at-a-glance summary, while interactive charts and usage tables let you drill down into specific agents, tools, and time periods.
Prerequisites#
- At least one active agent generating usage data
- Cost data synced from your connected instances
Expected Results#
Once your agents have generated activity data, the Analytics page displays:
- -Metric cards showing total requests, active agents, tool invocations, and cost totals for the selected period
- -Interactive charts visualizing activity trends, cost breakdowns, and usage distribution
- -Usage tables with sortable columns for per-agent and per-tool breakdowns
Web Operations#
The Analytics page is organized into three main areas: summary cards, trend charts, and detail tables.
Overview Dashboard
The top section displays metric cards for key indicators: total requests, active agent count, tool invocation count, and total cost. Each card shows the current value and a comparison delta against the previous period.
Time Range Selection
Use the time range selector to switch between preset periods (24h, 7d, 30d, 90d) or define a custom date range. All metric cards, charts, and tables update to reflect the selected window.
Metric Details
Below the charts, usage tables provide granular data. Sort by any column to find your most active agents or most frequently used tools. Click a row to navigate to that agent or tool's detail page.
CLI Operations#
Display a summary of analytics metrics for the current organization
$ ap analytics overviewShow usage analytics for a specific agent
$ ap analytics agent <id>List the most frequently used tools across all agents
$ ap analytics tools --top 10