provider block is omitted. No request option disables this policy. This host always filters the catalog to TEE-capable models, even with tee=false or tee=1; omit the query to get the same catalog. The separate zdr filter accepts only true.
Attested routing restricts a request to an upstream that the gateway verified before sending the
prompt. Verification runs inside the TEE, produces an enforceable channel binding, and fails closed:
if no eligible upstream verifies, the prompt is never forwarded.
Use it when a prompt must not reach a provider whose execution environment you cannot check. The
examples below use a private model; see
List the models you can use to find one.
Two levels of constraint are available:
Require an attested upstream
Add theprovider block to the request. JSON inference routes accept it, including chat,
Messages, Responses, embeddings, legacy completions, image generation, SystemOne, reranking, and
speech synthesis. On multipart audio transcription and image edits, send the same JSON object
in the single X-ACI-Provider header instead. Check
service_capabilities.supported_multipart_constraint_endpoints in the attestation report.
The selected model must have a route for the operation. A gateway capability does not
guarantee model availability.
When verification is required by the request or endpoint policy, a model that passes admission
but has no eligible verified, attested upstream fails with 503 upstream_verification_failed
before the prompt is sent. Failover retries stay inside the attested set, so an unverified upstream
never receives the prompt as a fallback.
Admission can reject a request earlier: a TEE-only endpoint rejects an existing non-TEE model with
404, and routing constraints such as provider.zdr can leave no eligible route (404). An unknown
model returns 404 model_not_found.
On an endpoint where verification is optional, setting "aci_verified": false or omitting it adds
no request-level attestation constraint. A TEE-only endpoint forces verification even when the
client sends false or omits the field. This does not waive validation: combining false with
session pins is still rejected as contradictory.
Requests that send the removed
X-Upstream-Verification header return 400 with type
invalid_request_error and the message X-Upstream-Verification is no longer supported; use provider.aci_verified. Remove the header and use the request-body controls above.Pin a request to one attested channel
aci_verified accepts any upstream that is verified right now. To require one specific attested
channel, pass its session id. This is useful when you have already inspected a session’s evidence
and want subsequent requests to reach that exact channel or fail.
List the sessions that can serve your model. The unfiltered list covers every upstream the gateway
has verified, so filter it: a session belonging to another upstream will never match your request.
Each entry carries a session_id as 64 lowercase hex characters, the verifier that produced
it, its channel binding, and an expires_at timestamp. ?upstream_name= filters the same list by
upstream. See Attested sessions.
The most relevant id is the one that already served you. A verified response’s receipt names the
session that served it, so a client can pin follow-up requests to the channel it just used.
The example id is a snapshot from the public sessions list. Replace it with a current id for your
model before sending the request. Pin a request to one or more of them:
Listing several ids means any one of them may serve the request. If none of them matches a currently
verified channel, the request fails with 412 and no prompt is sent:
412 with the same unavailable pins; inspect current sessions and approve a new set
before changing the request.
aci_session_ids implies aci_verified. Passing session ids together with "aci_verified": false
is rejected as a contradiction rather than resolved in either direction.
List the models you can use
Embedding models have their own catalog, which takes the same parameter: On an endpoint where the catalog filter is optional,tee accepts only true; any other value,
including false, returns 400. Omit the parameter for its full catalog. On a TEE-only endpoint,
the filter is forced: any tee value, or omitting it, returns only private models.
The independent zdr filter accepts only true on either endpoint type; omit it to leave retention
unconstrained. ?zdr=true composes with the endpoint’s TEE filter. TEE-only serving does not imply
zero data retention.
The requested model id, claims.extra.canonical_model_id, and measured --served-model-name may use
different spellings; inspect the mapping under your policy rather than hard-coding a normalization rule.
Request validation
The gateway parses the attestation fields itself and rejects anything it cannot read, rather than treating it as an absent constraint. Invalid entries below return400 with type
invalid_request_error and forward nothing; the table also shows valid controls.
aci_verified and aci_session_ids are read by the gateway and removed before the request reaches
a provider. They compose with the other provider fields, such as
zdr.
What the constraint guarantees
The check runs before any prompt bytes leave the gateway:- The route is classified as an attested provider.
- Verification is required for that route and cannot be waived by a request header.
- Verification returns a verified result and an enforceable channel binding.
- The request is forwarded over the bound channel.
Verify that it held
A completed attested request returnsx-receipt-id. ACI-constrained streams, including all
TEE-only endpoint streams, and E2EE streams are never early-committed. Fetch the receipt after
completion and read its upstream.verified event:
session_id names the channel that served
the request and is the id to pin for follow-up requests. Inspecting "result": "verified" and
"required": true with curl and jq does not verify the receipt signature or the gateway’s
attestation. Verify those and the request and response hashes before accepting the receipt as proof
that the constraint held. See Verify a response.
The request you sent is bound into the same receipt through request.received.body_hash, so you can
prove which constraint you asked for alongside the result you got.
Related
Receipts and Sessions
What a session id identifies and how long it lives.
Channel Binding
How a verified channel is enforced on the wire.
Zero Data Retention
The retention constraint, which composes with this one.
Chat Completions
The full
provider routing block.
