Update an agent evaluation
Replace an existing agent evaluation definition
Authorizations
Use this header with a Bearer token to authenticate requests.
Path Parameters
Tenant ID
Workspace ID
Agent evaluation ID (UUID)
Body
Updated agent evaluation definition
Response
Updated agent evaluation
Joined from eval_evaluations.
Latest run, populated via lateral join on eval_evaluation_runs. LatestRunID is what a row-level "stop run" action posts to, and LatestRunCancelRequested lets the row show the pending state during the window between the 202 and the worker writing 'cancelled'. Both are nil when the evaluation has never run.
Latest run carrying a numeric score, via its own lateral. A failed, queued, or running run has no summary, so LatestRunSummary is null for exactly the cases where a score is still worth showing. Consumers read the state from LatestRun* and the numbers from here: folding the two together would hide the failure. Equal to LatestRunID when the newest run is scored, and all nil when no run has ever scored.
daily, weekly, monthly Score trend: last 5 run scores in chronological order (oldest first).

