Skip to main content
One endpoint, several judgments. Your agent calls POST /decide with a tool call or message. The judge evaluates it across every domain the calling tenant is entitled to and returns one response: a per-domain findings[] array plus a merged top-level verdict. The same wire shape adapts to which domains a tenant’s plan turns on. No new endpoints, no client-side branching when a new domain ships.

The wire shape

Five root fields are always present: The set of domains that ran is derivable from findings directly. Dedupe it — {f["domain"] for f in findings} — because a request with an email and a phone number carries two pii findings.

Per-finding shape

Each Finding carries the per-domain decision and what triggered it:

The safety bundle

Non-EEO safety findings (disclosure, injection, exfil, and any other safety sub-domain) collapse onto the wire under a single safety finding. The granular per-sub-domain detail lives in sub_findings. A deterministic injection or exfil guard fire is attributed here too — domain="safety" with sub_domain injection/exfil and a SAFETY-* rule id (SAFETY-INJECTION-GUARD-01, SAFETY-EXFIL-01) — and lands as enforcement="enforce", so it drives the top-level verdict rather than only reporting for audit:
When the deterministic injection guard and the LLM injection rail both fire, the response carries one safety row, not two that disagree: the enforcing guard. The rail’s audit-only detection is nested in that row’s sub_findings, so you can still see that both fired:
The nested rail finding never changes the verdict — the merge reads only top-level findings. A rail fire in a different family (guard injection, rail exfil) keeps its own row. pii is not bundled — it always appears as a standalone finding alongside the safety bundle, because PII detection is the privacy floor (see PII redaction posture below).

How merging works

The top-level verdict is the most-restrictive value across findings whose enforcement is "enforce". Verdict ordering, lowest to highest restriction:
A single enforcing exclude makes the top-level exclude, regardless of what other domains returned. Unknown verdict strings normalize to route_to_human: a value the merge doesn’t recognize can never resolve to include. A client that reads only the top-level verdict and severity is safe by construction. One domain’s include can never mask another enforcing domain’s exclude.

Enforcement modes

Every finding declares an enforcement mode: Your plan can also put a finding at audit_only — see Tier entitlements.

Tier entitlements

Which domains enforce depends on your plan. PII detection runs on every plan — without the PII entitlement, its findings still report, as audit_only.

PII redaction posture

PII detection is always on — every /decide request is scanned for emails, names, phone numbers, addresses, and structured secrets, regardless of plan. Three consequences follow:
  • Every PII span the engine detects is redacted out of the request before any third-party LLM sees it — with one deliberate exception, ages (below). The judge, the risk screener, and the safety rails all see redacted placeholder text (<EMAIL_1>, <PERSON_1>, …).
  • The wire response never carries the original PII. Text the engine returns — redacted in guardrails mode — carries the placeholder. A PII finding’s evidence_span is a masked preview (j***@example.com, ****6789, sha256:…).
  • De-redaction is yours. The placeholder ↔ original map stays in Tenet’s process memory and is not returned on the wire, and the SDK doesn’t rehydrate placeholders. If you render engine text to users, map placeholders back on your side from the text you sent.
Redaction covers only what is detected, and detection has a scope. The engine scans every string message content plus a fixed set of context fields: recruiter_prompt, resume_text, candidate_text, candidate_content, job_description. Spans found there are redacted out of the messages, out of those same fields, and out of context.tool_input at any nesting depth, structure preserved.PII that appears only outside that set — only inside context.tool_input, only inside context.tool_output, or only under an application-specific context key of your own — is not detected today, and what isn’t detected isn’t redacted. The whole context dict is serialized into the judge prompt, so such a value reaches the provider as written. Put candidate and recruiter prose in the named fields, and keep tool context to the facts that establish the basis for a call.
Placeholders are <TYPE_N>, numbered from 1; repeats of the same text get the same placeholder. A detection that starts or ends inside a word redacts the whole word, so a placeholder never fuses into surrounding text — the engine over-redacts rather than leaving part of a value readable. Two types need a note:
  • Dates are <DATE_N>. A date becomes <DOB_N> only when the text marks it as a birth date (“DOB”, “born”, “date of birth”), so start and graduation dates don’t read to the judge as an age signal.
  • Ages are detected but not substituted. An age still raises a pii finding, but its digits stay in the text the judge reads: age is the protected attribute the EEO judge reasons about, and “Applicants must be 18 or older” is a lawful line the judge can’t grade once the number is gone.
For an entitled tenant, high-severity PII findings — card numbers, SSNs, API keys and other credentials — land as enforce (exclude) and contribute to the top-level merge; lower-severity types such as emails and phone numbers stay audit_only. For a tenant without the entitlement, PII findings land as audit_only — but redaction of detected spans runs regardless: entitlement decides what gates, never what reaches a provider. The privacy floor isn’t optional, within the scope above.

Per-call domain narrowing

By default, /decide runs against the full entitled domain set. To narrow to a subset for a specific call, pass domains on the request body:
Rules:
  • Omitted or null → full entitled set runs (the default — maximum coverage).
  • Provided list → the effective set is entitled ∩ requested. Unknown or unentitled values are dropped without error.
  • Empty list → 422; ask for nothing and you get an error, not a silent no-op.

When to read findings[]

The top-level verdict and severity are the safe default for simple integrations — they carry the merged decision and the merged severity. Read findings[] when you need any of:
  • Per-domain audit logs. Persist each finding’s rule_ids, risk_labels, and evidence_span next to your decision record so a compliance reviewer can see what each detector said, not just the merged verdict.
  • Domain-specific UX. Render a different reviewer prompt for a disclosure finding than for an EEO finding — the merged top-level verdict can’t tell them apart.
  • Visibility into audit-only signals. Track audit-only findings’ severity and rule hits so you can see what the privacy/safety floor catches.
The SDK ships helpers for the common access patterns — findings_by_domain, eeo_finding, enforcing_findings, audit_only_findings, blocked_by_domain(name), evidence_for(name) — so you don’t hand-roll the array walks.
Codes vs. labels. A finding’s rule_ids are engine codes (EEO-AGE-PROXY-01) — the tokens RiskLabelDisplay and topic mappers key on — while risk_labels are human phrases ("age discrimination"). JudgeVerdict.from_cloud_response prefers the codes when promoting to findings[*]["rule_id"], and the JudgeVerdict.finding_labels accessor returns the normalized list. See the read-intent & wire contract.

Latency

Detectors run in parallel where possible. The top-level latency_ms is the end-to-end server time for the whole evaluation, PII detection included — track its distribution on your own traffic rather than relying on a published figure.