View as Markdown

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() -> Any

set

prov.attest.capture_policies.set(document: dict, note: Optional[str] = …) -> Any

reset

prov.attest.capture_policies.reset() -> Any

list_versions

prov.attest.capture_policies.list_versions(draft_group: Optional[str] = …) -> Any

get_version

prov.attest.capture_policies.get_version(version: int) -> Any

simulate

prov.attest.capture_policies.simulate(facts: dict, document: Optional[dict] = …, order: Optional[dict] = …) -> Any

A 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] = …) -> Any

Replay 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] = …) -> Any

S5: 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] = …) -> Any

S5: make a saved version live now, or run it as a trial first (trial_days).

Was this page helpful? Send us feedback

LLM? Read llms.txt.