Brume · Docs
Compliance & GDPR

Retention and deletion

This page links the data in your instance to its storage, retention setting, and the mechanism that completes deletion.

In brief

Your organization sets periods, configures purges, and retains evidence of execution. Deletion covers the active database, object storage, backups, logs, and copies held by the providers you enabled.

Who it's for, and when. Whoever settles the retention periods and has to prove a deletion reached everywhere. When writing the retention policy, then at every review.

This page isn't for you if you are handling a single erasure request: the actual step is in Rights of people. This page sets the periods that apply to everyone.

Identify every retention location

CategoryLocation in your deploymentRetention setting
Accounts, members, workspaces, conversations, messages, and configurationPostgreSQL designated by DATABASE_URLPeriod defined by your policy and application procedures
Conversation events in conv_eventsPostgreSQLThe conv_events_purge(older_than_days) function purges old events from completed conversations; it accepts your threshold and your operations team schedules it
Vectors and document metadataPostgreSQLLifecycle and deletion of the associated files and document data
Uploads and processed filesMain S3-compatible storageLifecycle and deletion applied to the selected endpoint and bucket
BYOK keys, routes, and connector secretsPostgreSQL; secrets are encryptedWhile the corresponding configuration remains in the database; removal through the relevant UI or API
Functional cookiesBrowserPeriods described in Cookies and trackers
Runtime logsYour deployment's logging system; copied to PostHog when its token is configuredPlatform rotation and retention in the enabled PostHog project
EE audit eventsPostgreSQL; optional copies to S3 or SIEMaudit_retention_policy.retention_months, initialized to 12 months; an active legal hold suspends the relevant purge

The EE purge of detailed audit events retains the registries, receipts, segments, chain heads, and anchors that provide evidence for expired periods.

Document deletion across every layer

LayerAction to configureEvidence to retain
Active databaseRun application deletion and verify related recordsQuery result or functional check
Object storageVerify object deletion and lifecycle rulesBucket inventory and operation log
Replay eventsSchedule conv_events_purge() with the selected thresholdScheduled run and number of purged rows
BackupsWait for the configured window to expire and govern interim restoresDeployed value and restore test
EE auditApply the monthly policy and identify legal holdsRetention report and list of holds
External servicesUse the provider's erasure procedure for data already receivedProvider ticket, export, or confirmation

The EE Helm chart ships with pg.backup.retentionPolicy: "30d". The value applied to your cluster, platform snapshots, and any additional copy determine the actual period; record each one separately.

Record the policy of enabled providers

Cutting off a flow stops future transmissions. Data already transmitted remains subject to the policy, project, and contract that your organization holds with the provider.

FamilyProviders or destinations to checkData involved
Models and embeddingsAnthropic, OpenAI, Mistral, DeepSeek, xAI, Moonshot AI, Google Gemini, an OpenAI-compatible provider, or a configured gatewayGeneration requests, indexed segments, and semantic queries
TranscriptionAssemblyAI and GladiaAudio or video attachments
Search, connectors, and sandboxSerper, the fetch_url destination, Composio, Daytona, and Yourtext.GuruQueries, pages, connector actions, and sandbox operations
Communications and observabilitySMTP or Resend, PostHog, and ntfyEmails, events, LLM traces, logs, and alerts
EE servicesRFC 3161 authorities, SIEM destinations, OIDC provider, Stripe, and LagoAudit evidence, authentication, and billing

See Your instance's external services for activation conditions and Transfers outside the EU for zones. Then link the selected period to your Data subject rights procedure.

On this page