TraceEvaluationRuleAction interface
Configures a scheduled evaluation of observed agent traces.
- Extends
Properties
| eval |
Identifier of the evaluation used to score the selected traces. |
| evaluation_level | Level at which each scheduled run evaluates. Required when the evaluation uses the messages item schema. |
| source | Trace inputs for each scheduled occurrence. The selected variant's query-window and sampling behavior is preserved. For |
| type | The discriminator possible values: continuousEvaluation, humanEvaluationPreview |
Property Details
evalId
Identifier of the evaluation used to score the selected traces.
evalId: string
Property Value
string
evaluation_level
Level at which each scheduled run evaluates. Required when the evaluation uses the messages item schema.
evaluation_level?: EvaluationLevel
Property Value
source
Trace inputs for each scheduled occurrence. The selected variant's query-window and sampling behavior is preserved.
For azure_ai_traces, set exactly one of agent_id or agent_name; trace_ids is not supported.
For azure_ai_trace_data_source, set trace_source.
Preview source types may appear in responses for existing schedules but are rejected on create and update.
source: TraceEvaluationSource
Property Value
type
The discriminator possible values: continuousEvaluation, humanEvaluationPreview
type: "traceEvaluation"
Property Value
"traceEvaluation"