View as Markdown

SDK reference · Python SDK

prov.authorize.policies.rule_suggestions

prov.authorize.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.authorize.policies.rule_suggestions.list(status: Optional[str] = …, limit: Optional[int] = …, cursor: Optional[str] = …) -> Any

Open, shadowed and recent (90 days) suggestions, newest first; status filters (open, dismissed, shadowed, published, expired).

get

prov.authorize.policies.rule_suggestions.get(suggestion_id: str) -> Any

refresh

prov.authorize.policies.rule_suggestions.refresh() -> Any

Run the drafts now (once a day per product; 429 after).

shadow

prov.authorize.policies.rule_suggestions.shadow(suggestion_id: str) -> Any

A draft version (the live rules plus this rule), shadowed on live traffic; shadow_version names it.

dismiss

prov.authorize.policies.rule_suggestions.dismiss(suggestion_id: str) -> Any

Hide it for 90 days; a draft with the same conditions isn't suggested again meanwhile.

Was this page helpful? Send us feedback

LLM? Read llms.txt.