Desvy SPP2 PlatformSemantic Evidence Infrastructure

SDKs

Thin HTTP clients around the Gateway API — never a copy of the engine itself. Python and JavaScript/TypeScript today; the same versioned API contract lets Rust/Java/.NET follow without any API change.

from spp2_sdk import Spp2Client

client = Spp2Client(api_key="sk_live_...")
result = client.verify(
    proposition_subject="our support bot correctly stated the refund window",
    evidence=[{"object_value": "refund window is 30 days", "source": "policy-doc-v3", "verification_status": "verified"}],
)
print(result.commercial_verdict)
import { Spp2Client } from "spp2-sdk";

const client = new Spp2Client({ apiKey: "sk_live_..." });
const result = await client.verify({
  propositionSubject: "our support bot correctly stated the refund window",
  evidence: [{ objectValue: "refund window is 30 days", source: "policy-doc-v3", verificationStatus: "verified" }],
});
console.log(result.commercialVerdict);

Examples use fake data only. See Errors for the typed error shape both SDKs surface.

↑