Yes, the rule type “experiment” has been deprecated in the API in favor of a new rule type called “experiment-ref”. This change was introduced in version 2.5 of GrowthBook. The new “experiment-ref” rule type uses a foreign key to an Experiment object (experimentId) instead of defining everything inline as was done previously.
This change was made to streamline the process of managing experiments and their associated rules. The new structure allows for better separation of concerns, where the Experiment object contains all the targeting and rollout information, and the feature rules simply reference these experiments.