Skip to content
Back to the app

No-Retention Mode ​

No-Retention Mode is sometimes called zero data retention (ZDR). In this mode the platform keeps no content from your runs once they end. That covers prompts, step inputs, model outputs, chat messages, agent memory and the files you gave the run. What stays is what we need to bill, audit and operate the service: ids, status, timings, token counts, and a SHA-256 digest of each value we removed.

Who turns it on ​

WhereHow
Your organisationAn owner chooses No retention under Run content retention on /workspace/organisation, Billing tab, or calls PUT /api/orgs/{slug}/retention with {"retention":"none"}
A single requestSend the header X-Retention: none. A request can only tighten the policy, never loosen it
An on-premises installationThe default. Set DEFAULT_RETENTION=standard to keep run history; RETENTION_ENFORCED=true stops organisations choosing it
The Private Inference APIAlways on. See Private Inference API

GET /api/orgs/{slug}/retention shows the mode in force and the installation's rules. A change applies to runs started after it. Runs that have already finished are not changed.

What happens to each kind of data ​

DataUnder No-Retention Mode
Execution log and chat historyContent withheld when written; a digest is kept
Agent memory and training examplesNot written at all
The run record: inputs, each step's result, the final result, the graphRemoved 10 minutes after the run ends (NO_RETENTION_DELIVERY_MINUTES), so your screen or API client can collect the result
An approval's proposal textRemoved with the run, once decided. The decision, who made it and when are kept
Files, images and frames given to a runDeleted within 24 hours of upload
Tool-loop checkpointsDeleted within 24 hours
Token usage, audit eventsKept. They never hold run content; audit details are redacted when written
Cached model answersNot written. A model answer is cached only outside No-Retention Mode (backend/services/llmCache.js)
The record that an action you confirmed was performedKept for 30 days: a hash of the arguments, the outcome and timings, no arguments or result
Decision log rows (what was decided at a release, an outbound message, a tool call)Kept, without the input digest. They hold outcomes, rule codes and counts, never content
Your rating of a result (thumbs up or down and an optional reason)The rating is kept; the reason is not written
Business records an agent creates on purpose (a quotation, a shipment, a proposal awaiting a decision)Kept. Creating them is the point of the run; delete them as usual
Workflows, connectors, knowledge-base documents you addKept. You created them

backend/config/noRetentionCoverage.js states this for every collection that holds personal data. A test fails if a new collection is added without a stated behaviour, or if an entry claims a mechanism the code does not have. A second test runs a workflow under this mode with a marker string, then searches every collection for it after the sweep.

What it changes for you ​

  • You cannot replay a finished run, re-download its result, or read its step outputs later.
  • Agents do not remember earlier runs.
  • While a run waits at an approval gate, its content is kept until the run ends. An undecided approval expires after 24 hours by default, or your agent charter's limit.
  • Error messages from failed steps are kept so failures can be diagnosed.

Hosted model providers ​

A step reaches a hosted model only when every routing rule allows it. See Models & GPU. For an organisation in No-Retention Mode there is one more rule: the provider must have agreed in writing to keep nothing (no logs, no abuse-review copies, no training). The operator records that agreement with HOSTED_MODEL_ZDR_AGREEMENT=true. Without it, every step stays on the self-hosted model. That agreement is a contract, not a technical control. The self-hosted model needs neither.

What is still visible to the platform ​

The platform still sees request timing and size, the API key or account, token counts and billing figures, as any service must. While a run is live, its content is in the database so the steps can work on it. If you need content never to reach our infrastructure, run the platform on your own: see Docker Compose Install and Kubernetes Install.

Not offered ​

  • Hardware-isolated inference (confidential computing with remote attestation). Content is protected by access control and encryption, not by a hardware enclave you can verify.
  • Client-side payload encryption before a request reaches the platform.

Served from this deployment. No page view leaves it.