temetro

Analytics

Clinic-level aggregates for the dashboard.

MethodPathAccess
GET/api/analyticsAny clinic member

Returns the aggregate numbers behind the app's Analysis dashboard — patient counts, appointment volume, prescription and task throughput — computed for the active clinic.

curl -b cookies.txt http://localhost:4000/api/analytics

The response is a single JSON object of aggregates; its exact fields evolve with the dashboard, so treat the dashboard UI (/analysis in the app) as the reference for what's available.