---
title: "Privacy, GDPR and cookies"
description: "For a compliance review: the personal data each table and each provider holds and for how long, the subprocessors and where they keep data, export and erasure, consents and cookies, and the legal pages the package fills in. Not legal advice."
canonical_url: "https://nuxt-backend.dev/docs/ship/compliance/privacy"
---
# Privacy, GDPR and cookies

> For a compliance review: the personal data each table and each provider holds and for how long, the subprocessors and where they keep data, export and erasure, consents and cookies, and the legal pages the package fills in. Not legal advice.

Version: nuxt-backend 0.6.x · Tab: Ship · Kind: reference · Status: stable

Every page: [llms.txt](https://nuxt-backend.dev/llms.txt) · Skill for coding agents: [nuxt-backend](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/SKILL.md)

Commands use npm; use your project's package manager.

- [Source](https://github.com/qruto/nuxt-backend/blob/main/src/convex/account-data.ts)

What an app built on the package keeps of a person, where, for how long, and what export and erasure do with it. Use it to write your privacy notice and to answer a compliance review. Every table below is generated from the code: the data inventory, the subprocessors, the data map and the cookies. The package also serves your [legal pages](#legal-pages) from the same facts, asks before any optional storage with a consent manager, and erases a person at every provider in one cascade.

<warning>

**Not legal advice.** The GDPR makes you the controller of your users' data. The package gives you the facts about its own part. Your privacy notice, your legal bases and your agreements with each provider stay yours: have them reviewed.

</warning>

Everything the package keeps of a person is a participant of one registry, `ACCOUNT_DATA_SOURCES` in `nuxt-backend/account`. An account's [export](https://nuxt-backend.dev/docs/build/auth/accounts/data#export-an-accounts-data) reads it, its [erasure](https://nuxt-backend.dev/docs/build/auth/accounts/data#delete-an-account) runs it, and the tables below are generated from it. So a participant added in a release appears here without an edit. Your own tables join through `setupAccount({ sources })`, and belong in your privacy notice beside these.

The consent ledger is the `consents` participant, and the deletion grace period the `deletions` one ([Consents and deletion](#consents-and-deletion)).

## What the backend keeps of a person

<table>
<thead>
  <tr>
    <th>
      Participant
    </th>
    
    <th>
      Where
    </th>
    
    <th>
      Holds
    </th>
    
    <th>
      Found by
    </th>
    
    <th>
      Erasure
    </th>
    
    <th>
      Kept
    </th>
    
    <th>
      Exported
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        workspaces
      </code>
    </td>
    
    <td>
      the backend component: <code>
        organization
      </code>
      
      , <code>
        member
      </code>
      
      , <code>
        invitation
      </code>
    </td>
    
    <td>
      The workspaces an account belongs to, with its role in each, and the invitations it sent or was sent.
    </td>
    
    <td>
      account id, address
    </td>
    
    <td>
      Deleted. Its memberships are removed, and so are its personal workspace and every workspace it was the only member of, with their members, invitations, activity and billing cache. Deleting the only owner of a workspace others belong to is refused until ownership moves.
    </td>
    
    <td>
      As long as the account; an unanswered invitation 30 days past its expiry.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        auth
      </code>
    </td>
    
    <td>
      the backend component: <code>
        user
      </code>
      
      , <code>
        session
      </code>
      
      , <code>
        account
      </code>
      
      , <code>
        passkey
      </code>
      
      , <code>
        twoFactor
      </code>
      
      , <code>
        verification
      </code>
    </td>
    
    <td>
      The account: name, address, language, app role and ban, and whether it finished the first run and dismissed the activation checklist; its sessions with their browser and network address; its passkeys; its authenticator app's secret and backup codes, encrypted under the auth secret; the sign-in and email-change codes waiting for its address, stored as keyed hashes.
    </td>
    
    <td>
      account id, address
    </td>
    
    <td>
      Deleted. The account and everything of its sign-in are removed, codes waiting for its address included.
    </td>
    
    <td>
      As long as the account; a session a day past its expiry, a code an hour past its expiry.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        knownDevices
      </code>
    </td>
    
    <td>
      the backend component: <code>
        knownDevices
      </code>
    </td>
    
    <td>
      The devices the account signed in from, for new-device alerts: a keyed hash of each device's browser, system and network range (never the fingerprint itself), the browser and system names, when it was first and last seen, and whether its first sign-in was alerted.
    </td>
    
    <td>
      account id
    </td>
    
    <td>
      Deleted. Every device of the account is removed.
    </td>
    
    <td>
      A year after the device was last seen.
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        access
      </code>
    </td>
    
    <td>
      the backend component: <code>
        accessAdmissions
      </code>
      
      , <code>
        accessRedemptions
      </code>
      
      , <code>
        accessInvites
      </code>
      
      , <code>
        waitlistEntries
      </code>
      
      , <code>
        waitlistJoins
      </code>
    </td>
    
    <td>
      The invitations by address an administrator made for the address, which ticket admitted the account while the app was closed (the redemption ledger, which names the member whose ticket admitted a friend), the codes and links it made as an administrator, its member tickets (a hash of each link, its uses and its end), and its waitlist entry: the address, its answers, its place, where it came from (the form, followed by the page address's utm_source and utm_campaign, which whoever made the link chose and may carry an identifier) and the state of its launch-news contact (the launch-news consent itself is on the consent ledger).
    </td>
    
    <td>
      account id, address
    </td>
    
    <td>
      Deleted. The invitations by address waiting for it, the record of the ticket that admitted the account, its member tickets (a link it shared stops working) and its waitlist entry (with a join it began and what it gave a friend) are removed; the friends its member tickets admitted keep their ticket record, which names it no more; a code or link it made as an administrator stays, without its maker. Its launch-news contact goes with the email part of the erasure.
    </td>
    
    <td>
      An invitation by address until it is used or revoked; the ticket record as long as the account; a member ticket until 30 days after it ended; a waitlist entry until the person leaves or is erased, and a join whose code never checked a day.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        consents
      </code>
    </td>
    
    <td>
      the backend component: <code>
        consents
      </code>
    </td>
    
    <td>
      The consent ledger: one row for each time the account (or, before it signed up, a hash of its address) agreed to a document or an opt-in, withdrew it, or chose optional storage, with the kind, its version, the time and where it came from.
    </td>
    
    <td>
      account id, address
    </td>
    
    <td>
      Deleted. Every row of the account is removed, and so is every row kept by a hash of its address. An erasure by address removes the rows of that address alone.
    </td>
    
    <td>
      As long as the account; the rows of an address that never signed up until it is erased.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        referrals
      </code>
    </td>
    
    <td>
      the backend component: <code>
        referralCodes
      </code>
      
      , <code>
        referrals
      </code>
      
      , <code>
        referralCounters
      </code>
      
      , <code>
        referralTallies
      </code>
    </td>
    
    <td>
      The account's share code, the referral that brought it (when it claimed one), and the referrals it brought, as states and times: claimed, held, rewarded or voided. Never who the other person is, an order or an amount. The counters hold totals per referrer and month, and the program's by state; the tallies how many referrals and rewards each referrer has.
    </td>
    
    <td>
      account id
    </td>
    
    <td>
      Deleted. The account's codes, the referrals it brought, its own counter and its tally are removed, and the program's totals lose them. The referral that brought it stays its referrer's, without the account, its order or its billing entity: only a digest of its mailbox is left, so the address can't be referred again, and it is voided when it was not rewarded yet. A slot under the caps is given back only for a reward not granted. A waitlist entry's code goes with the entry. The rewards themselves are catalog products at the billing provider, kept under the billing participant.
    </td>
    
    <td>
      As long as the account.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing
      </code>
    </td>
    
    <td>
      the backend component: <code>
        billingEntitlements
      </code>
      
      , <code>
        billingSubscriptionChanges
      </code>
      
      , <code>
        billingDiscountAttempts
      </code>
      
      , <code>
        billingQuotaKeys
      </code>
      
      , <code>
        billingTrials
      </code>
      
      , <code>
        billingDeletions
      </code>
      
      , <code>
        billingSaveOffers
      </code>
      
      , <code>
        billingCommerceCustomers
      </code>
      
      , <code>
        billingCommerceOrders
      </code>
      
      , <code>
        billingCreditGrants
      </code>
    </td>
    
    <td>
      The cached plans, features and credit balances of the account's billing entities, their scheduled plan changes and quota keys, the save offers the cancel flow made them, and the trial the account used. On Stripe, Dodo or Creem also their customer ids at the provider, their paid orders (amounts, tax, currency and refunds, never a card) and the credit grants those orders made.
    </td>
    
    <td>
      account id, billing entity
    </td>
    
    <td>
      Deleted. The cache of every billing entity deleted with the account is removed, and so is the record of its trial. Each entity is marked as deleting first, so no free plan starts for it again.
    </td>
    
    <td>
      As long as the entity; a deletion mark 30 days.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        welcomeCredits
      </code>
    </td>
    
    <td>
      the backend component: <code>
        billingWelcomes
      </code>
    </td>
    
    <td>
      A digest (SHA-256) of the address welcome credits went to, its local part without tags and dots, and the billing entity that got them: never the address.
    </td>
    
    <td>
      billing entity
    </td>
    
    <td>
      Pseudonymized. The digest stays, without the entity: it keeps welcome credits to once per person, so signing up again does not get them twice (fraud prevention, the app's legitimate interest). It names no address, but anyone who knows an address can compute its digest, so it is still pseudonymous personal data.
    </td>
    
    <td>
      No expiry: it stays through an erasure, and after the app stops granting welcome credits, so they stay once per person.
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billingProofs
      </code>
    </td>
    
    <td>
      the backend component: <code>
        billingRenewalConsents
      </code>
      
      , <code>
        billingWithdrawals
      </code>
    </td>
    
    <td>
      Proof of the consent to a renewing subscription (the plan, the price and interval shown, the terms version, when and by whom) and of each EU withdrawal: when and by whom.
    </td>
    
    <td>
      account id, billing entity
    </td>
    
    <td>
      Pseudonymized. California's automatic renewal law asks a seller to keep the consent proof three years, and a withdrawal is a record of the contract: both stay, the account's id and the billing entities deleted with it replaced by the pseudonym.
    </td>
    
    <td>
      Three years; a checkout's proof that started no subscription two days.
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        gifts
      </code>
    </td>
    
    <td>
      the backend component: <code>
        billingGifts
      </code>
    </td>
    
    <td>
      The gifts the account bought, with the address it sent each to and its message, and the gifts sent to its address.
    </td>
    
    <td>
      account id, address
    </td>
    
    <td>
      Pseudonymized. A gift is a record of a payment, so it stays: the purchaser's or the recipient's id and address become a pseudonym, and the purchaser's name and the message go.
    </td>
    
    <td>
      As long as the purchase is on the books.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billingCustomer
      </code>
    </td>
    
    <td>
      the billing provider customer
    </td>
    
    <td>
      The provider customer of each billing entity: its name, the owner's address, its members, payment method, orders and invoices.
    </td>
    
    <td>
      billing entity, account id
    </td>
    
    <td>
      Deleted and anonymized at the provider. The customer of each entity deleted with the account is deleted and anonymized at the provider, which keeps its orders for its books; in a workspace the account leaves, only its member is removed.
    </td>
    
    <td>
      The provider's own, for its tax and accounting duties.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billingSync
      </code>
    </td>
    
    <td>
      the billing component the app mounts: <code>
        customers
      </code>
      
      , <code>
        subscriptions
      </code>
    </td>
    
    <td>
      The provider's customers and subscriptions as the billing component the app mounts syncs them: each billing entity's id beside its provider customer's, and each subscription's plan, price, dates and status, with the reason and comment of a cancellation.
    </td>
    
    <td>
      billing entity
    </td>
    
    <td>
      Kept. Not erased yet: that component has no way to delete a customer or its subscriptions, which the package asked for upstream. What stays names the billing entity's id and its deleted provider customer's, never an address or a name; a cancellation keeps the reason and comment the customer gave.
    </td>
    
    <td>
      Until that component can delete them.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        rateLimits
      </code>
    </td>
    
    <td>
      the backend component: <code>
        rateLimit
      </code>
    </td>
    
    <td>
      Better Auth's own limiter, off unless an app turns it on: a counter per route and network address.
    </td>
    
    <td>
      none
    </td>
    
    <td>
      Expires on its own. Not erased one by one: it names an address on the network, never an account, and a day without requests deletes it.
    </td>
    
    <td>
      A day after its last request.
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        aiRequests
      </code>
    </td>
    
    <td>
      the backend component: <code>
        aiRequests
      </code>
    </td>
    
    <td>
      The arguments of a metered AI stream the account started, while it runs.
    </td>
    
    <td>
      account id
    </td>
    
    <td>
      Deleted. Every request of the account is removed.
    </td>
    
    <td>
      A day after it settles; a week if it never does.
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        jobs
      </code>
    </td>
    
    <td>
      the backend component: <code>
        jobs
      </code>
      
      , <code>
        jobBudgets
      </code>
      
      , <code>
        guestTries
      </code>
    </td>
    
    <td>
      The generation jobs an account or its workspace queued (the job's arguments, who started it, its progress, result and cost), the budget each owner used per window, and how many guest tries the browser the account signed up in used, by its visitor cookie's id.
    </td>
    
    <td>
      account id, billing entity
    </td>
    
    <td>
      Deleted. Every job and budget window of a workspace deleted with the account is removed; a job it started for a workspace that stays keeps its place, its starter the pseudonym. The guest tries of the browser it signed up in are removed.
    </td>
    
    <td>
      Thirty days after a job ends, dead letters included; a budget window until its owner is erased; a browser's guest tries a year after its last, as long as the visitor cookie lasts.
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        aiCosts
      </code>
    </td>
    
    <td>
      the backend component: <code>
        aiCosts
      </code>
    </td>
    
    <td>
      What each person's AI calls cost a day: the job queue's, metered actions, streams, chat replies and knowledge embeddings, in US dollars and tokens, with the billing entity that paid.
    </td>
    
    <td>
      account id, billing entity
    </td>
    
    <td>
      Pseudonymized. The day's costs of the account, and of the workspaces deleted with it, stay in the totals under the pseudonym, and so does the entity that paid when it goes too.
    </td>
    
    <td>
      90 days after the day.
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        aiThreads
      </code>
    </td>
    
    <td>
      the backend component: <code>
        aiThreads
      </code>
    </td>
    
    <td>
      The chat threads an account started (<code>
        ai.chat
      </code>
      
      ): which chat and workspace each belongs to, its title and when it last changed. The messages live in the app's Agent component.
    </td>
    
    <td>
      account id, billing entity
    </td>
    
    <td>
      Deleted. Every thread of the account, and every thread kept in a workspace deleted with it, goes with its messages.
    </td>
    
    <td>
      Until the person deletes the thread, or the account or the workspace goes.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        aiDocuments
      </code>
    </td>
    
    <td>
      the backend component: <code>
        aiDocuments
      </code>
    </td>
    
    <td>
      The knowledge documents an account added (<code>
        ai.knowledge
      </code>
      
      ): their title, workspace and status. The passages and embeddings live in the app's RAG component.
    </td>
    
    <td>
      account id, billing entity
    </td>
    
    <td>
      Pseudonymized. Every document of a workspace deleted with the account goes with its passages, and the workspace's namespace in the RAG component goes once they are gone; a document it added to a workspace that stays keeps its place, its adder the pseudonym.
    </td>
    
    <td>
      Until a member removes it, or its workspace goes.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        aiFlags
      </code>
    </td>
    
    <td>
      the backend component: <code>
        aiFlags
      </code>
    </td>
    
    <td>
      What the safety classifier flagged in content an account sent (<code>
        setupAi({ moderation })
      </code>
      
      ): the categories, whether it was refused or escalated, the classifier and the policy, and the app's id and stage of what was checked, never the content.
    </td>
    
    <td>
      account id, billing entity
    </td>
    
    <td>
      Deleted. Every flag about the account, and every flag of a workspace deleted with it, is removed, but for those on legal hold (escalated, or child sexual exploitation refused): kept as evidence the app may be obliged to keep (GDPR Art. 17(3)(b) and (e)), under the pseudonym, until they expire.
    </td>
    
    <td>
      The days the app keeps flags (<code>
        moderation.log.days
      </code>
      
      , 183 by default), or none with <code>
        log: false
      </code>
      
      .
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        aiProvenance
      </code>
    </td>
    
    <td>
      the backend component: <code>
        aiProvenance
      </code>
    </td>
    
    <td>
      What made each generated image a workspace's jobs stored (<code>
        ctx.storeImage
      </code>
      
      ): the models, when, and the ids of the rows and files it was made from, never their content.
    </td>
    
    <td>
      billing entity
    </td>
    
    <td>
      Deleted. Every record of a workspace deleted with the account is removed; the images themselves are the workspace's files (<code>
        files
      </code>
      
      ), deleted with it.
    </td>
    
    <td>
      Until its workspace goes: the record is what shows an image was generated, for as long as the image is shown.
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        audit
      </code>
    </td>
    
    <td>
      the backend component: <code>
        auditEvents
      </code>
    </td>
    
    <td>
      The account's activity: sign-ins, passkeys, email and session changes, workspace and billing events, as ids, never an address or a name.
    </td>
    
    <td>
      account id
    </td>
    
    <td>
      Pseudonymized. The account's own record is removed, its personal workspace's with it; in the rows that stay (a workspace's trail, what it did to someone else, what an administrator did) its id becomes one random pseudonym.
    </td>
    
    <td>
      365 days.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        notifications
      </code>
    </td>
    
    <td>
      the backend component: <code>
        notifications
      </code>
      
      , <code>
        notificationChoices
      </code>
    </td>
    
    <td>
      What the app told the account in its inbox: the kind of event, when, whether it was read and the workspace and thing it names, as ids, never the words, an address or a name; and the channels the account turned on or off for each kind.
    </td>
    
    <td>
      account id
    </td>
    
    <td>
      Deleted. Every notification for the account and every channel it chose are removed; in the notifications it caused for others, its id becomes one random pseudonym.
    </td>
    
    <td>
      A read notification 90 days after it was read, an unread one 365 days after it was recorded; a channel choice until the account changes it.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        pushSubscriptions
      </code>
    </td>
    
    <td>
      the backend component: <code>
        pushSubscriptions
      </code>
    </td>
    
    <td>
      Each device the account allowed web push on: the push service's address for it and the keys messages to it are encrypted with.
    </td>
    
    <td>
      account id
    </td>
    
    <td>
      Deleted. Every device of the account is removed, so nothing more reaches it.
    </td>
    
    <td>
      Until the push service says the device is gone, the account subscribes a newer one past twenty, or the device is subscribed by another account.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        announcements
      </code>
    </td>
    
    <td>
      the backend component: <code>
        announcementDismissals
      </code>
      
      , <code>
        announcements
      </code>
    </td>
    
    <td>
      Which announcements the account dismissed, and, for an administrator, the announcements they published or sent, by account id.
    </td>
    
    <td>
      account id
    </td>
    
    <td>
      Pseudonymized. The account's dismissals are removed; on an announcement it published or sent, its id becomes one random pseudonym.
    </td>
    
    <td>
      An announcement and its dismissals 90 days after it expired.
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        lifecycle
      </code>
    </td>
    
    <td>
      the backend component: <code>
        lifecycleRuns
      </code>
    </td>
    
    <td>
      Each lifecycle email flow the account is in: which email, when it is due, its address, and whether it was sent, skipped by a sending rule or stopped.
    </td>
    
    <td>
      account id
    </td>
    
    <td>
      Deleted. Every run is removed, the emails still waiting with them.
    </td>
    
    <td>
      A finished run of a flow that may run again 90 days after it was due; the record of a flow sent once until the account is erased.
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        inbound
      </code>
    </td>
    
    <td>
      the backend component: <code>
        contactMessages
      </code>
      
      , <code>
        inboundMessages
      </code>
      
      , <code>
        replyAddresses
      </code>
    </td>
    
    <td>
      The messages the account sent through the contact form, and the mail it (or its address) sent to the app: the sender's name and address, the subject, the text, the names and sizes of the attachments; and the reply addresses made for it, each a random token with the thread it answers.
    </td>
    
    <td>
      account id, address
    </td>
    
    <td>
      Deleted. Every message of the account and every message from its address is removed, and so are its reply addresses. The copy a message left in the team's own mailbox or support inbox is the team's: delete it there.
    </td>
    
    <td>
      A message 90 days; a reply address a year after the last email it went out in.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        reports
      </code>
    </td>
    
    <td>
      the backend component: <code>
        reports
      </code>
      
      , <code>
        reportSubjects
      </code>
      
      , <code>
        reportDecisions
      </code>
      
      , <code>
        reportAppeals
      </code>
      
      , <code>
        blockedFiles
      </code>
    </td>
    
    <td>
      The content the account reported in a click, and the notices sent from its address on the public form, with the notifier's name, address, language and typed signature. The decisions on content it wrote, with the text of its appeal. For an administrator, the decisions it made, the appeals it answered and the suspected crimes it flagged, by account id. The hashes of removed intimate images, which name no one.
    </td>
    
    <td>
      account id, address
    </td>
    
    <td>
      Pseudonymized. A host answers for every notice and decision, so the records stay and lose the person. A notice from the address loses its sender's name, address, language and signature; its reason, link and text stay, for the decision that rests on them. A report the account made loses its text, and the account's id becomes the pseudonym. A decision on its content keeps its statement of reasons and its appeal's outcome; its author becomes the pseudonym, and the appeal loses its text. As an administrator, its id becomes the pseudonym on what it decided, answered and flagged. A removed image's hash stays: it names no one, and it keeps the same image from coming back.
    </td>
    
    <td>
      A closed report or notice 548 days (18 months) after it was closed; a decision 548 days after it was made, with its appeal, once no appeal is open; a removed image's hash as long as the app keeps it.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        flags
      </code>
    </td>
    
    <td>
      the backend component: <code>
        flagOverrides
      </code>
    </td>
    
    <td>
      The flags an administrator turned on for the account by its id.
    </td>
    
    <td>
      account id
    </td>
    
    <td>
      Deleted. The account leaves every flag's targets.
    </td>
    
    <td>
      Until an administrator changes the flag.
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        funnel
      </code>
    </td>
    
    <td>
      the backend component: <code>
        funnelPeople
      </code>
      
      , <code>
        experimentExposures
      </code>
    </td>
    
    <td>
      How the growth funnel counts the account: its sign-up week, the invite, first campaign, referral code and promotion it came with, its answer to "How did you hear about us?" (with an "Other" answer's own words), the steps it reached and its last active week; and the experiments' variants it saw first.
    </td>
    
    <td>
      account id
    </td>
    
    <td>
      Deleted. Its row and its own exposures are removed, and it leaves its workspace's. Every count stays: the counts are keyed by step, value and week, never by the account, so the funnel and the experiments' results do not change.
    </td>
    
    <td>
      Until the account is erased.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        email
      </code>
    </td>
    
    <td>
      the backend component: <code>
        secretOutbox
      </code>
      
      , <code>
        heldEmails
      </code>
    </td>
    
    <td>
      A code email waiting for the provider, and an email the person's quiet hours hold until they end.
    </td>
    
    <td>
      address
    </td>
    
    <td>
      Deleted. Every message held for the address is removed.
    </td>
    
    <td>
      A code email until the provider answers, at most ten minutes; a held email until the quiet hours end.
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        emailRecords
      </code>
    </td>
    
    <td>
      the backend component: <code>
        emails
      </code>
    </td>
    
    <td>
      The emails sent to the address: recipients, subject, body and delivery status.
    </td>
    
    <td>
      address
    </td>
    
    <td>
      Expires on its own. Not erased one by one: the email component nested in the backend keeps its records with no index by recipient, and every one goes with its retention.
    </td>
    
    <td>
      7 days after a final status, 30 days without one (<code>
        setupEmail({ retention })
      </code>
      
      ).
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        emailPreferences
      </code>
    </td>
    
    <td>
      the backend component: <code>
        emailContacts
      </code>
      
      , <code>
        emailTopicChoices
      </code>
      
      , <code>
        emailContactAliases
      </code>
    </td>
    
    <td>
      The address's choice for each email topic and how it was made, its time zone, when it last clicked an email or used the app, and when marketing mail went to it in the last 7 days.
    </td>
    
    <td>
      account id, address
    </td>
    
    <td>
      Deleted. The contact and every choice of it are removed; the consents it gave stay on the consent ledger until the ledger's own erasure.
    </td>
    
    <td>
      Until the account is erased.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        emailContact
      </code>
    </td>
    
    <td>
      the email provider contact
    </td>
    
    <td>
      The address as a contact of the email provider, with the segments and topics it is in.
    </td>
    
    <td>
      address
    </td>
    
    <td>
      Deleted. The contact is removed at the provider.
    </td>
    
    <td>
      Until it is removed.
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        suppressions
      </code>
    </td>
    
    <td>
      the backend component: <code>
        suppressions
      </code>
    </td>
    
    <td>
      The address, when the email provider stopped delivering to it after a hard bounce, a complaint or by hand: a copy of the provider's suppression list that sign-in reads before it sends a code.
    </td>
    
    <td>
      address
    </td>
    
    <td>
      Deleted. The address's row is removed. The provider keeps its own suppression, which is what keeps mail from going to it.
    </td>
    
    <td>
      While the provider suppresses the address; a week after it lifts the suppression.
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        files
      </code>
    </td>
    
    <td>
      the backend component: <code>
        files
      </code>
      
      , <code>
        fileUsage
      </code>
      
      , <code>
        shareLinks
      </code>
    </td>
    
    <td>
      The files an account uploaded through setupStorage and the images its jobs generated (<code>
        ctx.storeImage
      </code>
      
      ), with their owner records (account, workspace, size, type) and quota counts, and the share links it turned on (the shared row, never the token).
    </td>
    
    <td>
      account id, billing entity
    </td>
    
    <td>
      Deleted. Its own files and every file of a workspace deleted with it are removed with their counts, and so are the links it shared; a file it uploaded to a workspace others keep stays with that workspace, its uploader the pseudonym.
    </td>
    
    <td>
      Until released by the app or erased; an upload nobody claimed a day.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        exports
      </code>
    </td>
    
    <td>
      the backend component: <code>
        accountExports
      </code>
      
      , <code>
        accountExportParts
      </code>
    </td>
    
    <td>
      The account's data exports, each a file behind a link, and the zip parts that bundle its files beside it.
    </td>
    
    <td>
      account id
    </td>
    
    <td>
      Deleted. Every export file, its zip parts and its record are removed.
    </td>
    
    <td>
      The file an hour; its record a day, which the export limit counts.
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        deletions
      </code>
    </td>
    
    <td>
      the backend component: <code>
        accountDeletions
      </code>
    </td>
    
    <td>
      A deletion waiting out its grace period: the account's id, when it was asked for and when it runs, and a keyed hash of the token in the "keep my account" link.
    </td>
    
    <td>
      account id
    </td>
    
    <td>
      Deleted. The record goes with the account, whether the grace period ended or an administrator removed it first.
    </td>
    
    <td>
      Until the deletion is cancelled or runs.
    </td>
    
    <td>
      Yes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        erasures
      </code>
    </td>
    
    <td>
      the backend component: <code>
        accountErasures
      </code>
      
      , <code>
        accountErasureFailures
      </code>
    </td>
    
    <td>
      An erasure in progress: the account's id and address, and the workspaces it deletes; and the plan of the app's part (the billing customer, the email contact) while a participant of it is retried.
    </td>
    
    <td>
      account id, address
    </td>
    
    <td>
      Deleted. Removed once every participant finished; one that kept failing stays for an operator to run again, at most 30 days.
    </td>
    
    <td>
      Until the erasure finishes; a failed one 30 days.
    </td>
    
    <td>
      No
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        monitoringUser
      </code>
    </td>
    
    <td>
      the monitoring service user
    </td>
    
    <td>
      Error reports and cron check-ins with ids, never an address or a name. The package sets no user on a report.
    </td>
    
    <td>
      account id
    </td>
    
    <td>
      Kept. Errors stop naming the account: nothing the package sends names it once it is deleted. Reports already sent keep their scrubbed contents until the service's retention removes them, because the service has no confirmed way to delete one user's events.
    </td>
    
    <td>
      The service's own retention.
    </td>
    
    <td>
      No
    </td>
  </tr>
</tbody>
</table>

An id that stays after an erasure (a workspace's activity, a gift's purchase, a moderation decision) is a random pseudonym, the same one in every row the erasure rewrote and derived from nothing of the account. A billing entity's deletion mark names its id, nothing more, for 30 days.

## What holds nothing of a person

Every other table of the backend component, and why. A table added to the component lands in the registry or in this list, or the package's tests fail (`test/convex-component/account.test.ts` seeds a person in every table, erases them, and reads every table back for their id and their address).

<table>
<thead>
  <tr>
    <th>
      Table
    </th>
    
    <th>
      Why it holds nothing of a person
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        jwks
      </code>
    </td>
    
    <td>
      The keys the session tokens are signed with.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billingBenefitMetadata
      </code>
    </td>
    
    <td>
      A benefit's metadata and name, the same for every customer.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        webhookDeliveries
      </code>
    </td>
    
    <td>
      Delivery ids, event types and outcomes: the payload is never kept.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        webhookTallies
      </code>
    </td>
    
    <td>
      Counts of refused deliveries, by service and outcome.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        webhookTrims
      </code>
    </td>
    
    <td>
      When the delivery log is next trimmed.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        emailSettings
      </code>
    </td>
    
    <td>
      The app's email retention windows.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        emailProviderIds
      </code>
    </td>
    
    <td>
      The email provider's ids of the topics and the accounts' segment.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        lifecycleSettings
      </code>
    </td>
    
    <td>
      The lifecycle flows' settings and the sending rules, as <code>
        email sync
      </code>
      
       kept them.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        maintenanceTasks
      </code>
    </td>
    
    <td>
      Each maintenance task's latest pass.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        accessSettings
      </code>
    </td>
    
    <td>
      The launch phase an administrator set.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        accessEmailPace
      </code>
    </td>
    
    <td>
      When the next invitation email may go: one time, for every invitation alike.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        waitlistStats
      </code>
    </td>
    
    <td>
      A count of waitlist entries per status.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        waitlistSettings
      </code>
    </td>
    
    <td>
      The ids of the email provider's segment and topic for launch news.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        jobQueue
      </code>
    </td>
    
    <td>
      The job queue's settings: paused, the concurrency and the tiers an administrator retuned.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        jobModels
      </code>
    </td>
    
    <td>
      Each model's learned rate limit, the same for every account.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        aiCostDays
      </code>
    </td>
    
    <td>
      What AI cost the whole app each day, summed over everyone.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        monitoringAlerts
      </code>
    </td>
    
    <td>
      Which alert fired for which day or month.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billingGiftSweep
      </code>
    </td>
    
    <td>
      The handle the gift sweep wakes the app by.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        referralSweep
      </code>
    </td>
    
    <td>
      The handle the referral sweep wakes the app by.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billingCommerceReversals
      </code>
    </td>
    
    <td>
      A refund or a dispute held for an order not recorded yet: the provider's order and refund ids and an amount, naming no one until the order lands.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billingLifecycleMarks
      </code>
    </td>
    
    <td>
      What the billing lifecycle did once and when, by subscription or checkout id: an annual reminder, an abandoned checkout's hand-off.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        quotaCounters
      </code>
    </td>
    
    <td>
      The quota keys storage counts files and bytes under, the same for every account.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        urlClock
      </code>
    </td>
    
    <td>
      When the signed URL clock last ticked: one time for the whole app.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        funnelValues
      </code>
    </td>
    
    <td>
      The values the growth funnel breaks its steps down by: campaign and answer names, invite labels, promotion keys and referral codes. A referral code points at its owner only while the referral program keeps it, which an erasure deletes there.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        experiments
      </code>
    </td>
    
    <td>
      Each experiment's variants, goal and guardrails as the code declared them, and when it started.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        experimentKinds
      </code>
    </td>
    
    <td>
      The event kinds each experiment counts.
    </td>
  </tr>
</tbody>
</table>

## Who processes it

The processors a deployment of the package uses, each only once its capability is in use. The list is generated from `SUBPROCESSORS` in `src/convex/legal.ts`, and your [subprocessors page](#legal-pages) shows the rows of the capabilities your app turns on.

<table>
<thead>
  <tr>
    <th>
      Who
    </th>
    
    <th>
      Capability
    </th>
    
    <th>
      What it processes
    </th>
    
    <th>
      Where
    </th>
    
    <th>
      Agreement
    </th>
    
    <th>
      Configured by
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Convex
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/build/data">
        <code>
          data
        </code>
      </a>
    </td>
    
    <td>
      Everything the app stores: accounts, sessions, workspaces, billing state, email records, uploaded files, exports and logs.
    </td>
    
    <td>
      The region the deployment was created in: the US, the EU (Dublin), Canada or Australia.
    </td>
    
    <td>
      <a href="https://www.convex.dev/legal/dpa" rel="nofollow">
        DPA
      </a>
    </td>
    
    <td>
      <code>
        CONVEX_DEPLOYMENT
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Vercel
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/ship/deploy">
        <code>
          hosting
        </code>
      </a>
    </td>
    
    <td>
      Each request to the app, with its network address and browser. On another host, that host instead.
    </td>
    
    <td>
      The functions region the app is deployed to; Vercel is a US company.
    </td>
    
    <td>
      <a href="https://vercel.com/legal/dpa" rel="nofollow">
        DPA
      </a>
    </td>
    
    <td>
      The host
    </td>
  </tr>
  
  <tr>
    <td>
      Polar
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/build/billing">
        <code>
          billing
        </code>
      </a>
    </td>
    
    <td>
      The customer of each paying account or workspace: name, email address, billing address, payment method, orders, subscriptions and invoices. As merchant of record it sells to customers in its own name, under its own terms.
    </td>
    
    <td>
      The US, Canada or elsewhere outside the EEA and the UK.
    </td>
    
    <td>
      <a href="https://polar.sh/legal/checkout-buyer-terms" rel="nofollow">
        Buyer terms
      </a>
    </td>
    
    <td>
      <code>
        BILLING_ACCESS_TOKEN
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Resend
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/build/email">
        <code>
          email
        </code>
      </a>
    </td>
    
    <td>
      The emails the app sends, their delivery events, and the contacts and topics people subscribe to.
    </td>
    
    <td>
      The US; mail leaves from the sending domain's region.
    </td>
    
    <td>
      <a href="https://resend.com/legal/dpa" rel="nofollow">
        DPA
      </a>
    </td>
    
    <td>
      <code>
        EMAIL_API_KEY
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Vercel BotID, Cloudflare Turnstile
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/build/auth/sign-in/bots">
        <code>
          protection
        </code>
      </a>
    </td>
    
    <td>
      Signals of the browser and the request (network address, browser, TLS fingerprint) when someone signs in, signs up or sends a protected form, to tell people from bots.
    </td>
    
    <td>
      The US, and the provider's network worldwide.
    </td>
    
    <td>
      Its Services page
    </td>
    
    <td>
      <code>
        PROTECTION_*
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      The browsers' push services (Apple, Google, Mozilla, Microsoft)
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/build/email/notifications">
        <code>
          notifications
        </code>
      </a>
    </td>
    
    <td>
      The notifications sent to a device a person turned them on for: the device's push address, and each message, encrypted so the service reads only where and when it goes.
    </td>
    
    <td>
      Each browser maker's own network, mostly in the US.
    </td>
    
    <td>
      Its Services page
    </td>
    
    <td>
      <code>
        PUSH_PUBLIC_KEY
      </code>
      
       and <code>
        PUSH_PRIVATE_KEY
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      The AI gateway the app calls models through: the Convex AI Gateway or the Vercel AI Gateway
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/build/ai">
        <code>
          ai
        </code>
      </a>
    </td>
    
    <td>
      The prompts and the answers of the AI features a person uses, which the gateway passes to the model's provider; never kept by the app past the request.
    </td>
    
    <td>
      The US, or the EU where inference is pinned there.
    </td>
    
    <td>
      Its Services page
    </td>
    
    <td>
      <code>
        setupAi({ gateway })
      </code>
      
      : the Convex AI Gateway on a paid Convex plan, the Vercel AI Gateway with <code>
        AI_GATEWAY_API_KEY
      </code>
      
      ; list the one, or both, your order names
    </td>
  </tr>
  
  <tr>
    <td>
      Sentry
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/ship/operate/monitoring">
        <code>
          monitoring
        </code>
      </a>
    </td>
    
    <td>
      Error reports and cron check-ins, scrubbed of addresses, names and credentials, with an account's id at most; a masked session replay only after the person allowed it.
    </td>
    
    <td>
      The US or the EU, as the organization was created.
    </td>
    
    <td>
      <a href="https://sentry.io/legal/dpa/" rel="nofollow">
        DPA
      </a>
    </td>
    
    <td>
      <code>
        MONITORING_DSN
      </code>
    </td>
  </tr>
</tbody>
</table>

- **Accept each processor's data processing agreement** before you launch (GDPR Art. 28). Each [Services](https://nuxt-backend.dev/docs/services) page links its provider's agreement and says which region it keeps data in.
- **Polar is more than a processor.** As merchant of record it sells to your customers in its own name, under its [buyer terms](https://polar.sh/legal/checkout-buyer-terms), and handles their payment data for that sale. Name it in your privacy notice as a recipient, and read its own privacy policy.

## The data map

The data map regroups the inventory by capability: for each capability, what it stores, where, and for how long. It is generated from the same registry, each participant under its `capability`. The privacy page prints the rows of the capabilities your app turns on, and it is a starting point for your record of processing activities (GDPR Art. 30).

<table>
<thead>
  <tr>
    <th>
      Capability
    </th>
    
    <th>
      Participant
    </th>
    
    <th>
      Stores
    </th>
    
    <th>
      Where
    </th>
    
    <th>
      Kept
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        auth
      </code>
    </td>
    
    <td>
      <code>
        workspaces
      </code>
    </td>
    
    <td>
      The workspaces an account belongs to, with its role in each, and the invitations it sent or was sent.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      As long as the account; an unanswered invitation 30 days past its expiry.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        auth
      </code>
    </td>
    
    <td>
      The account: name, address, language, app role and ban, and whether it finished the first run and dismissed the activation checklist; its sessions with their browser and network address; its passkeys; its authenticator app's secret and backup codes, encrypted under the auth secret; the sign-in and email-change codes waiting for its address, stored as keyed hashes.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      As long as the account; a session a day past its expiry, a code an hour past its expiry.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        knownDevices
      </code>
    </td>
    
    <td>
      The devices the account signed in from, for new-device alerts: a keyed hash of each device's browser, system and network range (never the fingerprint itself), the browser and system names, when it was first and last seen, and whether its first sign-in was alerted.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      A year after the device was last seen.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        access
      </code>
    </td>
    
    <td>
      The invitations by address an administrator made for the address, which ticket admitted the account while the app was closed (the redemption ledger, which names the member whose ticket admitted a friend), the codes and links it made as an administrator, its member tickets (a hash of each link, its uses and its end), and its waitlist entry: the address, its answers, its place, where it came from (the form, followed by the page address's utm_source and utm_campaign, which whoever made the link chose and may carry an identifier) and the state of its launch-news contact (the launch-news consent itself is on the consent ledger).
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      An invitation by address until it is used or revoked; the ticket record as long as the account; a member ticket until 30 days after it ended; a waitlist entry until the person leaves or is erased, and a join whose code never checked a day.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        consents
      </code>
    </td>
    
    <td>
      The consent ledger: one row for each time the account (or, before it signed up, a hash of its address) agreed to a document or an opt-in, withdrew it, or chose optional storage, with the kind, its version, the time and where it came from.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      As long as the account; the rows of an address that never signed up until it is erased.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        rateLimits
      </code>
    </td>
    
    <td>
      Better Auth's own limiter, off unless an app turns it on: a counter per route and network address.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      A day after its last request.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        audit
      </code>
    </td>
    
    <td>
      The account's activity: sign-ins, passkeys, email and session changes, workspace and billing events, as ids, never an address or a name.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      365 days.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        reports
      </code>
    </td>
    
    <td>
      The content the account reported in a click, and the notices sent from its address on the public form, with the notifier's name, address, language and typed signature. The decisions on content it wrote, with the text of its appeal. For an administrator, the decisions it made, the appeals it answered and the suspected crimes it flagged, by account id. The hashes of removed intimate images, which name no one.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      A closed report or notice 548 days (18 months) after it was closed; a decision 548 days after it was made, with its appeal, once no appeal is open; a removed image's hash as long as the app keeps it.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        exports
      </code>
    </td>
    
    <td>
      The account's data exports, each a file behind a link, and the zip parts that bundle its files beside it.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      The file an hour; its record a day, which the export limit counts.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        deletions
      </code>
    </td>
    
    <td>
      A deletion waiting out its grace period: the account's id, when it was asked for and when it runs, and a keyed hash of the token in the "keep my account" link.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      Until the deletion is cancelled or runs.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        erasures
      </code>
    </td>
    
    <td>
      An erasure in progress: the account's id and address, and the workspaces it deletes; and the plan of the app's part (the billing customer, the email contact) while a participant of it is retried.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      Until the erasure finishes; a failed one 30 days.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing
      </code>
    </td>
    
    <td>
      <code>
        referrals
      </code>
    </td>
    
    <td>
      The account's share code, the referral that brought it (when it claimed one), and the referrals it brought, as states and times: claimed, held, rewarded or voided. Never who the other person is, an order or an amount. The counters hold totals per referrer and month, and the program's by state; the tallies how many referrals and rewards each referrer has.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      As long as the account.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        billing
      </code>
    </td>
    
    <td>
      The cached plans, features and credit balances of the account's billing entities, their scheduled plan changes and quota keys, the save offers the cancel flow made them, and the trial the account used. On Stripe, Dodo or Creem also their customer ids at the provider, their paid orders (amounts, tax, currency and refunds, never a card) and the credit grants those orders made.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      As long as the entity; a deletion mark 30 days.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        welcomeCredits
      </code>
    </td>
    
    <td>
      A digest (SHA-256) of the address welcome credits went to, its local part without tags and dots, and the billing entity that got them: never the address.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      No expiry: it stays through an erasure, and after the app stops granting welcome credits, so they stay once per person.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        billingProofs
      </code>
    </td>
    
    <td>
      Proof of the consent to a renewing subscription (the plan, the price and interval shown, the terms version, when and by whom) and of each EU withdrawal: when and by whom.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      Three years; a checkout's proof that started no subscription two days.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        gifts
      </code>
    </td>
    
    <td>
      The gifts the account bought, with the address it sent each to and its message, and the gifts sent to its address.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      As long as the purchase is on the books.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        billingCustomer
      </code>
    </td>
    
    <td>
      The provider customer of each billing entity: its name, the owner's address, its members, payment method, orders and invoices.
    </td>
    
    <td>
      the billing provider customer
    </td>
    
    <td>
      The provider's own, for its tax and accounting duties.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        billingSync
      </code>
    </td>
    
    <td>
      The provider's customers and subscriptions as the billing component the app mounts syncs them: each billing entity's id beside its provider customer's, and each subscription's plan, price, dates and status, with the reason and comment of a cancellation.
    </td>
    
    <td>
      Your deployment: a component the app mounts
    </td>
    
    <td>
      Until that component can delete them.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        ai
      </code>
    </td>
    
    <td>
      <code>
        aiRequests
      </code>
    </td>
    
    <td>
      The arguments of a metered AI stream the account started, while it runs.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      A day after it settles; a week if it never does.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        jobs
      </code>
    </td>
    
    <td>
      The generation jobs an account or its workspace queued (the job's arguments, who started it, its progress, result and cost), the budget each owner used per window, and how many guest tries the browser the account signed up in used, by its visitor cookie's id.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      Thirty days after a job ends, dead letters included; a budget window until its owner is erased; a browser's guest tries a year after its last, as long as the visitor cookie lasts.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        aiCosts
      </code>
    </td>
    
    <td>
      What each person's AI calls cost a day: the job queue's, metered actions, streams, chat replies and knowledge embeddings, in US dollars and tokens, with the billing entity that paid.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      90 days after the day.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        aiThreads
      </code>
    </td>
    
    <td>
      The chat threads an account started (<code>
        ai.chat
      </code>
      
      ): which chat and workspace each belongs to, its title and when it last changed. The messages live in the app's Agent component.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      Until the person deletes the thread, or the account or the workspace goes.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        aiDocuments
      </code>
    </td>
    
    <td>
      The knowledge documents an account added (<code>
        ai.knowledge
      </code>
      
      ): their title, workspace and status. The passages and embeddings live in the app's RAG component.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      Until a member removes it, or its workspace goes.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        aiFlags
      </code>
    </td>
    
    <td>
      What the safety classifier flagged in content an account sent (<code>
        setupAi({ moderation })
      </code>
      
      ): the categories, whether it was refused or escalated, the classifier and the policy, and the app's id and stage of what was checked, never the content.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      The days the app keeps flags (<code>
        moderation.log.days
      </code>
      
      , 183 by default), or none with <code>
        log: false
      </code>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        aiProvenance
      </code>
    </td>
    
    <td>
      What made each generated image a workspace's jobs stored (<code>
        ctx.storeImage
      </code>
      
      ): the models, when, and the ids of the rows and files it was made from, never their content.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      Until its workspace goes: the record is what shows an image was generated, for as long as the image is shown.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        notifications
      </code>
    </td>
    
    <td>
      <code>
        notifications
      </code>
    </td>
    
    <td>
      What the app told the account in its inbox: the kind of event, when, whether it was read and the workspace and thing it names, as ids, never the words, an address or a name; and the channels the account turned on or off for each kind.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      A read notification 90 days after it was read, an unread one 365 days after it was recorded; a channel choice until the account changes it.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        pushSubscriptions
      </code>
    </td>
    
    <td>
      Each device the account allowed web push on: the push service's address for it and the keys messages to it are encrypted with.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      Until the push service says the device is gone, the account subscribes a newer one past twenty, or the device is subscribed by another account.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        email
      </code>
    </td>
    
    <td>
      <code>
        announcements
      </code>
    </td>
    
    <td>
      Which announcements the account dismissed, and, for an administrator, the announcements they published or sent, by account id.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      An announcement and its dismissals 90 days after it expired.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        lifecycle
      </code>
    </td>
    
    <td>
      Each lifecycle email flow the account is in: which email, when it is due, its address, and whether it was sent, skipped by a sending rule or stopped.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      A finished run of a flow that may run again 90 days after it was due; the record of a flow sent once until the account is erased.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        inbound
      </code>
    </td>
    
    <td>
      The messages the account sent through the contact form, and the mail it (or its address) sent to the app: the sender's name and address, the subject, the text, the names and sizes of the attachments; and the reply addresses made for it, each a random token with the thread it answers.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      A message 90 days; a reply address a year after the last email it went out in.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        email
      </code>
    </td>
    
    <td>
      A code email waiting for the provider, and an email the person's quiet hours hold until they end.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      A code email until the provider answers, at most ten minutes; a held email until the quiet hours end.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        emailRecords
      </code>
    </td>
    
    <td>
      The emails sent to the address: recipients, subject, body and delivery status.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      7 days after a final status, 30 days without one (<code>
        setupEmail({ retention })
      </code>
      
      ).
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        emailPreferences
      </code>
    </td>
    
    <td>
      The address's choice for each email topic and how it was made, its time zone, when it last clicked an email or used the app, and when marketing mail went to it in the last 7 days.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      Until the account is erased.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        emailContact
      </code>
    </td>
    
    <td>
      The address as a contact of the email provider, with the segments and topics it is in.
    </td>
    
    <td>
      the email provider contact
    </td>
    
    <td>
      Until it is removed.
    </td>
  </tr>
  
  <tr>
    <td>
      
    </td>
    
    <td>
      <code>
        suppressions
      </code>
    </td>
    
    <td>
      The address, when the email provider stopped delivering to it after a hard bounce, a complaint or by hand: a copy of the provider's suppression list that sign-in reads before it sends a code.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      While the provider suppresses the address; a week after it lifts the suppression.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        flags
      </code>
    </td>
    
    <td>
      <code>
        flags
      </code>
    </td>
    
    <td>
      The flags an administrator turned on for the account by its id.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      Until an administrator changes the flag.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        analytics
      </code>
    </td>
    
    <td>
      <code>
        funnel
      </code>
    </td>
    
    <td>
      How the growth funnel counts the account: its sign-up week, the invite, first campaign, referral code and promotion it came with, its answer to "How did you hear about us?" (with an "Other" answer's own words), the steps it reached and its last active week; and the experiments' variants it saw first.
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      Until the account is erased.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        data
      </code>
    </td>
    
    <td>
      <code>
        files
      </code>
    </td>
    
    <td>
      The files an account uploaded through setupStorage and the images its jobs generated (<code>
        ctx.storeImage
      </code>
      
      ), with their owner records (account, workspace, size, type) and quota counts, and the share links it turned on (the shared row, never the token).
    </td>
    
    <td>
      Your deployment
    </td>
    
    <td>
      Until released by the app or erased; an upload nobody claimed a day.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        monitoring
      </code>
    </td>
    
    <td>
      <code>
        monitoringUser
      </code>
    </td>
    
    <td>
      Error reports and cron check-ins with ids, never an address or a name. The package sets no user on a report.
    </td>
    
    <td>
      the monitoring service user
    </td>
    
    <td>
      The service's own retention.
    </td>
  </tr>
</tbody>
</table>

The provider's own records beyond these rows, such as the billing provider's orders and the email provider's logs, are in [Who processes it](#who-processes-it) and on each [Services](https://nuxt-backend.dev/docs/services) page.

## Legal pages

The package serves four public pages, filled from your company's details, your brand's name and the capabilities your app uses. Each page asks the app's health route (`/api/backend/health`) which capabilities are in use, with the server render: a capability whose state is `missing` is left out, and when the backend can't be reached every capability counts, so a page lists too much rather than leave a processor out. Each is a packaged page like `/login`: move it, turn it off, or replace it with your own.

<table>
<thead>
  <tr>
    <th>
      Page key
    </th>
    
    <th>
      Default path
    </th>
    
    <th>
      What it holds
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        privacy
      </code>
    </td>
    
    <td>
      <code>
        /legal/privacy
      </code>
    </td>
    
    <td>
      Who you are and how to reach you, the data map with each retention window, the subprocessors, the cookies and storage, and how a person exports, corrects or deletes their data
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        terms
      </code>
    </td>
    
    <td>
      <code>
        /legal/terms
      </code>
    </td>
    
    <td>
      Your company and contact, accounts and sign-in, plans and renewal and the merchant of record's role while billing is in use, the content rules with a link to the notice form, and AI features while they are in use
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        subprocessors
      </code>
    </td>
    
    <td>
      <code>
        /legal/subprocessors
      </code>
    </td>
    
    <td>
      The generated list above, for the capabilities your app turns on
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        accessibility
      </code>
    </td>
    
    <td>
      <code>
        /legal/accessibility
      </code>
    </td>
    
    <td>
      Your accessibility statement: the standard, how it is checked, the known gaps, and where to report a barrier (<a href="https://nuxt-backend.dev/docs/ship/compliance/accessibility">
        Accessibility
      </a>
      
      )
    </td>
  </tr>
</tbody>
</table>

Give the pages your details in app config:

```ts [app/app.config.ts]
export default defineAppConfig({
  backend: {
    legal: {
      company: 'Panels Studio Ltd',
      address: '1 Example Street, Dublin D02 XY45, Ireland',
      contact: 'privacy@panels.example',
      dpo: 'dpo@panels.example',
    },
  },
})
```

<table>
<thead>
  <tr>
    <th>
      Field
    </th>
    
    <th>
      What it is
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        company
      </code>
    </td>
    
    <td>
      Your legal entity's name, as the controller (GDPR Art. 13(1)(a))
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        address
      </code>
    </td>
    
    <td>
      Its postal address
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        contact
      </code>
    </td>
    
    <td>
      Where people send privacy requests and report an accessibility barrier: an email address or a URL
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        dpo
      </code>
    </td>
    
    <td>
      Your data protection officer's contact, when you must appoint one (GDPR Art. 37); leave it out otherwise
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        host
      </code>
    </td>
    
    <td>
      The host your app runs on: <code>
        { name, location, agreement, address, phone }
      </code>
      
      . With a name and a location, the pages list it in place of Vercel's row, with your <code>
        location
      </code>
      
       as written; with an address or a phone, the terms page names it as the host
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        registration
      </code>
    </td>
    
    <td>
      Your company's registration number, as its register writes it (a SIREN, a company number), printed with your address
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        vat
      </code>
    </td>
    
    <td>
      Your VAT number, or the line that says why you charge none
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        phone
      </code>
      
      , <code>
        director
      </code>
      
      , <code>
        capital
      </code>
    </td>
    
    <td>
      Your phone number, the person responsible for what the app publishes, and your share capital: what a French legal notice (LCEN) names, on the terms page
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        mediator
      </code>
    </td>
    
    <td>
      The consumer mediator you joined, <code>
        { name, url }
      </code>
      
      : the terms page names it under Disputes
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        locations
      </code>
    </td>
    
    <td>
      Where a processor of the package's keeps the data, as you state it, by its key: <code>
        { deployment: 'The EU (Dublin)' }
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        processors
      </code>
    </td>
    
    <td>
      Processors of your own, <code>
        { name, processes, location, agreement? }
      </code>
      
      , listed after the package's
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        storage
      </code>
    </td>
    
    <td>
      Cookies and storage keys of your own, <code>
        { name, kind, why, lasts, consent? }
      </code>
      
      , listed after the package's
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        contactPoints
      </code>
    </td>
    
    <td>
      Your single points of contact under the Digital Services Act, <code>
        { authorities, users, languages }
      </code>
      
      , on the terms page (<a href="https://nuxt-backend.dev/docs/ship/compliance/moderation#name-your-points-of-contact-and-how-you-moderate">
        Moderation
      </a>
      
      )
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        moderation
      </code>
    </td>
    
    <td>
      The automated tools that check content, <code>
        { name, checks, decides? }
      </code>
      
      , which the terms page names with how each decides
    </td>
  </tr>
</tbody>
</table>

Move or turn off a page in `nuxt.config`:

```ts [nuxt.config.ts]
export default defineNuxtConfig({
  modules: ['nuxt-backend'],
  backend: {
    pages: {
      terms: '/terms', // serve it at another path
      accessibility: false, // you publish your own statement
    },
  },
})
```

Each page links the others, and leaves out a detail you didn't set; in development it names the `legal` keys still missing. Every word is a label of the `legal` group, the data map's, processors' and stored items' rows included, so you change or translate any of them like other copy ([Change copy and labels](https://nuxt-backend.dev/docs/build/ui/customize/labels)).

The privacy policy and the terms print their version under the title ("Version 2026-11-04") once `setupAccount({ consents })` declares a `privacy` or `terms` kind: the version the consent ledger records when someone agrees, written once in `backend/account.ts`.

### Write your own pages in content

A policy of your own, written in [Nuxt Content](https://content.nuxt.com) Markdown, keeps the parts the package knows better than you. Six components are registered globally, so Markdown renders them by name:

```md [content/legal/privacy.md]
The controller of your data is :legal-detail{field="company"}, :legal-detail{field="address"}.
Write to :legal-detail{field="contact"} about anything in this policy. Version :legal-version{kind="privacy"}.

## Who helps us

::legal-processors
::

## Cookies

::legal-storage
::
```

<table>
<thead>
  <tr>
    <th>
      Component
    </th>
    
    <th>
      What it prints
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        <LegalProcessors>
      </code>
    </td>
    
    <td>
      The processors table of the privacy and subprocessors pages: the package's, for the capabilities you use, where <code>
        locations
      </code>
      
       says they keep the data, then your <code>
        processors
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <LegalStorage>
      </code>
    </td>
    
    <td>
      The cookies and storage table: the package's, then your <code>
        storage
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <LegalDetail field>
      </code>
    </td>
    
    <td>
      One detail of <code>
        appConfig.backend.legal
      </code>
      
       inside your sentence: <code>
        company
      </code>
      
      , <code>
        address
      </code>
      
      , <code>
        contact
      </code>
      
       and <code>
        dpo
      </code>
      
       (links when they are an address or a URL), <code>
        phone
      </code>
      
       (a <code>
        tel:
      </code>
      
       link), <code>
        registration
      </code>
      
      , <code>
        capital
      </code>
      
      , <code>
        vat
      </code>
      
      , <code>
        director
      </code>
      
      , <code>
        host
      </code>
      
       (its name, address and phone) or <code>
        mediator
      </code>
      
       (linking its site)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <LegalVersion kind>
      </code>
    </td>
    
    <td>
      The version <code>
        setupAccount({ consents })
      </code>
      
       declares for a kind
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <LegalContactPoints>
      </code>
    </td>
    
    <td>
      Your points of contact for authorities and for users, with the languages you answer in
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <LegalModeration>
      </code>
    </td>
    
    <td>
      That a person decides every report, notice and appeal, and the automated tools that check content with how each decides
    </td>
  </tr>
</tbody>
</table>

Write a detail once in app config and every page says the same. An unset detail renders nothing, and in development a marked note naming its key, so an unfinished policy never passes for a finished one. A table reads the capabilities the app uses from its health route, with the server render; on a navigation it lists every capability until the answer lands.

All four are marked "not legal advice" by the `legal.disclaimer` label above each page; once your lawyer reviewed the pages, set it to an empty string. They are a starting point drawn from what the package knows, not a policy a lawyer wrote. What they can't know stays yours to write: the purposes and legal bases of your own features, your own tables, your governing law and liability terms, and your refund policy. Point your required [consents](https://nuxt-backend.dev/docs/build/auth/accounts/consents) at these paths, and raise a consent's version when you change a page.

## Cookies and browser storage

Storage that is strictly necessary for the service a person asked for needs no consent (ePrivacy Directive Art. 5(3)). Everything else does, and the EDPB reads "storage or access" broadly: [Guidelines 2/2023](https://www.edpb.europa.eu/documents/guideline/guidelines-22023-on-technical-scope-of-art-53-of-eprivacy-directive_en) cover local storage, pixels and fingerprinting, not only cookies.

Every cookie and storage key the package writes, generated from `BROWSER_STORAGE` in `src/convex/legal.ts`. The auth library's cookies carry its `better-auth.` prefix, with `__Secure-` in front over HTTPS. The privacy page lists the ones of the capabilities your app uses, and `nuxt-backend:reload` whatever they are: a production build of the app writes it ([`chunkRecovery`](https://nuxt-backend.dev/docs/reference/configuration/module-options#options)), even against a dev backend.

<table>
<thead>
  <tr>
    <th>
      Name
    </th>
    
    <th>
      Kind
    </th>
    
    <th>
      Set when
    </th>
    
    <th>
      Why
    </th>
    
    <th>
      Lasts
    </th>
    
    <th>
      Consent
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        better-auth.session_token
      </code>
    </td>
    
    <td>
      HttpOnly cookie
    </td>
    
    <td>
      A person signs in.
    </td>
    
    <td>
      Keeps them signed in.
    </td>
    
    <td>
      7 days, renewed while they use the app.
    </td>
    
    <td>
      Not needed: strictly necessary
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        better-auth.convex_jwt
      </code>
    </td>
    
    <td>
      HttpOnly cookie
    </td>
    
    <td>
      A person signs in, and as their session renews.
    </td>
    
    <td>
      Proves to the backend who is signed in, for the pages the server renders.
    </td>
    
    <td>
      15 minutes.
    </td>
    
    <td>
      Not needed: strictly necessary
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        better-auth.sign_in_code
      </code>
    </td>
    
    <td>
      HttpOnly cookie
    </td>
    
    <td>
      A person asks for a sign-in code.
    </td>
    
    <td>
      Makes the code work only in the browser that asked for it.
    </td>
    
    <td>
      5 minutes.
    </td>
    
    <td>
      Not needed: strictly necessary
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        better-auth-passkey
      </code>
    </td>
    
    <td>
      HttpOnly cookie
    </td>
    
    <td>
      A person signs in with a passkey or adds one.
    </td>
    
    <td>
      Holds the challenge the passkey answers.
    </td>
    
    <td>
      5 minutes.
    </td>
    
    <td>
      Not needed: strictly necessary
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        better-auth.under_age
      </code>
    </td>
    
    <td>
      HttpOnly cookie
    </td>
    
    <td>
      Someone gives an age under the app's minimum at sign-up.
    </td>
    
    <td>
      Keeps a second answer from following at once.
    </td>
    
    <td>
      1 day.
    </td>
    
    <td>
      Not needed: strictly necessary
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        better-auth.admin_session
      </code>
    </td>
    
    <td>
      HttpOnly cookie
    </td>
    
    <td>
      An administrator opens the app as another account.
    </td>
    
    <td>
      Returns the administrator to their own session when the visit ends.
    </td>
    
    <td>
      The visit, 30 minutes at most.
    </td>
    
    <td>
      Not needed: strictly necessary
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        backend.storage
      </code>
    </td>
    
    <td>
      cookie
    </td>
    
    <td>
      A person answers the prompt about optional storage.
    </td>
    
    <td>
      Remembers what they allowed, so nothing optional is stored unasked.
    </td>
    
    <td>
      6 months, then the prompt asks again.
    </td>
    
    <td>
      Not needed: strictly necessary
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        better-auth.last_used_login_method
      </code>
    </td>
    
    <td>
      cookie
    </td>
    
    <td>
      A person signs in, once they allowed preferences.
    </td>
    
    <td>
      Marks the way they signed in last, so the sign-in form can suggest it.
    </td>
    
    <td>
      30 days.
    </td>
    
    <td>
      Only after consent: <code>
        preferences
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        __Host-backend.visitor
      </code>
    </td>
    
    <td>
      HttpOnly cookie
    </td>
    
    <td>
      A person who is not signed in passes the bot check for something they asked the app to do, such as a free generation.
    </td>
    
    <td>
      Counts what this browser did before signing up, and hands it to the account made here.
    </td>
    
    <td>
      1 year.
    </td>
    
    <td>
      Not needed: strictly necessary
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        nuxt-backend:invite
      </code>
    </td>
    
    <td>
      session storage
    </td>
    
    <td>
      A person opens an invite link or enters an invite code.
    </td>
    
    <td>
      Keeps the invite until the sign-in that uses it.
    </td>
    
    <td>
      Until the tab closes.
    </td>
    
    <td>
      Not needed: strictly necessary
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        nuxt-backend:email-presence
      </code>
    </td>
    
    <td>
      session storage
    </td>
    
    <td>
      A signed-in person opens the app.
    </td>
    
    <td>
      Tells the backend their time zone at most once a day, so emails respect their quiet hours.
    </td>
    
    <td>
      Until the tab closes.
    </td>
    
    <td>
      Not needed: strictly necessary
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        nuxt-backend:upgrade-dismissed
      </code>
    </td>
    
    <td>
      local storage
    </td>
    
    <td>
      A person dismisses an upgrade prompt.
    </td>
    
    <td>
      Keeps the prompt hidden for the time the app sets. Without preferences allowed, it is kept for the tab only.
    </td>
    
    <td>
      The app's cool-down, a year at most.
    </td>
    
    <td>
      Only after consent: <code>
        preferences
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        nuxt-backend:reload
      </code>
    </td>
    
    <td>
      session storage
    </td>
    
    <td>
      A page's code fails to load before the app starts, and the page reloads to fetch it again.
    </td>
    
    <td>
      Keeps that page from reloading again for a minute, so a failure that persists never turns into a loop.
    </td>
    
    <td>
      Until the tab closes.
    </td>
    
    <td>
      Not needed: strictly necessary
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        /_backend/push/worker.js
      </code>
    </td>
    
    <td>
      push subscription and service worker
    </td>
    
    <td>
      A signed-in person turns notifications on for a device and allows them in the browser.
    </td>
    
    <td>
      The push subscription lets the app send that device notifications. The service worker, where the browser needs one, shows them and opens the app on a click; it caches nothing.
    </td>
    
    <td>
      Until the person turns notifications off on the device or takes back the site's permission.
    </td>
    
    <td>
      Not needed: strictly necessary
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        sentryReplaySession
      </code>
    </td>
    
    <td>
      session storage
    </td>
    
    <td>
      A person allowed session replay, and the app turned it on.
    </td>
    
    <td>
      Records, masked, the minute before an error and the rest of that visit, to find what went wrong.
    </td>
    
    <td>
      Until the tab closes.
    </td>
    
    <td>
      Only after consent: <code>
        replay
      </code>
    </td>
  </tr>
</tbody>
</table>

So an app on the package's defaults needs no cookie banner. The consent manager, `<ConsentPrompt>` driven by `useConsents`, stays off until `consent.purposes` lists something that needs consent, such as session replay. Then it asks, records the answer in the consent ledger, and starts the integration only after a yes. Withdrawing takes no more effort than agreeing (GDPR Art. 7(3)). An analytics tool or script of your own is yours to check. Vercel Web Analytics [sets no cookies](https://vercel.com/docs/analytics/privacy-policy), but the guidelines above may still reach it.

## Consents and deletion

Both are participants of the registry:

- **Consents.** Each consent a person gives, to your terms, your privacy policy or a marketing topic, is a row of a versioned ledger: what they agreed to, which version, and when they gave or withdrew it. A consent given before sign-up, such as on a waitlist, is kept by a hash of the address and carried over to the account. An export includes the ledger, and an erasure covers it like every other participant ([Consents](https://nuxt-backend.dev/docs/build/auth/accounts/consents)).
- **Deletion with a grace period.** Asking to delete an account schedules its erasure instead of running it at once. The person gets an email with a link to keep the account, and can cancel until the grace period ends. Then the erasure runs every participant above ([Export and delete account data](https://nuxt-backend.dev/docs/build/auth/accounts/data)).

## The erasure cascade

One erasure reaches every place the package put a person's data. It runs in the order below, and resumes where it stopped if a step fails ([Requests about personal data](#requests-about-personal-data)).

<table>
<thead>
  <tr>
    <th>
      Where
    </th>
    
    <th>
      What the erasure does
    </th>
    
    <th>
      When
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Your Convex deployment
    </td>
    
    <td>
      Deletes or pseudonymizes every participant's rows, as the inventory says
    </td>
    
    <td>
      Today
    </td>
  </tr>
  
  <tr>
    <td>
      The files they uploaded
    </td>
    
    <td>
      Deletes them from file storage
    </td>
    
    <td>
      Today
    </td>
  </tr>
  
  <tr>
    <td>
      The email provider's contact
    </td>
    
    <td>
      Deletes the contact, with its segments and topics
    </td>
    
    <td>
      Today
    </td>
  </tr>
  
  <tr>
    <td>
      The billing provider's customer
    </td>
    
    <td>
      Deletes it with <code>
        anonymize=true
      </code>
      
      , which keeps its orders for the provider's books (<a href="https://polar.sh/docs/api-reference/2027-01/customers/delete-customer-by-external-id" rel="nofollow">
        Polar
      </a>
      
      )
    </td>
    
    <td>
      Today
    </td>
  </tr>
  
  <tr>
    <td>
      The monitoring service
    </td>
    
    <td>
      Reports name no account once it is deleted. What was reported keeps its scrubbed contents until the service's retention removes it: its per-user deletion is not confirmed
    </td>
    
    <td>
      Today
    </td>
  </tr>
  
  <tr>
    <td>
      The email component's records
    </td>
    
    <td>
      Expire with their retention, 7 to 30 days
    </td>
    
    <td>
      Today
    </td>
  </tr>
  
  <tr>
    <td>
      The mounted billing component's sync
    </td>
    
    <td>
      Kept: it has no delete yet, and names ids only
    </td>
    
    <td>
      Upstream gap
    </td>
  </tr>
</tbody>
</table>

## Requests about personal data

Answer a request within one month (GDPR Art. 12(3)).

- **Access.** A signed-in person exports everything from `/security`: one file, with the files they uploaded, behind a link that works for an hour, at most three a day. An administrator acting as the account can't.
- **Rectification.** A person changes their name, address and language on `/profile` ([Profile](https://nuxt-backend.dev/docs/build/auth/accounts/profile)).
- **Erasure.** Deleting the account from `/security` runs every participant above once its grace period ends. An administrator removes an account from the admin console the same way. For someone without an account (a gift's recipient, an invitee, a contact, someone who sent a notice on the report form), run `account.forgetEmail(ctx, email)` from an internal mutation of yours. It matches the address exactly, trimmed and lower-cased: a notice sent from `me+shop@example.com` is erased by that address, not by `me@example.com`, so erase each address the person names.
- **A failed erasure.** A participant that keeps failing stops the erasure there and logs `account.erasure_failed`. Running `account.forget` for the account again resumes it ([Respond to incidents](https://nuxt-backend.dev/docs/ship/operate/runbooks#an-erasure-stopped)).
- **Retention.** Every window the package enforces is in [Limits and retention](https://nuxt-backend.dev/docs/reference/backend/limits#windows-and-lifetimes).

## Data residency and transfers

Where each provider keeps data, and what you choose, checked on 2026-10-25:

<table>
<thead>
  <tr>
    <th>
      Service
    </th>
    
    <th>
      Where data lives
    </th>
    
    <th>
      Your choice
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Convex
    </td>
    
    <td>
      The deployment's region: US by default, EU (Dublin), Canada or Australia
    </td>
    
    <td>
      Chosen when you create the deployment. The EU region costs more, and moving a deployment means a backup and a restore (<a href="https://nuxt-backend.dev/docs/services/convex">
        Convex
      </a>
      
      ).
    </td>
  </tr>
  
  <tr>
    <td>
      Resend
    </td>
    
    <td>
      Mail is sent from the region you pick; account data, contacts and logs stay in the US
    </td>
    
    <td>
      <code>
        EMAIL_REGION
      </code>
      
      : <code>
        us-east-1
      </code>
      
      , <code>
        eu-west-1
      </code>
      
      , <code>
        sa-east-1
      </code>
      
       or <code>
        ap-northeast-1
      </code>
      
       (0.2.0) (<a href="https://nuxt-backend.dev/docs/services/resend">
        Resend
      </a>
      
      )
    </td>
  </tr>
  
  <tr>
    <td>
      Polar
    </td>
    
    <td>
      A US company, Polar Software, Inc.
    </td>
    
    <td>
      None
    </td>
  </tr>
  
  <tr>
    <td>
      Vercel
    </td>
    
    <td>
      Functions run in the region you set; a US company
    </td>
    
    <td>
      The project's function region. The Vercel AI Gateway can pin inference to the EU (<a href="https://nuxt-backend.dev/docs/services/ai-gateway">
        AI gateway
      </a>
      
      ).
    </td>
  </tr>
  
  <tr>
    <td>
      Sentry
    </td>
    
    <td>
      The US or the EU data region
    </td>
    
    <td>
      Chosen when you create the organization (<a href="https://nuxt-backend.dev/docs/services/sentry">
        Sentry
      </a>
      
      )
    </td>
  </tr>
</tbody>
</table>

Personal data that leaves the EU needs a transfer tool (GDPR Chapter V). For US providers certified under the EU–US Data Privacy Framework, the Commission's [adequacy decision](https://eur-lex.europa.eu/eli/dec_impl/2023/1795/oj) covers it. The General Court upheld that decision in 2025, and an appeal, C-703/25 P, is pending at the Court of Justice ([summary](https://www.wilmerhale.com/en/insights/blogs/wilmerhale-privacy-and-cybersecurity-law/20251201-european-court-of-justice-to-review-challenge-to-eu-us-data-privacy-framework)). Keep the [standard contractual clauses](https://eur-lex.europa.eu/eli/dec_impl/2021/914/oj) in each agreement as a fallback, and check whether each provider is certified.

## What stays yours

- **Your privacy notice** (GDPR Art. 13): the packaged page is a start, and your own features and tables belong in it.
- **A legal basis for each purpose** (Art. 6): contract for the account and billing, consent for marketing and replay, and your own analysis for the rest.
- **Your record of processing activities** (Art. 30), built from the data map.
- **A data protection impact assessment** where processing is likely high risk (Art. 35). Generating images from people's photos may be.
- **Breach notification** to your authority within 72 hours (Art. 33) ([Respond to incidents](https://nuxt-backend.dev/docs/ship/operate/runbooks)).
- **An EU representative** when your company is outside the EU and serves people in it (Art. 27).
- **California:** a notice at collection and the right to opt out of sale or sharing, once the CCPA's thresholds reach you ([CCPA](https://oag.ca.gov/privacy/ccpa)).

## Related

- [Compliance](https://nuxt-backend.dev/docs/ship/compliance): who answers for what.
- [Export and delete account data](https://nuxt-backend.dev/docs/build/auth/accounts/data): the export and the erasure in the app.
- [Record consents](https://nuxt-backend.dev/docs/build/auth/accounts/consents): the consent ledger.
- [Services](https://nuxt-backend.dev/docs/services): each provider's agreement and region.
- [Production checklist](https://nuxt-backend.dev/docs/ship/checklist): what to confirm before launch.


## Sitemap

See the full [sitemap](https://nuxt-backend.dev/sitemap.md) for all pages.
