Evaluate recent traces
Request evaluation of the most recent traces across all time (up to limit of 1000, default 100) with current production judges, optionally restricted to named judges. Evaluation is asynchronous and costs JUs. Each judge type is checked against its own usage limit; the response lists admitted and skipped judges per trace and any unknown judge names.
/v1/projects/{projectId}/traces/evaluate-allAuthorizationPersonal 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.
projectIdstringrequiredapplication/jsonjudge_namesstring[]Restrict evaluation to these judge names
limitintegerMax number of traces to evaluate, taken from the most recent across all time
Response for status 200
enqueuedbooleanrequiredTrue when at least one judge was queued for at least one trace
limitnumberrequiredtracesobject[]requiredShow propertiesHide properties
objecttrace_idstringrequiredadmittedstring[]requiredJudge names queued for this trace
skippedobject[]requiredJudges not queued for this trace, each with the reason
Show propertiesHide properties
objectjudgestringrequiredreasonstringrequiredon_demand_not_requested: on-demand judge, name it in judge_names to run it. sampled_out: excluded by the sampling rate. trigger_not_matched: the trace does not meet the run conditions, or the environment filter when the judge has both. environment_not_matched: the trace environment is not in the environment filter of a judge with no run conditions. no_session: session judge on a trace with no session. session_already_claimed: this session was already evaluated by the judge. usage_limited: the judge type is over the organization usage limit. rate_limited: the evaluation rate limit was reached.
on_demand_not_requestedsampled_outtrigger_not_matchedenvironment_not_matchedno_sessionsession_already_claimedusage_limitedrate_limitedunknown_judge_namesstring[]requiredRequested judge names that match no production judge in this project