keep / repair / replay / drop). It accepts scores from multiple sources — built-in deterministic checks, your @eval functions, LLM judges, and pushed-from-elsewhere scores from DeepEval / LangSmith / your CI pipeline.
Together with the Compatibility Policies guide, this is how DecimalAI decides what’s training-data-grade.
When to use this API
Push scores from an external eval pipeline
Already running DeepEval or a homegrown harness? POST results to
/traces/{id}/eval-scores and they show up in the same dashboard view as your built-ins, tagged by source.Re-score a trace on demand
Call
/traces/{id}/evaluate to re-run the configured eval policy (built-ins + LLM judges + your @eval functions) without re-running the agent itself.Override a verdict manually
A human reviewer looked at the trace and disagrees with the auto-verdict.
/traces/{id}/decision writes the override; the original auto-verdict is preserved for audit.Bulk classify after a policy change
Tighten your eval policy and want every existing trace re-classified?
/traces/batch-decision runs the new policy against existing scores without re-running anything.Score sources (the source field)
Every score row carries a source so the dashboard can show it as a tagged badge:
Endpoints at a glance
Quick start
Related
- Evaluations Guide — the conceptual model +
@evaldecorator - Compatibility Policies — how scores aggregate into verdicts
- Datasets API — datasets filter on verdict + score
- Replay API — replay flagged-for-repair traces to recover them