Skip to main content
Every Wafer Serverless request uses Zero Data Retention (ZDR) by default, with no header required.

Default ZDR

You don’t need a header or an account setting to get ZDR, and no setting turns it off. A standard request is a ZDR request:

The Wafer-ZDR header

Earlier integrations sent this header to require ZDR:
The header is no longer needed. It is still accepted for compatibility, and sending it doesn’t change how the request is handled. Any other value, including an empty one, is rejected with HTTP 400 and code invalid_zdr_header. Remove the header or set it to required.

Model support

Wafer serves a model only if it supports ZDR. Its card in GET https://pass.wafer.ai/v1/models advertises zdr_supported: true. A request for a model that doesn’t support ZDR is rejected with HTTP 422 and code model_zdr_not_supported.