While contractual Zero Data Retention (ZDR) agreements and point-in-time security audits define a provider's data handling obligations, production infrastructure is subject to constant modification. Canary audits introduce an additional detection layer to address this dynamism.
Each canary audit execution involves minting unique URLs that possess no other existence, each being privately mapped to a specific provider, model, and audit run. Prompts containing these URLs are then passed through the standard inference path, with ZDR requested for covered providers, and non-ZDR pairs included as positive controls.
The system monitors for traffic. Since a ZDR provider must not retain, inspect, or crawl prompt content, a canary URL should never receive any request. Any request directed toward a canary URL is logged, identifying the provider, model, and run for subsequent investigation.
These canary audits serve to supplement, not replace, existing contractual ZDR agreements and independent audits.
The introduction of Audited ZDR on AI Gateway addresses the growing use of AI across enterprises, where sensitive data such as source code and customer records are transmitted to inference providers. The verification that no data persists after processing remains publicly unconfirmed.
To qualify for Audited ZDR, an inference provider must engage an independent security firm to test its zero data retention claims against its code, infrastructure, and live traffic, and then publish the resulting report. Baseten, Modal, and Wafer are listed as launch partners who have already commenced these audits.
The reliance solely on contracts and self-attestation for ZDR guarantees is insufficient for organizations handling proprietary code or regulated data, as self-reported commitments do not answer questions regarding debug logs, crash dumps, or support engineer access.
Audited ZDR verifies that customer data—including prompts, completions, and derived data—is never written or retained on durable storage in any system across the serving path for every model, endpoint, feature, and tool handling AI Gateway traffic.
This verification process involves reviewing the provider's serving-path source code and infrastructure configuration, alongside live testing where marked prompts are sent through AI Gateway to search logging, caching, and storage systems for any trace.
Between these independent audits, the ongoing canary monitoring provides a crucial detection mechanism, though it is noted that canary checks cannot detect prompts written to disk and never read, thus complementing, rather than replacing, the formal audits.
This development aligns with a broader industry movement toward formalized, verifiable controls for data handling in AI services, mirroring the accountability applied to payment platforms and cloud infrastructure.
Why it matters
For operators handling sensitive data, contractual ZDR agreements are insufficient assurance against infrastructure changes. This new auditing layer provides verifiable proof that data is not retained, addressing critical security gaps in AI inference pipelines.






