# Python SDK

provenanceauth-sdk: the API resources for Python 3.10 and later. Every namespace and method.

Package: `provenanceauth-sdk`.

## Namespaces

- [Provenance](https://provenanceauth.com/docs/sdks/python/client.md): The client: create it with your key, then call the free verify on it. (4 methods)
- [prov.identify](https://provenanceauth.com/docs/sdks/python/identify.md): Identify: the hosted check, decisions, settings and (agent side) signing keys. (14 methods)
- [prov.identify.policies](https://provenanceauth.com/docs/sdks/python/identify-policies.md): 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`. (9 methods)
- [prov.identify.policies.rule_suggestions](https://provenanceauth.com/docs/sdks/python/identify-policies-rule-suggestions.md): Rule drafts made from the account's own orders (`authorize.policies.rule_suggestions`) or traffic (`identify.policies.rule_suggestions`). (5 methods)
- [prov.authorize.verifications](https://provenanceauth.com/docs/sdks/python/authorize-verifications.md): `client.authorize.verifications`. (4 methods)
- [prov.authorize.assessments](https://provenanceauth.com/docs/sdks/python/authorize-assessments.md): `client.authorize.assessments`. (6 methods)
- [prov.authorize.policies](https://provenanceauth.com/docs/sdks/python/authorize-policies.md): 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`. (9 methods)
- [prov.authorize.store_orders](https://provenanceauth.com/docs/sdks/python/authorize-store-orders.md): `authorize.store_orders`: outcomes on orders your connected store sent. (1 methods)
- [prov.authorize.checkout_approvals](https://provenanceauth.com/docs/sdks/python/authorize-checkout-approvals.md): Cart approvals, for stores: the server-side form of `approval_challenge`. (11 methods)
- [prov.authorize.network](https://provenanceauth.com/docs/sdks/python/authorize-network.md): Network mandates: one permission a person gives your agent, honoured at any store. (13 methods)
- [prov.authorize.chargebacks](https://provenanceauth.com/docs/sdks/python/authorize-chargebacks.md): `client.authorize.chargebacks`. (6 methods)
- [prov.authorize.issuer](https://provenanceauth.com/docs/sdks/python/authorize-issuer.md): `client.authorize.issuer`. (2 methods)
- [prov.authorize.issuer.programs](https://provenanceauth.com/docs/sdks/python/authorize-issuer-programs.md): The authorize.issuer.programs methods. (7 methods)
- [prov.authorize.issuer.decisions](https://provenanceauth.com/docs/sdks/python/authorize-issuer-decisions.md): The authorize.issuer.decisions methods. (4 methods)
- [prov.authorize.issuer.card_limits](https://provenanceauth.com/docs/sdks/python/authorize-issuer-card-limits.md): The authorize.issuer.card_limits methods. (4 methods)
- [prov.authorize.issuer.merchants](https://provenanceauth.com/docs/sdks/python/authorize-issuer-merchants.md): The authorize.issuer.merchants methods. (3 methods)
- [prov.authorize.issuer.agent_merchants](https://provenanceauth.com/docs/sdks/python/authorize-issuer-agent-merchants.md): The authorize.issuer.agent_merchants methods. (3 methods)
- [prov.authorize.issuer.approvals](https://provenanceauth.com/docs/sdks/python/authorize-issuer-approvals.md): The authorize.issuer.approvals methods. (4 methods)
- [prov.authorize.discovery](https://provenanceauth.com/docs/sdks/python/authorize-discovery.md): Business discovery (keyless routes; the key is ignored). (3 methods)
- [prov.authorize.calls](https://provenanceauth.com/docs/sdks/python/authorize-calls.md): `client.authorize.calls`: the answering side. (6 methods)
- [prov.authorize.policies.rule_suggestions](https://provenanceauth.com/docs/sdks/python/authorize-policies-rule-suggestions.md): Rule drafts made from the account's own orders (`authorize.policies.rule_suggestions`) or traffic (`identify.policies.rule_suggestions`). (5 methods)
- [prov.attest.attestations](https://provenanceauth.com/docs/sdks/python/attest-attestations.md): `client.attest.attestations`: submit an attested capture. (1 methods)
- [prov.attest.verifications](https://provenanceauth.com/docs/sdks/python/attest-verifications.md): `client.attest.verifications`: verify an attestation. (1 methods)
- [prov.attest.claims](https://provenanceauth.com/docs/sdks/python/attest-claims.md): `client.attest.claims`. (8 methods)
- [prov.attest.devices](https://provenanceauth.com/docs/sdks/python/attest-devices.md): The attest.devices methods. (4 methods)
- [prov.attest.media](https://provenanceauth.com/docs/sdks/python/attest-media.md): The attest.media methods. (1 methods)
- [prov.attest.capture_requests](https://provenanceauth.com/docs/sdks/python/attest-capture-requests.md): Capture requests: a branded link for photos, selfies and ID photos taken live. (12 methods)
- [prov.attest.risk_policies](https://provenanceauth.com/docs/sdks/python/attest-risk-policies.md): 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`. (9 methods)
- [prov.attest.capture_policies](https://provenanceauth.com/docs/sdks/python/attest-capture-policies.md): 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`. (9 methods)
- [prov.mandate.intents](https://provenanceauth.com/docs/sdks/python/mandate-intents.md): `client.mandate.intents`: mint an intent token, and read one back. (4 methods)
- [prov.mandate.assessments](https://provenanceauth.com/docs/sdks/python/mandate-assessments.md): `client.mandate.assessments`: the agent builder's check of an intent token (`POST /v1/mandate/assessments`: the policy decision and its ledger row), and the ledger read back (`/v1/mandate/assessments`). (6 methods)
- [prov.mandate.revocations](https://provenanceauth.com/docs/sdks/python/mandate-revocations.md): `client.mandate.revocations`: revoke a token, a session or a device (idempotent). (1 methods)
- [prov.mandate.grants](https://provenanceauth.com/docs/sdks/python/mandate-grants.md): The mandate.grants methods. (30 methods)
- [prov.mandate.runs](https://provenanceauth.com/docs/sdks/python/mandate-runs.md): Agent-team runs. (5 methods)
- [prov.mandate.approvals](https://provenanceauth.com/docs/sdks/python/mandate-approvals.md): The mandate.approvals methods. (7 methods)
- [prov.mandate.device_enrolments](https://provenanceauth.com/docs/sdks/python/mandate-device-enrolments.md): The mandate.device_enrolments methods. (4 methods)
- [prov.mandate.approvers](https://provenanceauth.com/docs/sdks/python/mandate-approvers.md): Approver links. (5 methods)
- [prov.mandate.agreements](https://provenanceauth.com/docs/sdks/python/mandate-agreements.md): Two-sided verification: the completion receipt (the full agreement surface is in the TypeScript SDK). (2 methods)
- [prov.mandate.policies](https://provenanceauth.com/docs/sdks/python/mandate-policies.md): The mandate.policies methods. (9 methods)
- [prov.mandate.network](https://provenanceauth.com/docs/sdks/python/mandate-network.md): Network mandates: one permission a person gives your agent, honoured at any store. (13 methods)
- [prov.mandate.takeover](https://provenanceauth.com/docs/sdks/python/mandate-takeover.md): Agent takeover protection: each agent's verdict, the settings and suspected takeovers. (4 methods)
- [prov.mandate.calls](https://provenanceauth.com/docs/sdks/python/mandate-calls.md): `client.mandate.calls`: the caller side. (3 methods)
- [prov.mandate.call_numbers](https://provenanceauth.com/docs/sdks/python/mandate-call-numbers.md): `client.mandate.call_numbers`: the numbers you call from and the lines you answer on. (5 methods)
- [prov.trace](https://provenanceauth.com/docs/sdks/python/trace.md): Trace. (7 methods)
- [prov.trace.registry](https://provenanceauth.com/docs/sdks/python/trace-registry.md): The public neuron registry (keyless on the wire; masked members never listed). (5 methods)
- [prov.trace.registry_builds](https://provenanceauth.com/docs/sdks/python/trace-registry-builds.md): Account-private registry builds (Enterprise). (3 methods)
- [prov.trace.diffs](https://provenanceauth.com/docs/sdks/python/trace-diffs.md): Neuron-CI registry diffs (Enterprise, metered trace_diff). (3 methods)
- [prov.trace.disclosure](https://provenanceauth.com/docs/sdks/python/trace-disclosure.md): Neuron disclosure grants, owner side. (7 methods)
- [prov.trace.canary_sets](https://provenanceauth.com/docs/sdks/python/trace-canary-sets.md): Account canary sets (Growth+). (5 methods)
- [prov.trace.canary_families](https://provenanceauth.com/docs/sdks/python/trace-canary-families.md): Canary concept cards. (2 methods)
- [prov.trace.trips](https://provenanceauth.com/docs/sdks/python/trace-trips.md): The canary trip log, human review and the opt-in AI summary. (4 methods)
- [prov.trace.worker_keys](https://provenanceauth.com/docs/sdks/python/trace-worker-keys.md): Register the PUBLIC half of your sidecar's ES256 key (Enterprise). (3 methods)
- [prov.trace.readings](https://provenanceauth.com/docs/sdks/python/trace-readings.md): The trace.readings methods. (1 methods)
- [prov.trace.labels](https://provenanceauth.com/docs/sdks/python/trace-labels.md): S10: neuron labels. (3 methods)
- [prov.trace.chat.completions](https://provenanceauth.com/docs/sdks/python/trace-chat-completions.md): The trace.chat.completions methods. (1 methods)
- [prov.trace.traces](https://provenanceauth.com/docs/sdks/python/trace-traces.md): The trace.traces methods. (5 methods)
- [prov.trace.shares](https://provenanceauth.com/docs/sdks/python/trace-shares.md): The trace.shares methods. (3 methods)
- [prov.trace.session_locks](https://provenanceauth.com/docs/sdks/python/trace-session-locks.md): Canary-locked agent sessions. (3 methods)
- [prov.trace.assessments](https://provenanceauth.com/docs/sdks/python/trace-assessments.md): The trace.assessments methods. (6 methods)
- [prov.trace.baselines](https://provenanceauth.com/docs/sdks/python/trace-baselines.md): Learned canary baselines for relative policy ops (z_gt / pct_gt) and relative relative Trace rule thresholds (`z_gt` / `pct_gt`). (5 methods)
- [prov.trace.probes](https://provenanceauth.com/docs/sdks/python/trace-probes.md): Part C, predictive preflight probes (curated + your own). (4 methods)
- [prov.trace.prompts](https://provenanceauth.com/docs/sdks/python/trace-prompts.md): Prompt history: every prompt the account has run, grouped by `prompt_key` across model versions. (4 methods)
- [prov.trace.inferences](https://provenanceauth.com/docs/sdks/python/trace-inferences.md): A run's activation profile, masked through the one chokepoint. (2 methods)
- [prov.trace.eval_suites](https://provenanceauth.com/docs/sdks/python/trace-eval-suites.md): Named, versioned prompt sets. (6 methods)
- [prov.trace.eval_runs](https://provenanceauth.com/docs/sdks/python/trace-eval-runs.md): The trace.eval_runs methods. (3 methods)
- [prov.trace.patterns](https://provenanceauth.com/docs/sdks/python/trace-patterns.md): Saved filters over a run's neurons and readings, plus the curated library (read-only). (7 methods)
- [prov.account](https://provenanceauth.com/docs/sdks/python/account.md): The account methods. (52 methods)
- [prov.webhooks](https://provenanceauth.com/docs/sdks/python/webhooks.md): The webhooks methods. (7 methods)
- [prov.embed](https://provenanceauth.com/docs/sdks/python/embed.md): Mint embed sessions and hosted page links from your server, with a secret key. (2 methods)
- [prov.approval_contexts](https://provenanceauth.com/docs/sdks/python/approval-contexts.md): `client.approval_contexts`. (1 methods)
