SDK reference · Python SDK
prov.attest.capture_policies
prov.attest.capture_policies in the Python SDK: 9 methods. A policy document at its product's own path, with the domain fixed: attest.risk_policies (claims_risk), identify.policies (traffic), authorize.clinical_order_policies and attest.capture_policies.
Methods
get
prov.attest.capture_policies.get() -> Anyset
prov.attest.capture_policies.set(document: dict, note: Optional[str] = …) -> Anyreset
prov.attest.capture_policies.reset() -> Anylist_versions
prov.attest.capture_policies.list_versions(draft_group: Optional[str] = …) -> Anyget_version
prov.attest.capture_policies.get_version(version: int) -> Anysimulate
prov.attest.capture_policies.simulate(facts: dict, document: Optional[dict] = …, order: Optional[dict] = …) -> AnyA dry run of this domain's draft or active document (nothing is written).
backtest
prov.attest.capture_policies.backtest(document: Optional[dict] = …, days: Optional[int] = …) -> AnyReplay this domain's draft (or active) document over the last days (1 to 30) of the account's own history; Pro plan and above.
create_draft
prov.attest.capture_policies.create_draft(document: dict, note: Optional[str] = …, idempotency_key: Optional[str] = …) -> AnyS5: save a draft version; nothing goes live until publish_version.
publish_version
prov.attest.capture_policies.publish_version(version: int, trial_days: Optional[int] = …, idempotency_key: Optional[str] = …) -> AnyS5: make a saved version live now, or run it as a trial first (trial_days).