Skip to content

Data Retention, Residency, and the Decision-Only Advantage

The typed-answer shape removes a category of data risk, not all of it. Zero data retention per surface, the legal set to read, and the controls that remain yours to run.

Published
Category
Jev Guides & Articles
Resources cited
6
Reading time
3 min
Tags#privacy#compliance#legal#retention

Adopting a decision model is easier to defend than adopting a generative one, because the architecture removes a whole category of data risk along with the output tokens. It does not remove all of it. Here is what the legal pages and the API reference establish, and where the remaining work is yours.

What the decision-only shape buys you

A generative model streams text, and that text is generated from your context with no schema. A Jev answer is a probability per option you defined. The model still sees your state, so this is not a privacy claim by itself — but there is no second channel through which your data can be reconstituted, no free-form output to leak, and no embedding of your content into a generated sentence. The attack surface for exfiltration is smaller because there is nothing to exfiltrate into.

Zero data retention is a documented, per-surface fact

The zero-data-retention entry is the relevant commitment, and it is worth verifying per surface rather than assuming. The Cloudflare Workers AI card for the third-party typesafe/jev model lists zero data retention explicitly. If you route through a gateway, the gateway's own retention terms apply in addition, so read both.

TypeSafe publishes the expected set under /legal: terms, a master agreement, a privacy policy, an acceptable-use policy, and a data processing addendum. For a regulated deployment, the DPA is the document to start with, because it is the one that answers the questions your counsel will actually ask.

Residency and self-hosting

Whether you need data to stay in a jurisdiction decides the architecture more than any feature. Two paths avoid sending state to a hosted API at all:

  • The local decision servers answer the same request shape on your own hardware, so the state never leaves your network. The serving locally article lists what still works when the base URL points at a local model.
  • The open reimplementations let you run a decision model you downloaded, which changes the question from "the vendor's retention" to "your own."

Both trade hosted latency and calibration for control. The selection guide is the place to weigh that trade.

The part that is still on you

  • Minimize the state. The best data-protection control is not sending the data. Send the fields a question judges, not the whole record — the same discipline the cost article recommends pays off here twice.
  • Keep PII out of instructions. User text belongs in state; the prompt-injection article explains why this is also a security boundary.
  • Log for audit, not for keeps. Store the state hash, the questions, the answers, and the model version so a decision can be reconstructed without storing raw content indefinitely.
  • Pin the model version. A versioned model makes a decision reproducible; a floating alias does not.

What the decision-only advantage is not

It is not encryption, it is not on-prem by default, and it is not a substitute for a DPA. It is a smaller attack surface and a documented retention posture. Treat it as one control among several rather than the whole compliance story.

Verify retention per surface, use the DPA, minimize the state, and pin the version. The architecture helps; the checklist is still yours to run.

From the Jev directory

The resources behind this article.

The hub for TypeSafe's legal and policy documents, plus the data commitments attached to the API.
Jev Guides & ArticlesDocs#official#docs#privacy
Official
TypeSafe AI, Inc.'s master customer agreement, last updated 23 September 2026. It is the contract for services named in an order.
Jev Guides & ArticlesDocs#official#legal
Official
TypeSafe's privacy policy, last updated 19 November 2025. It covers the website, the playground, and APIs that link to the policy.
Jev Guides & ArticlesDocs#official#legal#privacy
Official
Rules for using TypeSafe services, last updated 23 September 2026. They ban illegal content, rights violations, and phishing or spoofing.
Jev Guides & ArticlesDocs#official#legal
Official
TypeSafe's data processing addendum, last updated 24 April 2026. For customer personal data, the customer is the controller and TypeSafe is the processor.
Jev Guides & ArticlesDocs#official#legal#privacy
Official
Cloudflare Workers AI's model page for typesafe/jev: run the structured evaluation model through an env.AI.run binding or the REST /ai/run endpoint, with typed Noul, Choice, and Score questions and worked examples.
Jev Tools & CLIsDocs#community#cloudflare#integration
Community
Back to all articles

More Jev articles

Most Jev accuracy problems are state problems. What belongs in a state, what is a pre-made judgment to leave out, and why naming the slice you ask about matters more than the wording.
Jev Practices & Patterns#state#design#primitives
Read article
A Noul returns one number and no separate confidence. How to read the value, pin its boundary with criteria, split compound questions, and set a per-action threshold that matches the cost of being wrong.
Jev Practices & Patterns#noul#primitives#confidence
Read article

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai