Create New Evaluator Rule
Create a new Evaluator Rule
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Request body for creating a Rule evaluator with filters
Name of the Rule evaluator
Application UUID
UUID of the corresponding evaluator
Mapping of input field names to verbatim span attribute keys (framework-specific). Mutually exclusive with mapped_semantic_names — provide exactly one.
Mapping of input field names to semantic concept names (framework-agnostic). Same structure as mapped_input_keys but values are semantic concepts instead of literal attribute keys. The enrichment worker resolves each concept to all mapped attribute keys at evaluation time via the semantic mapping cache. Valid concepts: input, output, system_instructions, retrieval_context, tool_input, tool_output. Mutually exclusive with mapped_input_keys — provide exactly one.
Filters for applying Rule evaluator
Whether to backfill already ingested spans
Fraction of matching spans on which this evaluator runs, in the half-open range (0.0, 1.0]. Defaults to 1.0 (every matching span). Traces are always persisted even when downsampling is enabled. To pause evaluation entirely, create the rule and then PATCH it with enabled=false — a small sampling_rate is not a pause mechanism (and enabled is not accepted on this create request).
0 < x <= 1Starting point for backfill in case backfill is not required for the entire period