Download wafer_AI/docs/serverless/zero-data-retention.md from sangramrout/Chip_Design: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/datasets/sangramrout/Chip_Design/resolve/main/wafer_AI/docs/serverless/zero-data-retention.md
- Command line
-
hf download hf://datasets/sangramrout/Chip_Design/wafer_AI/docs/serverless/zero-data-retention.md
-
curl -L -o zero-data-retention.md https://huggingface.co/datasets/sangramrout/Chip_Design/resolve/main/wafer_AI/docs/serverless/zero-data-retention.md
Documentation Index
Fetch the complete documentation index at: https://docs.wafer.ai/llms.txt Use this file to discover all available pages before exploring further.
Zero Data Retention
Require ZDR on individual Wafer Serverless requests.
Serverless keys do not require Zero Data Retention (ZDR) by default. To require ZDR for a Serverless request, send Wafer-ZDR: required.
curl -sS "https://pass.wafer.ai/v1/chat/completions" \
-H "Authorization: Bearer <YOUR_WAFER_API_KEY>" \
-H "Wafer-ZDR: required" \
-H "Content-Type: application/json" \
-d '{
"model": "GLM-5.1",
"messages": [{"role": "user", "content": "Hello!"}]
}'
If the selected model supports ZDR, Wafer routes the request normally. If the selected model does not support ZDR, Wafer rejects the request before routing it upstream and returns model_zdr_not_supported.
Some GUI harnesses do not expose custom request headers. For those apps, use a harness-specific custom header path when available (for example, Claude Code's ANTHROPIC_CUSTOM_HEADERS) so ZDR can still be enforced per request.