Skip to main content

Privacy, retention and security

Privacy depends on endpoint, key, mode and model. There is no single “zero data” promise for the whole gateway. This guide summarizes production behavior; contractual review must use the current capability matrix and DPA.

Chat modes​

ModeDeployalo cacheRoute and scope
StandardExact response up to 1 hour for eligible chat, actively purgedGeneral behavior; can use BYOK and other compatible surfaces
AnonymousNo Deployalo cacheHides team identity from upstream; the provider can process content
PrivateNo Deployalo cacheRequires an eligible ZDR route and endpoints without reported safety retention; fails closed if none exists

Private is not end-to-end encryption. It does not mean absolute anonymity, no metadata or removal of upstream legal exceptions. TEE/E2EE is unavailable and legacy endpoints return 404.

A key with minimum_privacy prevents selecting a lower level. Fallback does not silently downgrade privacy.

Restrictions above Standard​

Keys with minimum privacy above Standard are limited to compatible chat, Messages, Responses, models and metadata. They cannot use RAG, OCR, images, embeddings, audio or other surfaces that may retain content. BYOK is also disabled because routing must preserve the selected policy.

What is retained​

SurfaceData and retention
Standard chatTransient processing; full response in eligible exact-match cache for 1h; operational/financial metadata
Anonymous/PrivateNo Deployalo cache; operational/financial metadata
ErrorsCodes/categories, not raw upstream messages on the public surface
RequestsRequest ID, team/key, endpoint, model, tokens, cost, status, latency, IP, timestamp and flags
RAGText/chunks, BGE-M3/1024 vectors, names/hashes and original in R2 where applicable
RAG queryQuestion and names may persist with partial PII masking; masking is not anonymization
Image/audio/embeddings/OCR/rerankTransient payload/response and metadata; Standard only for higher-privacy keys
PlaygroundConversations in browser localStorage; saving the secret is optional and off by default
FinanceReservations, charges, balances and IDs in transactions and the append-only ledger

Content may be processed by subprocessors in the United States or other regions. Homogeneous Mexico/LATAM residency is not promised.

Metadata retention​

Owners/admins can choose under Audit:

  • Until team deletion (NULL, default).
  • 1 to 3650 days for requests, aggregated usage and administrative audit.

Automatic purge runs every 15 minutes. Shortening the period can also delete already-expired activity and is irreversible. Extending it does not restore data.

Deleting a team cascades to its requests, usage, alerts and audit. Global audit without a team and the financial ledger remain. Transactions and ledger have no time-based purge.

Retention settings with demo data

Documents: export and delete​

A key with admin permission on a collection can:

  • Export a ZIP with manifest, sources, chunks, vectors and originals where applicable.
  • Configure collection retention.
  • Delete a source or collection.

Deletion removes R2 objects first and then applies the atomic database change. A 404 for an already-missing object is idempotent; other errors are not reported as success. Export what you need before deleting.

Key and browser security​

  • Deployalo stores SHA-256 hash and prefix; the secret appears once.
  • Use HTTPS and a backend secret manager.
  • Restrict models, IP/CIDR, RPM, privacy and budget.
  • Revoke compromised keys and rotate others if custody was shared.
  • API revocation invalidates the receiving node; other nodes may take up to 2 minutes.
  • Playground history stays in that browser. Export/delete it on shared machines and do not save the secret there.
  • A browser is not an enterprise secret manager.

Guardrails and limitations​

Injection detection uses patterns, normalization and delimiters. Redaction recognizes several Mexican identifiers before upstream according to configuration. These measures do not catch every attack or every piece of personal data.

RAG grounds responses in sources and can reject questions without enough evidence; citations and responses still need validation. medical and cybersecurity are profiles, not certified fine-tunes: medical is general information and cyber is for defense/labs/authorized systems.

Continuity and evidence​

The backend can run two containers behind nginx on the same VPS with health gates. Redis coordination uses encrypted logical snapshots in R2, object retention and isolated restores. This is not multi-host HA or a contractual SLA.

SOC 2, ISO 27001, HIPAA, 24/7 human coverage, multi-region monitoring or 99.9% are not claimed without evidence and a specific contract.

Security/Legal checklist​

  1. Define which content, metadata and financial data you may send.
  2. Select a mode per application; do not use Private as a synonym for E2EE.
  3. Review subprocessors, transfers and exceptions in the DPA.
  4. Configure metadata and collection retention; test export/deletion.
  5. Test least-privilege keys, IPs, guardrails, revocation and caps.
  6. Control Playground localStorage on shared machines.
  7. Do not upload real IDs, clinical records, minors’ data or credentials under a standard evaluation.
  8. Document uncovered requirements: E2EE, residency, certifications, HA or SLA.

For enterprise review use the security page and request the current matrix/DPA at [email protected].