{% extends "base.html" %} {% block title %}Budget Alerts - Familiar Admin{% endblock %} {% block content %}

Budget Alerts

Monitor and control API spending

+ Create Alert
{% if triggered %}
{{ triggered | length }} alert(s) triggered
{% for alert, current, threshold in triggered %}
{{ alert.name }}: ${{ "%.2f"|format(current) }} spent (threshold: ${{ "%.2f"|format(threshold) }})
{% endfor %}
{% endif %}
{% for alert in alerts %} {% else %} {% endfor %}
Name Scope Budget Threshold Status Notify
{{ alert.name or 'Unnamed' }} {% if alert.user_id %} User: {{ alert.user_id[:16] }}... {% else %} Organization-wide {% endif %} ${{ "%.2f"|format(alert.monthly_budget_usd) }}/mo {{ alert.alert_threshold_pct }}% {% if alert.enabled %} Active {% else %} Disabled {% endif %} {{ alert.notify_email or '-' }}

No budget alerts

Create an alert to monitor spending

How Budget Alerts Work

{% endblock %}