PHI INPUTS: PROHIBITEDPHASE: 0 — NOT FOR PHIBAA TIER: IN BUILD
Mechanism

ALL MECHANISMS ON THIS PAGE: IN BUILD · NOT LIVE

Policy routing, explained.

This page explains the gateway we are building. Every mechanism below is in build. None of it is running in production, and nothing here is a promise of a date.

Design
The compliance profile lives on the keyIN BUILD

Every API key is created with a compliance profile: which deployment paths it may route to, what retention terms are acceptable, what regions are permitted. The profile is set at key creation, by the account owner, on the server side. Requests inherit it. There is nothing to remember per call and nothing a calling service can quietly widen.

Client assertions can only strengthenIN BUILD

A request may add restrictions on top of its key's profile. It may never loosen them. If a header asks for something the key's profile forbids, the request is rejected. The strictest layer always wins.

Fail closed, before inferenceIN BUILD

Policy checks run before any tokens reach a model. If the gateway cannot affirmatively resolve a route that satisfies the request's policy, the request fails. It is not routed to a default, and it is not queued for retry against a looser path. An unresolvable request is a rejected request.

Deterministic error taxonomyIN BUILD

Every rejection returns a fixed, documented error code stating which check failed. The same request against the same policy fails the same way every time. You can write tests against our refusals.

Metadata-only loggingIN BUILD

The gateway's own logs are designed to record routing metadata: timestamps, key ID, model route, policy decision, token counts, error codes. Not prompt bodies. Not completions. The logging boundary is a design commitment we intend to pin with tests before the endpoint goes live.

Emergency-related contentIN BUILD

The gateway will include a narrow, deterministic reject for a defined class of emergency-related inputs. It returns a fixed error code before inference. That is the whole mechanism. It is a refusal, not a safety feature: PHIGate does not detect emergencies, does not triage, does not escalate, and must never be relied on to respond to one.

Boundary

Why prohibit PHI while we build.

Under HHS guidance, a service that creates, receives, maintains, or transmits protected health information on behalf of a covered entity or business associate is itself a business associate, regardless of contracts, and a routing-and-logging gateway does not qualify for the transmission-only conduit exception. HHS OCR cloud guidance · 2026-07-16 That is why Phase 0 prohibits PHI outright: the prohibition is a legal load-bearing wall, not a disclaimer.

The BAA tier is in build and opens only when the agreements and controls that make it lawful exist. Until it exists, keeping PHI out is the only correct behavior.