SDK reference · Node SDK
Node SDK
@provenanceauth/sdk: every API resource as a typed method, for Node 18 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. | 2 |
prov.identify | The identify methods. | 13 |
prov.identify.policies | A policy document at its product's own path: attest.riskPolicies (claims_risk), identify.policies (traffic), authorize.clinicalOrderPolicies and attest.capturePolicies. | 9 |
prov.identify.policies.ruleSuggestions | authorize.policies.ruleSuggestions (checkout) or identify.policies.ruleSuggestions (traffic). | 5 |
prov.authorize.verifications | provenance.authorize.verifications. | 4 |
prov.authorize.assessments | provenance.authorize.assessments. | 6 |
prov.authorize.policies | A policy document at its product's own path: attest.riskPolicies (claims_risk), identify.policies (traffic), authorize.clinicalOrderPolicies and attest.capturePolicies. | 9 |
prov.authorize.policies.ruleSuggestions | authorize.policies.ruleSuggestions (checkout) or identify.policies.ruleSuggestions (traffic). | 5 |
prov.authorize.storeOrders | provenance.authorize.storeOrders: outcomes on orders your connected store sent. | 1 |
prov.authorize.checkoutApprovals | The authorize.checkoutApprovals methods. | 11 |
prov.authorize.network | The authorize.network methods. | 13 |
prov.authorize.chargebacks | The authorize.chargebacks methods. | 6 |
prov.authorize.issuer | The authorize.issuer methods. | 2 |
prov.authorize.issuer.programs | The authorize.issuer.programs methods. | 7 |
prov.authorize.issuer.decisions | The authorize.issuer.decisions methods. | 4 |
prov.authorize.issuer.cardLimits | The authorize.issuer.cardLimits methods. | 4 |
prov.authorize.issuer.merchants | The authorize.issuer.merchants methods. | 3 |
prov.authorize.issuer.agentMerchants | The authorize.issuer.agentMerchants methods. | 3 |
prov.authorize.issuer.approvals | The authorize.issuer.approvals methods. | 4 |
prov.authorize.discovery | The authorize.discovery methods. | 3 |
prov.authorize.calls | provenance.authorize.calls: the answering side. | 6 |
prov.attest.attestations | provenance.attest.attestations: submit an attested capture (POST /v1/attest/attestations). | 1 |
prov.attest.verifications | provenance.attest.verifications: verify an attestation (POST /v1/attest/verifications). | 1 |
prov.attest.claims | provenance.attest.claims: every vertical uses this one resource, and case_type picks the vocabulary. | 8 |
prov.attest.cases | The attest.cases methods. | 5 |
prov.attest.analytics | The attest.analytics methods. | 3 |
prov.attest.captureSessions | The attest.captureSessions methods. | 3 |
prov.attest.media | The attest.media methods. | 2 |
prov.attest.devices | The attest.devices methods. | 4 |
prov.attest.captureRequests | The attest.captureRequests methods. | 12 |
prov.attest.riskPolicies | A policy document at its product's own path: attest.riskPolicies (claims_risk), identify.policies (traffic), authorize.clinicalOrderPolicies and attest.capturePolicies. | 9 |
prov.attest.capturePolicies | A policy document at its product's own path: attest.riskPolicies (claims_risk), identify.policies (traffic), authorize.clinicalOrderPolicies and attest.capturePolicies. | 9 |
prov.mandate.intents | provenance.mandate.intents: mint intent tokens (POST /v1/mandate/intents) and read one back. | 4 |
prov.mandate.assessments | provenance.mandate.assessments: the agent builder's runtime check of an intent token (POST /v1/mandate/assessments: the policy decision and its ledger row, what gate relies on), and the ledger read back (/v1/mandate/assessments). | 6 |
prov.mandate.revocations | provenance.mandate.revocations: revoke a token, a session or a device (idempotent). | 1 |
prov.mandate.grants | provenance.mandate.grants. | 33 |
prov.mandate.runs | The mandate.runs methods. | 5 |
prov.mandate.approvals | The mandate.approvals methods. | 7 |
prov.mandate.deviceEnrolments | The mandate.deviceEnrolments methods. | 4 |
prov.mandate.approvers | The mandate.approvers methods. | 5 |
prov.mandate.agents | The mandate.agents methods. | 10 |
prov.mandate.agreements | The mandate.agreements methods. | 4 |
prov.mandate.policies | The mandate.policies methods. | 9 |
prov.mandate.network | The mandate.network methods. | 13 |
prov.mandate.takeover | The mandate.takeover methods. | 4 |
prov.mandate.calls | provenance.mandate.calls: the caller side. | 3 |
prov.mandate.callNumbers | provenance.mandate.callNumbers: the numbers you call from and the lines you answer on. | 5 |
prov.trace | The trace methods. | 7 |
prov.trace.prompts | Prompt history, every prompt the account has run, across model versions. | 4 |
prov.trace.inferences | Activation profiles of traced inferences (masked through the one chokepoint). | 2 |
prov.trace.evalSuites | Named, versioned prompt sets. | 6 |
prov.trace.evalRuns | The trace.evalRuns methods. | 3 |
prov.trace.patterns | Saved filters over a run's neurons and readings, plus the curated library (read-only). | 7 |
prov.trace.registry | The trace.registry methods. | 5 |
prov.trace.sessionLocks | The trace.sessionLocks methods. | 3 |
prov.trace.assessments | The trace.assessments methods. | 7 |
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 | Predictive preflight probes (curated + your own). | 4 |
prov.trace.registryBuilds | The trace.registryBuilds methods. | 4 |
prov.trace.diffs | The trace.diffs methods. | 4 |
prov.trace.disclosure | The trace.disclosure methods. | 7 |
prov.trace.canarySets | The trace.canarySets methods. | 5 |
prov.trace.canaryFamilies | Canary concept cards. | 2 |
prov.trace.trips | The trip log, human review and the opt-in AI summary. | 4 |
prov.trace.workerKeys | The trace.workerKeys methods. | 3 |
prov.trace.readings | The trace.readings methods. | 1 |
prov.trace.labels | The trace.labels methods. | 3 |
prov.trace.chat.completions | The trace.chat.completions methods. | 1 |
prov.trace.traces | The trace.traces methods. | 6 |
prov.trace.shares | The trace.shares methods. | 3 |
prov.account | The account methods. | 55 |
prov.webhooks | The webhooks methods. | 7 |
prov.embed | The embed methods. | 2 |
prov.approvalContexts | The approvalContexts methods. | 1 |