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.
Getting started
Quickstart
Five minutes from sign-up to your first PRISM dimensional analysis. Pick a language and follow the steps.
1. Get an API key
Sign in at prism.zi-find.com, head to Settings → API keys, and click Create key. Keys are scoped per-environment (test / live) and rotatable from the same screen.
2. Install the SDK (optional)
SDKs are thin wrappers around the HTTP API. Skip if you'd rather use bare HTTP.
"tk-cmt"># Python
pip install prism-sdk
"tk-cmt"># JavaScript / TypeScript
npm install @prism/sdk3. Make your first call
The Hallucination Guard endpoint is the simplest cold start. Paste any AI-generated text plus your source material and watch the cross-walking work.
Python
class="tk-kw">from prism class="tk-kw">import Prism
prism = Prism(api_key=class="tk-str">"sk_test_...")
result = prism.hallucination_guard.check(
text=class="tk-str">"Per Smith v. Jones, 142 F.3d 891 (9th Cir. 2018), the doctrine applies...",
sources=[class="tk-str">"...intake notes...", class="tk-str">"...exhibit B..."],
domain=class="tk-str">"legal",
)
print(result.flagged_text)
print(result.risk_score)JavaScript
import { Prism } from "@prism/sdk";
const prism = new Prism({ apiKey: process.env.PRISM_API_KEY });
const result = await prism.hallucinationGuard.check({
text: "Per Smith v. Jones, 142 F.3d 891 (9th Cir. 2018), the doctrine applies...",
sources: ["...intake notes...", "...exhibit B..."],
domain: "legal",
});
console.log(result.flagged_text);
console.log(result.risk_score);cURL
curl https://api.prism.dev/v1/hallucination-guard/check \
-H "Authorization: Bearer $PRISM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Per Smith v. Jones, 142 F.3d 891 (9th Cir. 2018)...",
"sources": ["...intake notes...", "...exhibit B..."],
"domain": "legal"
}'4. Read the response
Every endpoint returns JSON. Citation cross-walking returns flagged text plus a structured array:
{
"tk-key">"flagged_text": "Per Smith v. Jones, 142 F.3d 891 (9th Cir. 2018) [verify], the doctrine applies...",
"tk-key">"flags": [
{
"tk-key">"type": "case_citation",
"tk-key">"raw": "Smith v. Jones, 142 F.3d 891 (9th Cir. 2018)",
"tk-key">"in_sources": false
}
],
"tk-key">"risk_score": 0.72,
"tk-key">"domain": "legal"
}5. Wire into your product
Most integrators run their model output through Hallucination Guard before showing it to the user, adding ~150ms to the path and zero false-positive risk because existing [verify] markers are idempotent. See the Hallucination Guard reference for the full surface.