Production

Zero retention (ZDR)

Keep query text out of logs per request, per key, or across the whole organization.

How to enable ZDR

Enable Zero Data Retention per request, per API key, or across your entire organization under Dashboard → Settings.

X-Mackerel-ZDR: true

What is still recorded

Timestamp, key ID, corpus slug, model, HTTP status, result count summary (e.g. "1 governing, 1 overridden"), latency, and cost. The query column is written as NULL.