SDK reference · Python SDK

Provenance

Provenance in the Python SDK: 4 methods. The client: create it with your key, then call the free verify on it.

Methods

verify

prov.verify(token: Optional[str] = …, receipt: Optional[str] = …, expected: Optional[dict] = …, surface: Optional[str] = …) -> Any

The free, keyless POST /v1/verify of any intent token, grant token or receipt.

check_call_code

prov.check_call_code(to: str, code: str) -> Any

The free, keyless short-code check (POST /v1/public/call_codes/check): the minimal verdict.

environment

prov.environment() -> str

base_url

prov.base_url() -> str

Was this page helpful? Send us feedback

LLM? Read llms.txt.