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