GET /v1/models?zdr=truelists the models a ZDR request can reach.provider: {"zdr": true}in a request body restricts routing for that request.
?zdr=true is one that
provider: {"zdr": true} can route.
Route a request under zero data retention
Add theprovider block to the request. Every inference endpoint accepts it:
/v1/chat/completions, /v1/messages, /v1/responses, /v1/embeddings, and
/v1/completions.
404. This is a fail-closed check: the gateway does not fall back to a
non-ZDR provider, and failover retries stay inside the ZDR set.
Setting "zdr": false, or omitting the field, applies no retention constraint and behaves exactly
as a request with no provider block.
List the models you can use
true is the only accepted value. Any other value, including false, returns 400. Omit the
parameter for the full catalog. Rejecting other values is deliberate: a typo cannot silently return
an unfiltered list that looks filtered.
A model object has no zdr field. The filter is how you read this property, so query the filtered
catalog rather than inspecting individual model objects.
How zero data retention differs from confidential inference
These are different properties and you may need either, or both.
The distinction matters because a TEE constrains execution, not storage. A provider could run a
model inside an enclave and still write request logs to disk. RedPill tracks the two properties
separately for that reason.
Zero data retention is a property of the upstream provider, backed by its contract or published
policy. It is not proven by the attestation report or the receipt, which cover workload identity
and response integrity. Confidential inference is the property the receipt does prove. See
Verify a response.
The gateway’s own retention
The gateway does not store request or response bodies at any point, for ZDR and non-ZDR requests alike. Receipts hold hashes, not content. See Trust boundary. Settingzdr changes which upstream serves the request. It does not change gateway behavior.
Related
List Models
The
zdr query parameter and model object fields.Chat Completions
The
provider routing block.Providers
What each upstream provider attests.
Compliance
How retention maps to GDPR and HIPAA obligations.