Preview docs. Hallucination Guard is the only live endpoint today.

The rest of the API surface ships through the rest of 2026. Join the waitlist to be first in line and shape what we build first.

Resources

SDKs & code samples

Official SDKs are thin HTTP wrappers. No hidden state, no auto-magic. Pick a language or use bare HTTP.

Python

BASH
pip install prism-sdk
PYTHON
class="tk-kw">from prism class="tk-kw">import Prism

prism = Prism(api_key=os.environ[class="tk-str">"PRISM_API_KEY"])

class=class="tk-str">"tk-cmt"># Hallucination Guard
guard = prism.hallucination_guard.check(
    text=ai_output,
    sources=[intake_notes, exhibit_b],
    domain=class="tk-str">"legal",
)

class=class="tk-str">"tk-cmt"># Voice Profile
profile = prism.voice_profile.train(samples=[...])
post = prism.voice_profile.generate(profile_id=profile.profile_id, topic=class="tk-str">"...", format=class="tk-str">"linkedin")

class=class="tk-str">"tk-cmt"># Calculator Engine
schema = prism.calculator_engine.schemas.create(name=class="tk-str">"P&L", lines=[...])
run = prism.calculator_engine.run(schema_id=schema.schema_id, values={...})

class=class="tk-str">"tk-cmt"># Meeting Memory
prism.meeting_memory.ingest(transcript_id=class="tk-str">"...", transcript=class="tk-str">"...", participants=[...])
hits = prism.meeting_memory.query(q=class="tk-str">"every commitment...")

class=class="tk-str">"tk-cmt"># Airbnb Deal Analyzer
verdict = prism.airbnb_deal.analyze(address=class="tk-str">"1234 Main St, Nashville, TN 37210")

JavaScript / TypeScript

BASH
npm install @prism/sdk
TYPESCRIPT
import { Prism } from "@prism/sdk";

const prism = new Prism({ apiKey: process.env.PRISM_API_KEY! });

const guard = await prism.hallucinationGuard.check({
  text: aiOutput,
  sources: [intakeNotes, exhibitB],
  domain: "legal",
});

const profile = await prism.voiceProfile.train({ samples: [...] });
const post = await prism.voiceProfile.generate({
  profile_id: profile.profile_id,
  topic: "...",
  format: "linkedin",
});

const schema = await prism.calculatorEngine.schemas.create({ name: "P&L", lines: [...] });
const run = await prism.calculatorEngine.run({ schema_id: schema.schema_id, values: {...} });

await prism.meetingMemory.ingest({ transcript_id: "...", transcript: "...", participants: [...] });
const hits = await prism.meetingMemory.query({ q: "every commitment..." });

const verdict = await prism.airbnbDeal.analyze({ address: "1234 Main St, Nashville, TN 37210" });

Bare HTTP / cURL

If the SDK doesn't exist for your language, the API is plain HTTPS with bearer auth.

BASH
curl https://api.prism.dev/v1/<endpoint> \
  -H "Authorization: Bearer $PRISM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ ... }'

Versioning

API version is in the URL path: /v1/. Breaking changes ship under a new version path. Within a major version we make additive changes only: new optional request fields, new response fields. Existing fields don't change shape or semantics inside a major version.

SDK source

Both SDKs are open-source: github.com/prism/python-sdk and github.com/prism/js-sdk. Pull requests welcome.