Skip to main content
Zero data retention (ZDR) means the upstream serving route that handles your request does not keep the prompt or completion after returning it. Use it when a prompt carries data you cannot leave on a third party’s disk. Two API surfaces implement ZDR:
  • GET /v1/models?zdr=true lists the models a ZDR request can reach.
  • provider: {"zdr": true} in a request body restricts routing for that request.
The filter shows models with a ZDR provider. The selected provider still needs to support the operation and meet any other request constraints.

Route a request under zero data retention

Use the JSON provider block or, for multipart audio transcription and image edits, send the same object in X-ACI-Provider. See the routing guide for supported routes and the capability advertised by the attestation report.
If no route for that model operates under zero data retention, the request fails before the prompt is sent:
The status is 404. This is a fail-closed check: the gateway does not fall back to a non-ZDR route, and failover retries stay inside the ZDR set. Setting "zdr": false or omitting the field applies no retention constraint. Other routing constraints still apply.

List models you can use

Embedding models have their own catalog, which takes the same parameter:
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.

ZDR is different 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.
Do not infer ZDR from is_tee. Filter with ?zdr=true when you need the retention property, and route with provider: {"zdr": true} when a specific request must stay inside the ZDR set.
Zero data retention is a property of the upstream serving route, 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 proves. See Verify a Response.

Gateway retention

The gateway does not store request or response bodies for ZDR or non-ZDR requests. Receipts hold hashes and verification facts, not content. See Trust Boundary. Setting zdr changes which upstream route serves the request. It does not change gateway behavior.

List Models

The zdr query parameter and model object fields.

Chat Completions

The provider routing block.

Provider Verification

How upstream serving environments are verified.

Compliance and Open Source

How retention maps to compliance requirements.