Skip to main content
GET
/
v1
/
eval
/
{id}
Get evaluation result
curl --request GET \
  --url https://api.trulayer.ai/v1/eval/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "trace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "metric_name": "<string>",
  "evaluator_type": "llm",
  "status": "pending",
  "context": "fresh",
  "score": 123,
  "label": "<string>",
  "reasoning": "<string>",
  "source_action_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "original_evaluation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Documentation Index

Fetch the complete documentation index at: https://docs.trulayer.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

SDK API key (tl_...) or Clerk session JWT

Path Parameters

id
string<uuid>
required

Response

Evaluation

id
string<uuid>
required
trace_id
string<uuid>
required
project_id
string<uuid>
required
metric_name
string
required
evaluator_type
enum<string>
required
Available options:
llm,
rule
status
enum<string>
required
Available options:
pending,
running,
complete,
failed
context
enum<string>
required

Distinguishes a fresh evaluation against a newly-ingested trace (fresh) from a re-score the eval runner stamped after the executor re-published a remediated trace (remediation). Defaults to fresh for evaluations triggered before remediation tracking shipped (TRU-370).

Available options:
fresh,
remediation
score
number | null
label
string | null
reasoning
string | null
source_action_id
string<uuid> | null

Control action that drove this remediation re-score (only set when context = remediation). Points at GET /v1/control/actions/{id} so the dashboard can show "this eval was triggered by THAT action".

original_evaluation_id
string<uuid> | null

Evaluation whose score drove the policy decision behind source_action_id — the baseline the regression detector compares this eval against. Null on fresh evaluations.