Offline Eval

Upsert one test-case result with scores

Upsert one test-case result (and its scores). Idempotent on (run, test case).

post/api/v1/public/evaluation-runs/{run_id}/results

Request

  • Base URL
    https://app.traceroot.ai
  • URL
    https://app.traceroot.ai/api/v1/public/evaluation-runs/{run_id}/results
  • Auth
    HTTP bearer

Path parameters

run_idstring required

Request body

baseline_outputstring nullable
candidate_outputstring nullable
change'improved' | 'regressed' | 'unchanged' nullable
costnumber nullable
duration_msinteger nullable
expected_outputstring nullable
inputstring required
status'passed' | 'failed' | 'errored' | 'not_scored' required
task_errorstring nullable
test_case_idstring required
trace_idstring nullable

Response

Successful Response

evaluation_result_idstring required

Changes

No recorded changes to this operation across all 1 revision of this API.