API ANALYTICS

API Analytics Dashboard

Review the API calls and metrics Chau7 recorded.

Availability

Implemented in the stable source; configuration and compatibility limits are described below.

Reviewed against stable v0.5.1. Rust candidate additions are labeled separately. Release status.

The pain this solves

  • Per-call data is harder to scan than a summarized local view.
  • A dashboard claim should match its actual filters and export controls.

What ships with it

  • KPI cards show total cost, metered tokens, call count, average latency, and error rate.
  • Charts and tables include daily cost/token trends, provider and model breakdowns, and recent calls.
  • The time selector offers Today, 7 Days, 14 Days, 30 Days, and All Time; no dashboard export or broad field filters are claimed.

Questions this answers

  • LLM API cost monitor dashboard
  • Visual dashboard for AI agent token usage
  • How to view AI coding costs over time?
  • Analytics for terminal AI agent API usage

How it works

The dashboard reads the local API analytics store and shows total cost, metered tokens, API call count, average latency, and error rate for the selected time range.

Its visible sections include a daily cost-or-token trend, provider breakdown, a model table, and a recent-calls list. The time selector offers Today, 7 Days, 14 Days, 30 Days, and All Time.

The view refreshes on a timer and after recorded-call notifications. It does not provide the broad provider/model/repository filters, export workflow, or MCP-backed dashboard endpoints described by the current guide; underlying metrics are limited to calls captured by the proxy.

Why it matters

Aggregates can make captured API activity easier to review than inspecting requests one at a time. The dashboard is useful for the data Chau7 recorded, but it does not make proxy coverage universal or turn estimates into provider billing records.

Frequently asked questions

What does the dashboard show?

It shows cost, metered tokens, call count, average latency, error rate, daily cost or token trends, provider/model breakdowns, and recent calls.

Can I filter by repository, provider, model, or agent?

The audited dashboard has a time-range selector; the guide’s broader multi-field filter claim is not present in the stable view.

Can I export dashboard data?

The stable dashboard view does not include an export control.