Skip to main content

Analytics

The analytics dashboard gives admins visibility into platform usage. Access it from Admin Panel > Analytics.

Usage Overview​

High-level stats across the entire instance:

GET /api/admin/analytics/overview
Authorization: Bearer <access_token>
MetricDescription
total_usersAll registered users
active_chatsCurrently active chats
total_messagesLifetime messages across the platform
api_calls_todayAPI calls made in the current day
agent_executionsLifetime agent executions
agents_run_todayAgents run in the current day

Provider Analytics​

See how each AI provider is being used:

GET /api/admin/analytics/providers
Authorization: Bearer <access_token>

Per-provider metrics include:

  • Total requests -- Lifetime API calls to this provider
  • Requests today -- Calls made in the current day
  • Tokens used -- Total token consumption
  • Avg response time -- Mean latency in milliseconds
tip

Use provider analytics to identify cost hotspots. If one provider dominates token usage, consider adding a cheaper alternative for routine tasks.

Chat Analytics​

Aggregated data on conversations across the platform:

GET /api/admin/analytics/chats
Authorization: Bearer <access_token>

Tracks total chats, messages, and conversation patterns over time.

Model Usage Stats​

Breakdown by individual model:

GET /api/admin/analytics/models
Authorization: Bearer <access_token>
MetricDescription
total_requestsLifetime requests to this model
requests_todayRequests in the current day
avg_tokens_per_requestAverage token count per call
success_ratePercentage of successful responses

Models with low success rates may indicate configuration issues or provider-side problems.

Agent Execution Metrics​

Track Nexus agent activity:

GET /api/admin/analytics/agents
Authorization: Bearer <access_token>

Covers total agents created, execution counts, and trends. Useful for understanding how heavily the agent system is being used and which agents drive the most traffic.

Background Jobs​

ClaraVerse runs scheduled maintenance jobs that appear in backend logs:

JobSchedulePurpose
Retention CleanupDaily at 2:00 AM UTCDeletes expired data per tier retention policy
Grace Period CheckHourlyHandles tier downgrades
Promo ExpirationHourlyExpires promotional tier upgrades

Monitor these in your backend container logs:

docker logs claraverse-backend -f