OptionalenabledUpdated desired enabled state.
OptionalevaluatorUpdated evaluator family.
Langfuse resolves the provided evaluator family to its latest version before saving the rule.
A rule's evaluator type cannot be changed: provide name and scope for an evaluator family of the rule's current type. To use a different evaluator type, create a new rule.
OptionalfilterUpdated filter list.
For target=experiment, column=datasetId expects dataset id values from GET /api/public/v2/datasets, not dataset names.
OptionalmappingUpdated LLM-as-judge variable mappings.
Do not send this field for code evaluator rules. Langfuse stores the fixed code runtime mapping automatically and returns it in the response.
OptionalnameUpdated deployment name.
OptionalsamplingUpdated sampling fraction.
OptionaltargetUpdated target object type.
Partial update body for an evaluation rule.
Provide only the fields you want to change. An empty body is rejected.
Practical guidance:
evaluator, send a freshmappingunless you are certain the existing mapping still matches the evaluator variables.targetfor an LLM-as-judge rule, usually send bothfilterandmappingin the same request.mapping; Langfuse stores the fixed code runtime mapping automatically.datasetIdfilter, callGET /api/public/v2/datasetsand use datasetidvalues from that response.