Skip to main content
POST
promotion. Disables mined flywheel:* rules that fire on decisions without ever being relevant (high noise ratio over a minimum sample); curated policy is flagged for an operator but never auto-disabled. Required scope: write

Request body

DemoteNoisyRequest
boolean
Preview only: report what WOULD be demoted without disabling anything.
number (double)
Minimum noise ratio to qualify (default 0.9) — mostly noise.
integer
Minimum total observations (cited + noise) before a rule is eligible (default 10) — never demote on thin evidence.
integer (int64)
Analytics window in seconds (default 7d, cap 30d).

Response

DemoteNoisyResponse
DemotedRule[]
required
Mined flywheel:* rules disabled (reversible; re-enable via PATCH).
boolean
required
integer
required
Rules that met the threshold (auto + curated).
DemotionCandidate[]
required
Curated/user rules that met the noise threshold but were NOT touched — an operator must review these; the system never auto-disables policy.

Status codes