Skip to main content
PATCH
Update an eval rule (partial update)

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Body

application/json
enabled
boolean | null
metric_name
string | null
config
object | null
model_tier
enum<string> | null
Available options:
cheap,
premium
min_score_drop
number<double> | null

Per-rule RemediationRegression threshold (TRU-387). Omit to leave the column unchanged; pass null to clear it back to the platform default; pass a non-negative number to set it.

Required range: x >= 0

Response

Eval rule updated

id
string<uuid>
required
tenant_id
string<uuid>
required
project_id
string<uuid>
required
metric_name
string
required
evaluator_type
enum<string>
required
Available options:
llm,
rule
enabled
boolean
required
model_tier
enum<string>
default:cheap
required
Available options:
cheap,
premium
created_at
string<date-time>
required
updated_at
string<date-time>
required
config
object | null
min_score_drop
number<double> | null

Per-rule floor for the RemediationRegression detector (TRU-387). A regression alert fires only when the post-remediation score has dropped by at least this much from the original score. Omitted or null means "use the platform default (0.0)" — alert on any drop. Negative values are rejected.

Required range: x >= 0