Agent Observability
UI componentsPages

Eval Case Detail

Single-case drill-in — header with status chip, metric tiles (avg TTFT / speaking time / turn count), user input, full transcript, judgments list, and a collapsible failure block. Ships rendered inside the EvalRunDetailPage drawer by default; reuse it directly when you want a standalone route.

Preview

Loading eval case detail preview…

Installation

pnpm dlx agent-observability-ui@latest add eval-case-detail-page
npx agent-observability-ui@latest add eval-case-detail-page
yarn dlx agent-observability-ui@latest add eval-case-detail-page
bunx --bun agent-observability-ui@latest add eval-case-detail-page

Usage

import { AgentObservabilityProvider } from '@/lib/observability-provider'
import { EvalCaseDetailPage } from '@/components/eval-case-detail-page'
import { useNavigate, useParams } from 'react-router'

export function EvalCaseRoute() {
  const { runId, caseId } = useParams<{ runId: string; caseId: string }>()
  const navigate = useNavigate()
  if (!runId || !caseId) return null
  return (
    <AgentObservabilityProvider baseUrl="https://observability.example.com/api">
      <EvalCaseDetailPage
        runId={runId}
        caseId={caseId}
        onBack={() => navigate(`/evals/${runId}`)}
      />
    </AgentObservabilityProvider>
  )
}

Props

PropTypeDefaultDescription
runIdrequiredstringRun that owns the case.
caseIdrequiredstringThe case to load.
onBack() => voidHandler for the drawer close / back-to-run action. Omit to render without a back control.

On this page