Primary Reference Extract & Verification Note — Consulted 15 November 2026
Official URL: https://docs.x.ai/developers/faq/security

1. Commercial API No-Training Default vs. 30-Day Safety Log Window:
Unlike consumer chat sessions (which require Private Ghost Mode or explicit data-sharing opt-outs), standard commercial xAI API traffic is excluded from model training by default. However, xAI retains standard API request and response logs for 30 days for safety, abuse detection, and operational debugging.

2. Contracted Enterprise Zero Data Retention (ZDR) & Outbound Search Locks:
Eliminating the 30-day server log retention window requires separately approved and configured xAI Enterprise Zero Data Retention (ZDR) endpoints. In addition, when prompts contain confidential specs or telemetry, teams must disable live Web Search and X Search tools and enforce network egress and API-key scoping controls.
