{% extends "base.html" %} {% block content %}

Usage

{% if usage.get("error") %}
{{ usage.get("error") }}
{% else %} {% set remaining = usage.get("remaining", {}) %} {% set limits = usage.get("limits", {}) %}
{{ usage.get("calls", 0) }}
Calls Used
remaining {{ remaining.get("calls", "unlimited") }}
{{ usage.get("tool_validations", 0) }}
Tool Checks
remaining {{ remaining.get("tool_validations", "unlimited") }}
${{ "%.4f"|format(usage.get("cost_usd", 0)) }}
Tracked Cost
remaining {{ remaining.get("cost_usd", "unlimited") }}
{{ "%.0f"|format(limits.get("window_s", 0)) }}s
Quota Window
tenant {{ usage.get("tenant_id", tenant_id) }}
{{ metrics.get("usage_event_sinks", 0) }}
Usage Event Sinks
billing hooks configured
{% if metrics.get("usage_quota_enabled") %}ON{% else %}OFF{% endif %}
Quota Enforcement
API-side hard limit
{% endif %} {% endblock %}