{% include 'responsive_shell.html' %}
Request #{{ log.id }} Details
← Back to Dashboard
Request Information
Timestamp:
{{ log.timestamp.strftime('%Y-%m-%d %H:%M:%S UTC') }}
Method:
{{ log.method }}
Path:
{{ log.path }}
{% if log.request_body_hash %}
Body Hash:
{{ log.request_body_hash }}
{% endif %}
Source IP:
{{ log.source_ip }}
Protocol:
{% if log.service_type == 'openai' %}
smart_toy
OpenAI-compatible {% else %}
psychology
Ollama {% endif %}
{% if log.provider_id %}
Provider:
{{ log.provider_id }}
{% endif %}
Response Information
Status:
{% if log.completed_at %} {% if log.status_code %}
{{ log.status_code }}
{% else %}
✓ Completed
{% endif %} {% else %}
🔄 Inflight
{% endif %}
Duration:
{% if log.duration_ms %} {{ log.duration_ms }}ms {% elif not log.completed_at and elapsed_ms %} {{ elapsed_ms }}ms (ongoing) {% else %}
N/A
{% endif %}
Completed:
{% if log.completed_at %} {{ log.completed_at.strftime('%Y-%m-%d %H:%M:%S UTC') }} {% else %}
Still processing...
{% endif %}
{% if log.error_message %}
Error:
{{ log.error_message }}
{% endif %}
Upstream:
{{ log.upstream_url }}
{% if log.original_model or log.mapped_model %}
Model Mapping
Original Model:
{{ log.original_model or 'N/A' }}
Mapped Model:
{{ log.mapped_model or 'N/A' }}
{% if log.original_model and log.mapped_model and log.original_model != log.mapped_model %}
Mapping Applied:
✅ Yes
{% endif %}
{% endif %}
Performance Metrics
{{ "%.1f"|format(log.request_size / 1024) if log.request_size else '0' }}
Request Size (KB)
{{ "%.1f"|format(log.response_size / 1024) if log.response_size else '0' }}
Response Size (KB)
{{ log.duration_ms or 'N/A' }}
Duration (ms)
{% if log.api_key_suffix %}
...{{ log.api_key_suffix }}
API Key{% if log.api_key_index and log.api_key_total %} #{{ log.api_key_index }}/{{ log.api_key_total }}{% endif %}
{% endif %} {% if log.proxy_used %}
{{ log.proxy_used }}
Proxy
{% endif %}
{% if request_body_str %}
Request Body
expand_more
{{ request_body_str }}
{% endif %} {% if duplicates and duplicates|length > 0 %}
Duplicate Requests ({{ duplicates|length }})
expand_more
{% for d in duplicates %}
#{{ d.id }}
{{ d.timestamp }} • Status: {{ d.status_code or 'pending' }} •
View
{% endfor %}
{% endif %} {% if response_body_str %}
Response Body
expand_more
{{ response_body_str }}
{% endif %}