# Rules in the API To apply a [rule](/en/transactional/rules/) during an analysis via API, provide its name in the `analyze.rule.name` field of the request. The rule must have an **active** published version to be executed. ## When the rule is not applied In the scenarios below, the platform uses the [default analysis configuration](/en/transactional/analysis/) instead of the rule: - Rule name blank or non-existent. - Existing rule, but without an active published version. - Error while processing the rule. In all these cases, the analysis proceeds normally — only the rule's custom recommendation is not applied.