View as Markdown

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

NamespaceWhat it doesMethods
ProvenanceThe client: create it with your key, then call the free verify on it.2
prov.identifyThe identify methods.13
prov.identify.policiesA policy document at its product's own path: attest.riskPolicies (claims_risk), identify.policies (traffic), authorize.clinicalOrderPolicies and attest.capturePolicies.9
prov.identify.policies.ruleSuggestionsauthorize.policies.ruleSuggestions (checkout) or identify.policies.ruleSuggestions (traffic).5
prov.authorize.verificationsprovenance.authorize.verifications.4
prov.authorize.assessmentsprovenance.authorize.assessments.6
prov.authorize.policiesA policy document at its product's own path: attest.riskPolicies (claims_risk), identify.policies (traffic), authorize.clinicalOrderPolicies and attest.capturePolicies.9
prov.authorize.policies.ruleSuggestionsauthorize.policies.ruleSuggestions (checkout) or identify.policies.ruleSuggestions (traffic).5
prov.authorize.storeOrdersprovenance.authorize.storeOrders: outcomes on orders your connected store sent.1
prov.authorize.checkoutApprovalsThe authorize.checkoutApprovals methods.11
prov.authorize.networkThe authorize.network methods.13
prov.authorize.chargebacksThe authorize.chargebacks methods.6
prov.authorize.issuerThe authorize.issuer methods.2
prov.authorize.issuer.programsThe authorize.issuer.programs methods.7
prov.authorize.issuer.decisionsThe authorize.issuer.decisions methods.4
prov.authorize.issuer.cardLimitsThe authorize.issuer.cardLimits methods.4
prov.authorize.issuer.merchantsThe authorize.issuer.merchants methods.3
prov.authorize.issuer.agentMerchantsThe authorize.issuer.agentMerchants methods.3
prov.authorize.issuer.approvalsThe authorize.issuer.approvals methods.4
prov.authorize.discoveryThe authorize.discovery methods.3
prov.authorize.callsprovenance.authorize.calls: the answering side.6
prov.attest.attestationsprovenance.attest.attestations: submit an attested capture (POST /v1/attest/attestations).1
prov.attest.verificationsprovenance.attest.verifications: verify an attestation (POST /v1/attest/verifications).1
prov.attest.claimsprovenance.attest.claims: every vertical uses this one resource, and case_type picks the vocabulary.8
prov.attest.casesThe attest.cases methods.5
prov.attest.analyticsThe attest.analytics methods.3
prov.attest.captureSessionsThe attest.captureSessions methods.3
prov.attest.mediaThe attest.media methods.2
prov.attest.devicesThe attest.devices methods.4
prov.attest.captureRequestsThe attest.captureRequests methods.12
prov.attest.riskPoliciesA policy document at its product's own path: attest.riskPolicies (claims_risk), identify.policies (traffic), authorize.clinicalOrderPolicies and attest.capturePolicies.9
prov.attest.capturePoliciesA policy document at its product's own path: attest.riskPolicies (claims_risk), identify.policies (traffic), authorize.clinicalOrderPolicies and attest.capturePolicies.9
prov.mandate.intentsprovenance.mandate.intents: mint intent tokens (POST /v1/mandate/intents) and read one back.4
prov.mandate.assessmentsprovenance.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.revocationsprovenance.mandate.revocations: revoke a token, a session or a device (idempotent).1
prov.mandate.grantsprovenance.mandate.grants.33
prov.mandate.runsThe mandate.runs methods.5
prov.mandate.approvalsThe mandate.approvals methods.7
prov.mandate.deviceEnrolmentsThe mandate.deviceEnrolments methods.4
prov.mandate.approversThe mandate.approvers methods.5
prov.mandate.agentsThe mandate.agents methods.10
prov.mandate.agreementsThe mandate.agreements methods.4
prov.mandate.policiesThe mandate.policies methods.9
prov.mandate.networkThe mandate.network methods.13
prov.mandate.takeoverThe mandate.takeover methods.4
prov.mandate.callsprovenance.mandate.calls: the caller side.3
prov.mandate.callNumbersprovenance.mandate.callNumbers: the numbers you call from and the lines you answer on.5
prov.traceThe trace methods.7
prov.trace.promptsPrompt history, every prompt the account has run, across model versions.4
prov.trace.inferencesActivation profiles of traced inferences (masked through the one chokepoint).2
prov.trace.evalSuitesNamed, versioned prompt sets.6
prov.trace.evalRunsThe trace.evalRuns methods.3
prov.trace.patternsSaved filters over a run's neurons and readings, plus the curated library (read-only).7
prov.trace.registryThe trace.registry methods.5
prov.trace.sessionLocksThe trace.sessionLocks methods.3
prov.trace.assessmentsThe trace.assessments methods.7
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.probesPredictive preflight probes (curated + your own).4
prov.trace.registryBuildsThe trace.registryBuilds methods.4
prov.trace.diffsThe trace.diffs methods.4
prov.trace.disclosureThe trace.disclosure methods.7
prov.trace.canarySetsThe trace.canarySets methods.5
prov.trace.canaryFamiliesCanary concept cards.2
prov.trace.tripsThe trip log, human review and the opt-in AI summary.4
prov.trace.workerKeysThe trace.workerKeys methods.3
prov.trace.readingsThe trace.readings methods.1
prov.trace.labelsThe trace.labels methods.3
prov.trace.chat.completionsThe trace.chat.completions methods.1
prov.trace.tracesThe trace.traces methods.6
prov.trace.sharesThe trace.shares methods.3
prov.accountThe account methods.55
prov.webhooksThe webhooks methods.7
prov.embedThe embed methods.2
prov.approvalContextsThe approvalContexts methods.1