Rules
List the rules Prelude maintains
Beta. The request and response shapes may still change.
List the Prelude-authored rules every customer shares. These are the shared library a recipe may draw on alongside your own rules: reference one in a recipe by its identifier, give it a weight, and it scores like any other.
A managed rule is opaque, only returned with a description. A managed rule reads only Prelude signals, so it can never reference your own signal.ext. signals, nor the parameters of a recipe you write. Only a managed recipe can give its managed rules parameters, which you then set when you extend it.
GET
List managed rules
Managed rules are Prelude’s own: a shared library every customer can score over and none can edit. Name one in a recipe by its identifier, give it a weight, and it behaves like a rule you wrote.
What you get, and what you don’t
A managed rule is returned with an identifier, a type, and a description. It carries no expression, and a description stands in for the name. The identifier is always disclosed, which is what matters in practice: a rule whose condition you can’t read is still one you can reweight, switch off, or ask us about.What they can read
A managed rule reads Prelude signals only. It can never reference your ownsignal.ext. names or the param. names of a recipe you write - a recipe referencing one that does is refused, because a shared rule bound to one customer’s recipe stops being shared.
The one exception is a managed recipe: its rules may read the parameters it declares, and you set those values when you extend it.
Writing to a managed rule’s identifier is refused with managed_rule_read_only. Reading one through Get a rule answers 404: it exists, but not as something you own.