Data & API settings
Settings › Data & API holds the platform-wide data settings:
- How long data is kept and Archive (see How long data is kept).
- Currencies: your display currency and exchange rates (see Goals, funnels & revenue › Revenue).
- Visitor location: fallbacks when Cloudflare cannot place a visit (see Visitor location).
- API keys: keys for the stats API and for AI assistants over MCP, each with the websites it may read. A key is shown once, when it is made; delete a key to stop it at once (see Developers).
- Trust proxy headers: when your websites sit behind a proxy or load balancer of your own, the visitor’s address is read from
X-Forwarded-For,X-Real-IP,True-Client-IPorForwarded. Turn it on only if you trust that proxy, because anyone can send these headers. A second Cloudflare hop (a website on Cloudflare itself) is recognized by itself. - Database backups: every night at 04:23 UTC the platform’s database is saved to your R2 bucket as gzipped JSON lines; the last 30 are kept. Cloudflare also keeps point-in-time restore for the database: 30 days on Workers Paid, 7 days on the free plan.

Was this helpful?
Thanks for your feedback!
✓ Feedback received. Thank you!



