Automation rule evaluators

Get automation rule evaluator by id

Get automation rule by id

get/v1/private/automations/evaluators/{id}

Path parameters

idstring uuid required

Query parameters

project_idstring uuid

Response

Automation Rule resource

idstring uuid
project_idstring uuid

Primary project ID (legacy field for backwards compatibility)

project_namestring

Primary project name (legacy field for backwards compatibility)

namestring required
sampling_ratenumber float

Fraction of production (SDK-logged) items this rule scores, from 0 to 1. Trace rules ignore this value for experiment, playground and optimization traces and score them in full; span and thread rules only ever evaluate SDK-logged data.

enabledboolean
trigger_scope'production' | 'experiment' | 'both'

Controls whether the rule fires on production traces, experiment traces, or both. Defaults to 'production' if omitted.

created_atstring date-time
created_bystring
last_updated_atstring date-time
last_updated_bystring
type'llm_as_judge' | 'user_defined_metric_python' | 'trace_thread_llm_as_judge' | 'trace_thread_user_defined_metric_python' | 'span_llm_as_judge' | 'span_user_defined_metric_python' required
action'evaluator' required

Changes

Changed in 2 of the 58 revisions of this API.11

    • the name response property's minLength was decreased from 1 to 0 for the response status 200

      response-property-min-length-decreased

    • added the optional property trigger_scope to the response with the 200 status

      response-optional-property-added