Total Services
{{ total_services }}
Total Agents
{{ total_agents }}
Total Teams
{{ total_teams }}
Total Revenue (USD)
${{ total_revenue }}
Total Settlements
{{ total_settlements }}
Analytics
Daily API Calls (Last 7 Days)
{% if daily_usage %} {% else %}No usage data in the last 7 days
{% endif %}
Payment Method Breakdown
{% if payment_methods %} {% else %}No payment data available
{% endif %}
Top Providers
{% if top_providers %}| Rank | Provider | Calls | Revenue (USD) | Avg Latency | Success Rate |
|---|---|---|---|---|---|
| #{{ p.rank }} | {{ p.display_name }} | {{ "{:,}".format(p.total_calls) }} | ${{ "%.2f"|format(p.total_revenue) }} | {{ "%.1f"|format(p.avg_latency_ms) }} ms | {% if p.success_rate >= 99 %} {{ "%.1f"|format(p.success_rate) }}% {% elif p.success_rate >= 90 %} {{ "%.1f"|format(p.success_rate) }}% {% else %} {{ "%.1f"|format(p.success_rate) }}% {% endif %} |
No provider data available
{% endif %}
Service Health
{% if service_health %}| Service | Status | Avg Latency | Error Rate | Last Called |
|---|---|---|---|---|
| {{ s.name }} | {% if s.status == 'active' %} Active {% elif s.status == 'warning' %} Warning {% else %} {{ s.status }} {% endif %} | {{ "%.1f"|format(s.avg_latency_ms) }} ms | {% if s.error_rate == 0 %} 0.0% {% elif s.error_rate < 5 %} {{ "%.1f"|format(s.error_rate) }}% {% else %} {{ "%.1f"|format(s.error_rate) }}% {% endif %} | {{ s.last_called }} |
No active services
{% endif %}