v6

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01485121699.8 KB

Get Quality Metrics

Return aggregated internal quality metrics (last 7 days).

Reads from .sdd/metrics/ JSONL files to compute:

  • per_model: per-model success rate, avg tokens, and completion time distribution (p50/p90/p99).
  • overall: aggregate across all models.
  • gate_stats: per-gate pass/blocked/flagged counts (last 30 days).
  • guardrail_pass_rate: fraction of gate checks that passed.
  • review_rejection_rate: fraction of tasks that failed overall.

Returns an empty structure when no metric data exists yet.

get/quality

Response

Successful Response

{"stackTrail":"paths:/quality:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}