View as Markdown

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

NamespaceWhat it doesMethods
ProvenanceThe client: create it with your key, then call the free verify on it.4
prov.identifyIdentify: the hosted check, decisions, settings and (agent side) signing keys.14
prov.identify.policiesA 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_suggestionsRule drafts made from the account's own orders (authorize.policies.rule_suggestions) or traffic (identify.policies.rule_suggestions).5
prov.authorize.verificationsclient.authorize.verifications.4
prov.authorize.assessmentsclient.authorize.assessments.6
prov.authorize.policiesA 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_ordersauthorize.store_orders: outcomes on orders your connected store sent.1
prov.authorize.checkout_approvalsCart approvals, for stores: the server-side form of approval_challenge.11
prov.authorize.networkNetwork mandates: one permission a person gives your agent, honoured at any store.13
prov.authorize.chargebacksclient.authorize.chargebacks.6
prov.authorize.issuerclient.authorize.issuer.2
prov.authorize.issuer.programsThe authorize.issuer.programs methods.7
prov.authorize.issuer.decisionsThe authorize.issuer.decisions methods.4
prov.authorize.issuer.card_limitsThe authorize.issuer.card_limits methods.4
prov.authorize.issuer.merchantsThe authorize.issuer.merchants methods.3
prov.authorize.issuer.agent_merchantsThe authorize.issuer.agent_merchants methods.3
prov.authorize.issuer.approvalsThe authorize.issuer.approvals methods.4
prov.authorize.discoveryBusiness discovery (keyless routes; the key is ignored).3
prov.authorize.callsclient.authorize.calls: the answering side.6
prov.authorize.policies.rule_suggestionsRule drafts made from the account's own orders (authorize.policies.rule_suggestions) or traffic (identify.policies.rule_suggestions).5
prov.attest.attestationsclient.attest.attestations: submit an attested capture.1
prov.attest.verificationsclient.attest.verifications: verify an attestation.1
prov.attest.claimsclient.attest.claims.8
prov.attest.devicesThe attest.devices methods.4
prov.attest.mediaThe attest.media methods.1
prov.attest.capture_requestsCapture requests: a branded link for photos, selfies and ID photos taken live.12
prov.attest.risk_policiesA 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_policiesA 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.intentsclient.mandate.intents: mint an intent token, and read one back.4
prov.mandate.assessmentsclient.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.revocationsclient.mandate.revocations: revoke a token, a session or a device (idempotent).1
prov.mandate.grantsThe mandate.grants methods.30
prov.mandate.runsAgent-team runs.5
prov.mandate.approvalsThe mandate.approvals methods.7
prov.mandate.device_enrolmentsThe mandate.device_enrolments methods.4
prov.mandate.approversApprover links.5
prov.mandate.agreementsTwo-sided verification: the completion receipt (the full agreement surface is in the TypeScript SDK).2
prov.mandate.policiesThe mandate.policies methods.9
prov.mandate.networkNetwork mandates: one permission a person gives your agent, honoured at any store.13
prov.mandate.takeoverAgent takeover protection: each agent's verdict, the settings and suspected takeovers.4
prov.mandate.callsclient.mandate.calls: the caller side.3
prov.mandate.call_numbersclient.mandate.call_numbers: the numbers you call from and the lines you answer on.5
prov.traceTrace.7
prov.trace.registryThe public neuron registry (keyless on the wire; masked members never listed).5
prov.trace.registry_buildsAccount-private registry builds (Enterprise).3
prov.trace.diffsNeuron-CI registry diffs (Enterprise, metered trace_diff).3
prov.trace.disclosureNeuron disclosure grants, owner side.7
prov.trace.canary_setsAccount canary sets (Growth+).5
prov.trace.canary_familiesCanary concept cards.2
prov.trace.tripsThe canary trip log, human review and the opt-in AI summary.4
prov.trace.worker_keysRegister the PUBLIC half of your sidecar's ES256 key (Enterprise).3
prov.trace.readingsThe trace.readings methods.1
prov.trace.labelsS10: neuron labels.3
prov.trace.chat.completionsThe trace.chat.completions methods.1
prov.trace.tracesThe trace.traces methods.5
prov.trace.sharesThe trace.shares methods.3
prov.trace.session_locksCanary-locked agent sessions.3
prov.trace.assessmentsThe trace.assessments methods.6
prov.trace.baselinesLearned canary baselines for relative policy ops (z_gt / pct_gt) and relative relative Trace rule thresholds (z_gt / pct_gt).5
prov.trace.probesPart C, predictive preflight probes (curated + your own).4
prov.trace.promptsPrompt history: every prompt the account has run, grouped by prompt_key across model versions.4
prov.trace.inferencesA run's activation profile, masked through the one chokepoint.2
prov.trace.eval_suitesNamed, versioned prompt sets.6
prov.trace.eval_runsThe trace.eval_runs methods.3
prov.trace.patternsSaved filters over a run's neurons and readings, plus the curated library (read-only).7
prov.accountThe account methods.52
prov.webhooksThe webhooks methods.7
prov.embedMint embed sessions and hosted page links from your server, with a secret key.2
prov.approval_contextsclient.approval_contexts.1