Score a test run
Triggers scoring of an existing run’s traces with the test suite’s latest published version, which may be the run’s own, without re-running the agent. Returns a new run with the cases that have an output and an unchanged input, which links back through scored_from_run_id. Its cases are scored in the background; poll the run for progress.
POST
/v1/projects/{projectId}/test-suites/runs/{runId}/scoreAuthorization
AuthorizationPersonal API key · headerrequiredYour personal API key from Settings > Personal API Keys, sent as Bearer <key>.
X-Organization-IdOrganization ID · headerrequiredThe organization to act in. Copy it with Copy organization ID in the organization menu or the settings sidebar.
Path parameters
projectIdstring<uuid>requiredrunIdstring<uuid>requiredResponses
200
Response for status 200
run_idstring<uuid>requiredThe new run.
404
Response for status 404
errorstringrequiredmessagestringcodestringdetailsstring[]409
Response for status 409
errorstringrequiredmessagestringcodestringdetailsstring[]422
Response for status 422
errorstringrequiredmessagestringcodestringdetailsstring[]