Skip to main content

Module analytics

Module analytics 

Source
Expand description

Top-level analytics command group spanning all metric domains.

AnalyticsCommands routes to the per-domain subcommand trees (overview, conversations, agents, tools, requests, sessions, content, traffic, costs). Each variant dispatches to its module’s execute against the invocation’s CommandContext. The shared module holds the time-range and output formatting helpers used across all domains.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Modules§

agents
Agent performance analytics: stats, listing, trends, and per-agent deep dives.
content
Content performance analytics: engagement stats, top content, and trends.
conversations
Conversation analytics: aggregate stats, time-series trends, and listings.
costs
Cost analytics: spend summary, trends over time, and breakdown by model or agent.
overview
Dashboard overview rolling up every analytics domain into one snapshot.
projection
Reporting projection operations against the primary database.
requests
AI request analytics: aggregate stats, individual listings, trends, and model usage.
sessions
Session analytics: aggregate stats, trends, and a real-time live view.
shared
Cross-domain helpers shared by every analytics command.
tools
Tool usage analytics: aggregate stats, listings, trends, and per-tool deep dives.
traffic
Traffic analytics: source, geographic, device, and bot-traffic breakdowns.

Enums§

AnalyticsCommands

Functions§

execute