SDK reference · Python SDK
prov.identify.policies.rule_suggestions
prov.identify.policies.rule_suggestions in the Python SDK: 5 methods. Rule drafts made from the account's own orders (authorize.policies.rule_suggestions) or traffic (identify.policies.rule_suggestions).
Methods
list
prov.identify.policies.rule_suggestions.list(status: Optional[str] = …, limit: Optional[int] = …, cursor: Optional[str] = …) -> AnyOpen, shadowed and recent (90 days) suggestions, newest first; status filters (open, dismissed, shadowed, published, expired).
get
prov.identify.policies.rule_suggestions.get(suggestion_id: str) -> Anyrefresh
prov.identify.policies.rule_suggestions.refresh() -> AnyRun the drafts now (once a day per product; 429 after).
shadow
prov.identify.policies.rule_suggestions.shadow(suggestion_id: str) -> AnyA draft version (the live rules plus this rule), shadowed on live traffic; shadow_version names it.
dismiss
prov.identify.policies.rule_suggestions.dismiss(suggestion_id: str) -> AnyHide it for 90 days; a draft with the same conditions isn't suggested again meanwhile.