Primary project ID (legacy field for backwards compatibility)
project_idsstring[]
Project IDs for write operations (used when creating/updating rules)
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.