Zero Data Retention (ZDR) lets your account run Browserbase sessions without persisting session logs, session recordings, or replay artifacts to Browserbase’s managed storage. Combined with Bring Your Own Storage (BYOS), ZDR gives Enterprise customers full control over where every artifact produced by a session lives — including the option for no artifact to leave your environment at all.Documentation Index
Fetch the complete documentation index at: https://docs.browserbase.com/llms.txt
Use this file to discover all available pages before exploring further.
ZDR is available only on Enterprise plans. Contact the Browserbase team to enable account-wide ZDR for your organization.
What ZDR covers
When ZDR is enabled, Browserbase does not persist the following artifacts:| Artifact | Behavior under ZDR |
|---|---|
| Session logs | CDP and console output are not written to Browserbase storage |
| Video recording | No .mp4 is encoded or stored |
| Replay (DOM) | No RRweb replay is captured; the Replay API returns 404 Not Found |
| Live View | Still available in real time — Live View streams the session, it does not store it |
Downloads, uploads, contexts, and extensions are separate artifact types. If you need those stored under your control as well, pair ZDR with BYOS so they’re written to your own S3 buckets.
How to enable ZDR
Account-wide ZDR (recommended for Enterprise)
For organizations that need ZDR as the default for every session, Browserbase configures it at the account level so you don’t have to remember to set flags on every API call.- Contact the Browserbase team and request Zero Data Retention for your account.
- The Browserbase team confirms your Enterprise plan and provisions the ZDR configuration on your organization.
- All new sessions created under your projects start with logging and recording disabled by default. No SDK changes required.
Per-session ZDR
You can also opt individual sessions out of logging and recording by settinglogSession and recordSession to false when you create a session. This works on every plan and is useful for narrowly scoped sensitive workflows even if you haven’t enabled account-wide ZDR.
- Node.js
- Python
- cURL
true. Setting either to false is permanent for that session — you cannot re-enable logging or recording after the session has started.
What changes for your team
- Live View continues to work for real-time debugging of in-flight sessions.
- Session Replay and Recording endpoints return
404 Not Foundfor ZDR sessions — there is no recording to fetch. - Session Logs API returns no entries for ZDR sessions.
- Dashboard still shows session metadata (status, start/end time, region, and duration), but the replay viewer will be empty.
- Support investigations are limited under ZDR — if you open a support ticket, Browserbase will not have logs or replay to reference. Browserbase recommends keeping logs and recording enabled for non-production projects so issues can be reproduced and triaged.
Pairing ZDR with BYOS
ZDR removes Browserbase-managed logs and recordings. BYOS routes the remaining session artifacts — downloads, uploads, contexts, and extensions — into S3 buckets you own. Together they give you a configuration where:- No session logs or recordings exist on Browserbase storage.
- Browserbase writes all other session artifacts directly to your AWS account, under your KMS keys, with your lifecycle policies.
- Browserbase retains only operational metadata (session ID, project, timing, and region) needed to run the platform and bill usage.
Compliance and contracts
ZDR is part of Browserbase’s Enterprise security posture — see Enterprise security for the full picture, including SOC 2 Type II, HIPAA BAA availability, and the Trust Center. If your contract or compliance program requires written confirmation that ZDR is enabled for your account, ask your Browserbase contact — Browserbase can provide attestation as part of your enterprise agreement.FAQ
Does ZDR affect performance?
Does ZDR affect performance?
No. Disabling logs and recording slightly reduces CPU and network overhead inside the session VM, but the difference is not user-visible.
Can I enable ZDR for some projects but not others?
Can I enable ZDR for some projects but not others?
Yes. Account-wide ZDR can be scoped to specific projects when Browserbase provisions it. You can also leave the account default off and set
logSession: false / recordSession: false per-session for the workloads that need it.Is Live View affected by ZDR?
Is Live View affected by ZDR?
No. Live View streams the session in real time without storing it, so it remains fully functional. ZDR only suppresses the persisted replay/recording.
Does ZDR apply to Stagehand sessions?
Does ZDR apply to Stagehand sessions?
Yes. Stagehand creates Browserbase sessions under the hood, so the same
logSession and recordSession settings apply via browserbaseSessionCreateParams. Account-wide ZDR also covers Stagehand-created sessions automatically.What about data sent to my LLM provider?
What about data sent to my LLM provider?
ZDR controls what Browserbase stores. Those providers govern any data you send to third-party LLMs (OpenAI, Anthropic, etc.). Use BYO-LLM to route AI calls through your own keys and provider agreements.
Questions? Contact the Browserbase team to scope ZDR for your account, or request full compliance documentation through the Trust Center.