Analytics & Growth
Your data, as data — not a locked dashboard.
Cohorts, retention, order economics, and conversion — computed from the event stream and reached however you work: as API endpoints, as warehouse tables, or as MCP queries your agents run directly. The platform reports on itself; you decide what to ask.
What's inside
The metrics that grow a virtual-care business.
Retention, economics, and conversion — as data you query, not charts you’re handed.
Cohorts & retention
Patient cohorts, retention curves, and lifetime value computed straight from the event stream.
Order economics
Revenue, refunds, drug cost, and margin per order and per therapy — the numbers that decide what to scale.
Conversion & funnels
Intake-to-order conversion across every step, so you can see exactly where patients drop and why.
Data, not dashboards
Reach every metric as an API endpoint, a warehouse table, or an MCP query — no locked BI console deciding what you’re allowed to ask.
Served to your agents over MCP
Your agents query the whole patient lifecycle over MCP — reporting, cohorts, and economics without ever touching a database.
Callable by your agents
Pull any metric programmatically and pipe it into your own tools, models, and growth loops.
How it fits
Read models, projected from every event.
Analytics is the CQRS read side of the event backbone: domain events project into read models and a warehouse, and the same layer answers your agents’ MCP read queries. Because it’s built from the event log, the numbers reconcile with the system of record by construction.
POST /v1/metrics/query
{
"metric": "net_revenue",
"group_by": "therapy",
"window": "last_90d"
}
200 OK
{ "rows": [ { "therapy": "...", "value": ... } ] }Illustrative — the live API surface is published in the docs.
Get started