Privacy

Updated 19 November 2026

This page describes what the Diurna product collects, stores, sends to service providers, and deletes. It matches the code in this service. Diurna is not legal advice. This page is not a certification.

Who we are

Diurna is the service at trydiurna.com. Privacy requests go to hello@trydiurna.com.

Reading without an account

You can search and read without signing in. Vercel hosts the site and receives each request, including the IP address, URL, and headers. When Vercel forwards an address, Diurna stores a keyed hash of that address with an endpoint label, the endpoint name, and a count, so it can rate-limit. The hash uses the same pepper as account hashes in the logs when that pepper is set. The address itself is not stored. Those rows are deleted after one hour. Email addresses are not stored in that table. An address that contains @ is stored as a SHA-256 hash. Unknown client addresses are labeled as unknown and are not counted toward stricter limits.

For that request only, Diurna reads Vercel's country and region headers to suggest a place. It does not write that place into a cookie, the URL, or the database. A first-party httpOnly cookie stores the visit time and the ids of feed items you mark read. It is SameSite=Lax and lasts up to a year on the browser. It is marked Secure when the server runs in production. The application does not load an advertising script. Error reports and product analytics are described under Error monitoring and analytics. Both stay off when not configured on the deployment.

Account

Sign-in stores your email in lowercase. You can also save a display name, a role label, a home place, and topics. Digest frequency defaults to weekly. Time zone defaults to America/Los_Angeles. You can change both.

The sign-in code is eight digits. The database stores a SHA-256 hash of a server pepper, your email, and the code. It does not store the code. The code expires in 15 minutes, works once, and only one unused code is kept for an address. A new code replaces the previous one. After 5 wrong codes for that email, the next attempt waits, and the wait grows up to 15 minutes. When the server can see a client address, attempts from that address wait after 20 failures, with the same growth up to 15 minutes. Ten failed attempts for one email in 15 minutes, or 25 from one known address, stop further attempts until that 15 minutes ends. Asking for a code counts toward the address limit. A successful sign-in clears the email count and that address count. Unknown client addresses are not counted toward the address limit. The stored subject is a hash, not the email or the address. When the log pepper is set, that hash is an HMAC. Production refuses sign-in when the pepper is missing. Development and tests keep the counts in memory. When a failure is recorded, guard rows whose last failure is older than one day are deleted. A failure older than 15 minutes no longer counts. The account stays open. The secure sign-in cookie holds a random token. The database stores a SHA-256 hash of that token, an expiry of 7 days, and the first 200 characters of the user agent. The cookie is httpOnly and SameSite=Lax. It is marked Secure when the server runs in production.

A successful or failed sign-in appends a security audit row with the account id, the action, and the time. The email is not copied into that row. An optional authenticator stores its shared secret as AES-256-GCM ciphertext under a dedicated server key. The authenticator code is 6 digits. Ten recovery codes are stored as a SHA-256 hash and each code works once. A second-factor challenge expires in 10 minutes. A passkey stores the public key and a signature counter. The private key stays on the device. A team owner can require an authenticator for that team. An account API key still opens that team. Failed authenticator attempts slow down and do not disable the account.

What you save

Signed-in use can store:

  • Saved searches: a name, the search link, and an alert frequency.
  • Follows: the kind of target and its id.
  • Feed triage: the record id, whether it is visible, muted, or snoozed, and the snooze time. A receipt of that command is kept. Both are limited to the signed-in account.
  • Court watches: a name, a query of up to 500 characters, a court, a frequency, the account email, a citation, and a source URL. The watch is matched against opinions Diurna has already stored. The query is not sent to the court or to GovInfo.
  • Issue briefs: the query, a title, and quotes from official passages already stored. If issue briefs are off, or no xAI key is set, the brief is those quotes and nothing is sent to a model. If both are on, the query and the passages are sent to api.x.ai. The privacy section on service providers describes what that request includes.
  • API keys: a name, a short prefix, a SHA-256 hash of the secret, the endpoint scopes, and an optional list of allowed addresses. The secret is shown once. A key with no custom scope has full access. An empty address list allows every address. Revoking a key marks it revoked. The row stays.
  • Webhooks: the URL you choose, and the signing secret encrypted with AES-256-GCM. Delivery is HTTPS only. Diurna refuses private, loopback, and metadata addresses, connects to the DNS answers it just checked, and does not follow redirects. Turning a webhook off keeps the row and removes the encrypted secret and the previous secret. Rotating a secret leaves the previous secret valid for 24 hours.
  • Digest mail: an unsubscribe token stored as a hash and as AES-256-GCM ciphertext. A sent alert records the destination email, subject, window, status, and the SES message id.

Team material

A Team organization stores its name, member emails, roles, and invitations. On the invitation row, the token is stored as a hash. A repeated-request receipt does not hold the token. Shared lists store citations, titles, and links. Notes are text up to 4,000 characters. Client matters store a profile, review records, and drafts for members of that organization. A list position is support, oppose, or watch. Members see organization material according to role. The security page describes how that boundary is enforced.

Repeated requests

A saved-search, alert, team-list, or invitation POST stores an extra row only when the request sends an Idempotency-Key header. That row holds the account id, the route, the key, and a SHA-256 fingerprint of the method, path, and body. The body itself is not stored. When the response fits, the row also holds the response text. If it does not fit, the in-progress row stays until it expires. The invitation response sent to the caller includes the invitee email and the invitation token. The stored copy of that response omits the token, and a later replay does not include it. A saved-search response can include the saved-search cookie. The row is written to expire 24 hours later. A bounded sweep removes expired rows, up to 32 at a time, when a receipt is claimed, completed, or released. There is no separate deletion job. If the handler throws, the in-progress row is deleted.

When zero data retention applies to that request, the stored response text is a fixed placeholder that only states retention mode, and the stored header list is empty. The original response text is not stored. A replay returns that fixed text and the original status. The trust page states the rest of that mode.

Payments

Checkout opens a Stripe subscription page. The checkout session Diurna creates does not include your email or your user id. If you already have a Stripe customer id, the session is opened for that customer. Promotion codes can be entered on that page. When automatic tax is turned on, Stripe also collects a billing address. You enter the card on Stripe. Diurna does not store the card number, expiration, or security code. When Stripe sends a webhook, Diurna stores the Stripe customer id, the email if that event includes one, the subscription id, status, plan, price, period end, and the event id and type. A failed invoice also stores a dunning row: the Stripe customer, invoice, subscription if present, attempt count, next retry, and the plain-language email text. When sending is enabled, Diurna sends that note through Amazon SES to the account email and updates the row once to record that the email was sent, suppressed, or refused. The application cannot delete the row. If Stripe stops retrying the card, the plan returns to Free. Saved searches, notes, matters, and the rest of the account stay. An operator refund or credit stores the operator account, the Stripe customer, the amount in cents, and the Stripe reference. Those rows are append-only.

Email

Sign-in codes and tracking digests go out through Amazon SES when sending is enabled. The sender is Diurna <alerts@trydiurna.com>. Mail from mail.thecambrianlabs.com is still accepted during the changeover. SES is configured to require TLS. A sign-in message contains the code. A digest lists the names and links of items you track. Bounce and complaint notices go to Amazon SNS and then to the operator email configured for that topic. A permanent bounce or a complaint about mail Diurna sent is also stored: the lowercase recipient address, the reason, the SNS message id, and the SES feedback id when SES sends one. Repeated transient bounces are counted; after three, the address is stored with the same fields as a permanent bounce. Diurna does not mail a suppressed address again. The application can add and read that row. It cannot delete it. If sending is off, SES is not called. A failed payment uses the same SES path. The note names the invoice and links to billing settings. It does not include the card number.

Official sources

Diurna fetches public statute, bill, ordinance, and court pages to build its corpus. Those requests identify the loader. They do not include your account email, saved searches, or watch queries. Court watches match opinions published on the court's own site. Federal opinions may also cite the GPO publication on govinfo.gov. Each opinion keeps a citation and source URL. A court without an official source is not included on Pro or Team. PACER federal trial dockets are out of scope. CourtListener is not called. When a GovInfo key is set, federal opinions may also be read from the Government Publishing Office API. That request does not include your account.

Service providers

Diurna uses the subprocessors below to run the product. The list is the same on this page and on the privacy page.

ProviderRoleData sentRegion / notes
VercelWebsite and API hosting, edge and serverless request routingHTTP requests, including URL, method, headers, and client address when the platform forwards itGlobal edge; application data stays in configured AWS regions
Amazon Web ServicesPostgreSQL 16 database, S3 source storage, background jobs, CloudWatch logs, Amazon SES email delivery, and Amazon Bedrock in us-east-1 for Ask Diurna when enabledAccount data, product content, operational logs, outbound email, and model prompts for Ask Diurna when that feature is onus-east-1
StripeSubscription billing, hosted checkout, and payment card storageBilling contact, subscription status, and card data you enter on Stripe-hosted pagesStripe infrastructure
xAIIssue-brief generation when enabled and configured, with search disabled and PII redaction appliedBrief query and official passage text sent to api.x.ai when issue briefs are on; email addresses, account id, and long display names are removed firstxAI infrastructure
SentryApplication error reporting when configured; browser reporting only after analytics or error consent and blocked by Do Not Track or Global Privacy Control; tracing, session replay, and profiling offRedacted error events without account email, cookies, authorization headers, or request bodiesSentry cloud
PostHogProduct analytics and masked session replay in US or EU cloud via this site’s /ingest proxy when configured; opted out by default until consent is granted and hidden under Do Not Track or Global Privacy ControlPage views and product actions after consent; cookies and authorization headers are stripped at the proxyUS or EU PostHog Cloud

xAI receives an issue-brief request only when issue briefs are enabled and an API key is set. The call is HTTPS to api.x.ai, with redirects refused and xAI search turned off. The body is the brief query and the official passage text. Before it is sent, Diurna removes email addresses, phone numbers, API keys and tokens, private workspace notes and matter names, this account's id, and this account's display name when that name is a phrase of at least three characters and each word is at least two characters. A shorter name is not removed. Passage and document ids stay. Legal citations and case captions in the official text stay. The prompt is not stored. Diurna logs redaction counts only, not the removed values. Diurna stores this account's model spend for the UTC month and one global total. The default caps are 5 dollars for the account and 50 dollars for all accounts. The deployment can set different caps. A log line is written when global spend reaches 80 percent of that cap. A cap of zero, a reached cap, or a failed call leaves the brief as quotes from the stored passages. If you connect Grok or another agent to the MCP endpoint, that agent sends the tool call and receives the tool result. That path is separate from the issue-brief call. Private client-matter tools refuse an API key. They require your account session, which that key connection does not send. Ask Diurna is a separate call. It stays off unless a supported AWS runtime role is configured. When it is on, Diurna sends the question and the official excerpts from its search, statute, bill, and change-feed tools to Amazon Bedrock in us-east-1 with temporary credentials. Diurna does not use a long-lived access key. The same outbound redaction runs first. Ask Diurna does not write the monthly xAI spend rows.

Diurna does not sell personal information and does not share it for advertising. The product has no advertising integration.

Error monitoring and analytics

Sentry receives error reports when the deployment is configured for it. The browser, the Node.js server, and the edge runtime share that configuration. The SDK does not send your account email, IP address, cookies, request bodies, or authorization headers. Source maps upload to Sentry only when the build is configured with Sentry credentials. Performance tracing, Sentry session replay, profiling, and Sentry logs are off, so the integration stays on error monitoring and does not sample spans or Sentry replays. If Sentry is not configured, no error report is sent. Browser error reports follow Do Not Track and Global Privacy Control, not the analytics consent cookie. Server errors are always logged when Sentry is configured. The Node.js server and the edge runtime do not read the analytics consent cookie. Do Not Track and Global Privacy Control keep browser error reports off, the same way they keep product analytics off.

PostHog records page views, product actions, heatmaps, and session replay when the deployment is configured with a project token. The cloud region is US or EU. An invalid region turns PostHog off. The browser sends those requests to this site at /ingest, and Next.js rewrites them to PostHog Cloud in that region. Before the rewrite, the proxy removes cookies and authorization headers. Capture starts opted out and the analytics SDK does not initialize or send anything until Accept. Accept turns it on without a reload. PostHog keeps that choice in local storage and a first-party cookie. Diurna also stores the choice in a consent cookie for 180 days. That cookie is SameSite=Lax, is not httpOnly, and is marked Secure on HTTPS. Replay masks all text and every input. Feature flags, surveys, and PostHog exception capture are off. Profiles are created only after you are identified. 10 percent of consented sessions are recorded, which keeps recordings inside PostHog's free allowance of 5,000 a month unless traffic is far above that. URL parameters named email, token, code, and q are masked. A notice asks you to accept or decline before analytics or replay start. The browser Do Not Track setting and Global Privacy Control both hide that notice. Declining stores that choice and does not load or start capture. If PostHog is not configured, it is not loaded. The notice appears only when product analytics is configured and you have not chosen. Diurna does not send your email address to PostHog. A successful sign-in can send the account id, not the email, only after consent is granted and the request does not send Do Not Track. That server event reads the Do Not Track header and the consent cookie. It does not read Global Privacy Control.

Logs

Application logs pass through a redactor before they are written. The redactor removes email addresses, cookies, tokens, API keys, Stripe secrets, AWS access key ids, and card numbers that pass a checksum. The MCP bridge uses the same redactor. Security audit rows store an actor id, an action, a target id, and redacted metadata. The database rejects updates and deletes of those rows. Each API request also writes one line: a request id, a hash of the account id when the caller is signed in, the route template, the method, the status, and the latency. That line does not include the query string. When a log pepper is set, the account hash is an HMAC. Otherwise it is a SHA-256 prefix. A server error stores a group: a fingerprint, the route, a redacted message of up to 500 characters, one stack frame, a count, and the last request id. The application can insert and update that count. It cannot delete the row. A job that exhausts its retries stores a dead letter: the job name, the attempt count, an error code, and a redacted detail of up to 300 characters. That row is append-only.

When the site calls the private PostgreSQL data API in AWS, it may forward the visitor's IP address and User-Agent in request headers. Those values are length-capped and stripped of control characters. They are written to operational logs on the data service and are not used for sign-in, API keys, or rate limits. The HTTP API access log records the integration caller address and user agent. Those data-path logs are kept for 7 days.

Where data sits

Account and customer rows are written to PostgreSQL. The infrastructure code places that database on Amazon RDS for PostgreSQL 16 in us-east-1, with encrypted storage, SSL required, no public endpoint, and backups kept for 7 days. That configuration is not multi-AZ. Deleting the database instance does not delete those automated backups. Application CloudWatch logs default to 30 days, and job logs default to 14 days. The source bucket inventory records AES-256 server-side encryption and a public-access block. Vercel may handle the HTTP request outside us-east-1. Stripe stores billing data on Stripe's systems. This page does not name a Stripe region.

Deletion

You can do these yourself:

  • Sign out of the current browser, sign out of all other browsers at once from Account settings, or sign out everywhere.
  • Delete a saved search you own, unless a team list still points at it.
  • Delete your own team notes. Owners and admins can delete notes.
  • Delete a court watch. That removes the row for your account.
  • Revoke an API key. The row remains, marked revoked.
  • Turn off a webhook. The endpoint row remains, and the encrypted secret is removed.
  • Download your account from Settings. The file is JSON for the signed-in account. It includes your profile, saved searches, follows, boards, notes, matters, alerts, and API key metadata (the name and prefix). It does not include secrets or key hashes. That download is limited to 5 times a minute for the account.
  • Delete the account from Settings. The page asks you to type DELETE or your email. That request cancels the Stripe subscription first, then removes or anonymizes the account. The stored email becomes an erased address at users.invalid, and the session cookie is cleared.

Boards in an organization where you are the only member are hidden immediately and permanently deleted after 30 days. A client matter on that board keeps its profile, with the anonymized account as the author, and drops the board link so the board can be deleted. An organization with other members keeps its boards and matters. Saved searches, alerts, watches, and follows for the account are deleted with it. Used sign-in codes for that address are deleted with it.

Rate-limit rows older than one hour are deleted. Until an alert is deleted, its row keeps the destination email. Audit rows cannot be deleted by the application. Account deletion rewrites them so the actor is erased and clears the stored metadata. Operator billing adjustments stay, with the anonymized account as the actor. Failed-payment dunning rows for that Stripe customer are deleted with the account. An email suppression for that address is deleted with the account. Error groups and job dead letters are not stored per account, and they stay. A deleted database row can remain in an RDS backup until that backup passes 7 days. Questions about what a backup, an audit row, or Stripe still holds can go to hello@trydiurna.com.

Children

Diurna is not directed at children. The product does not ask for a date of birth.

Privacy · Terms · Security · Trust · hello@trydiurna.com