Agent Observability
Server

API routes

HTTP surface exposed by the server. The /observability/* routes are inbound (SDKs call them); the /api/* routes power the dashboard and anything else that needs to read back captured data.

Inbound (SDKs)

Method / PathPurpose
POST /observability/recordings/v0Multipart session report from an agent-transport SDK: JSON header, chat history, and optional OGG audio. Parsed, stored in Postgres, and optionally uploaded to S3.
POST /observability/evals/v0Eval run payload from the pytest / vitest plugins: run metadata, per-case results, judgments, failures, and captured events.

Dashboard API

Method / PathPurpose
GET /api/sessionsPaginated list of sessions. Supports limit (1–20), offset, and filters like account_id, transport, started_from, started_to.
GET /api/sessions/:idFull session detail: chat history, computed per-turn metrics, raw report, events, and options.
GET /api/evalsPaginated list of eval runs with the same pagination contract as sessions.
GET /api/evals/:run_idSingle eval run with aggregate pass rate, CI metadata, and its list of cases.
GET /api/evals/:run_id/cases/:case_idOne case with its transcript, judgments, and failure block.

Ops

Method / PathPurpose
GET /healthAlways open (never behind basic auth). Returns 200 OK when the server is up.

On this page