{% extends "base.html" %} {% set active_page = "sessions" %} {% block title %}{{ session.agent_name }} · AgentBlackBox{% endblock %} {% block content %}
Session ID
{{ session.session_id }}
Started
{{ session.start_dt }}
Duration
{{ session.duration_str }}
Total Cost
${{ "%.6f"|format(session.total_cost_usd) }}
Events
{{ events|length }} total
Export JSON

Timeline

Click any event to expand
{% if events %}
{% for ev in events %} {# ── LLM call ─────────────────────────────────────────────── #} {% if ev._type == "llm" %}
{{ ev._dt }} 🤖 {{ ev.model }} {{ ev.input_tokens }}→{{ ev.output_tokens }} tok ${{ "%.6f"|format(ev.cost_usd) }} {{ "%.0f"|format(ev.duration_ms) }}ms
Input ({{ ev.input_tokens }} tokens)
{{ ev.input_text }}
Output ({{ ev.output_tokens }} tokens)
{{ ev.output_text }}
{# ── Tool call ─────────────────────────────────────────────── #} {% elif ev._type == "tool" %}
{{ ev._dt }} 🔧 {{ ev.tool_name }} {% if ev.error %} error {% else %} {% endif %} {{ "%.0f"|format(ev.duration_ms) }}ms
Arguments
{{ ev.arguments | pretty_json }}
{% if ev.error %}
Error
{{ ev.error }}
{% else %}
Result
{{ ev.result | pretty_json }}
{% endif %}
{# ── Error ─────────────────────────────────────────────────── #} {% elif ev._type == "error" %}
{{ ev._dt }} {{ ev.error_type }} {{ ev.message }}
Stack Trace
{{ ev.traceback }}
{% endif %} {% endfor %}
{% else %}

No events recorded in this session.

{% endif %}
{% endblock %}