{% extends "base.html" %} {% block title %}Logs - OpenWebUI Monitor{% endblock %} {% block content %}

API Call Logs

{% if logs %}
Showing {{ logs|length }} most recent API calls. Logs are ordered by timestamp (newest first).
Recent API Calls
{% for log in logs %} {% endfor %}
Timestamp User Email Model Input Tokens Output Tokens Total Tokens Cost (USD)
{{ log.datetime }} {{ log.user_email }} {{ log.model_id }} {{ "{:,}".format(log.input_tokens) }} {{ "{:,}".format(log.output_tokens) }} {{ "{:,}".format(log.total_tokens) }} ${{ log.cost_usd }}
Current Page Statistics

{{ logs|length }}

Total Calls

{{ "{:,}".format(logs|sum(attribute='input_tokens')) }}

Input Tokens

{{ "{:,}".format(logs|sum(attribute='output_tokens')) }}

Output Tokens

${{ "%.4f"|format(logs|sum(attribute='cost_usd')) }}

Total Cost
{% else %}

No Logs Available

No API calls have been recorded yet.

Back to Dashboard
{% endif %} {% endblock %} {% block scripts %} {% endblock %}