{% extends "base.html" %} {% block title %}{{ job.name or job.id[:8] }} — relay dashboard{% endblock %} {% block content %}
{% if job.status not in ('COMPLETED', 'PARTIAL', 'FAILED', 'CANCELLED') %}
Progress {{ job.completed_requests or 0 }} / {{ job.total_requests or 0 }} requests · {{ job.progress_pct }}%
{% endif %}
Total requests
{{ job.total_requests or 0 }}
Completed
{{ job.completed_requests or 0 }}
Failed
{{ job.failed_requests or 0 }}
Cache hits
{{ job.cached_hits or 0 }}
Input tokens
{{ "{:,}".format(job.input_tokens or 0) }}
Output tokens
{{ "{:,}".format(job.output_tokens or 0) }}
Estimated cost
${{ "%.6f" | format(job.estimated_cost_usd or 0) }}
Actual cost
{% if job.actual_cost_usd is not none %} ${{ "%.6f" | format(job.actual_cost_usd) }} {% else %} {% endif %}
Timing
Created
{{ job.created_at or '—' }}
Submitted
{{ job.submitted_at or '—' }}
Completed
{{ job.completed_at or '—' }}
Elapsed
{% if job.elapsed_seconds is not none %} {% set h = (job.elapsed_seconds // 3600) | int %} {% set m = ((job.elapsed_seconds % 3600) // 60) | int %} {% set s = (job.elapsed_seconds % 60) | int %} {% if h > 0 %}{{ h }}h {% endif %}{% if m > 0 or h > 0 %}{{ m }}m {% endif %}{{ s }}s {% else %} {% endif %}
{% if job.tags %}
Tags
{% for tag in job.tags %} {{ tag }} {% endfor %}
{% endif %} {% if job.error %}
Error
{{ job.error }}
{% endif %}
Provider Details
Provider job ID
{{ job.provider_job_id or '—' }}
Provider
{{ job.provider }}
Model
{{ job.model }}
{% if job.config %}
Batch Config
{{ job.config | tojson(indent=2) }}
{% endif %} {% endblock %}