§Likuma Palīgs
Legal

Privacy Policy

Last updated: 20 November 2026

Likums ("we", "the service") answers questions about Latvian law and links every answer back to the law in force on likumi.lv. This policy explains what personal data we collect, why, how long we keep it, and the rights you have over it. It applies to the Likums website and to the Likums connector when you use it inside ChatGPT, Claude, or another AI assistant.

For any privacy question or request, contact us at the address at the end of this page.

01What we collect

We collect what the service needs to work, and we measure how the website is used (see “Website measurement” below):

  • Account details — your email address, captured when you sign in with a magic link or a supported sign-in provider, plus your language preference.
  • Your questions and our answers — the legal questions you ask and the answers we return, kept as your conversation history so you can see them again. Question text is encrypted at rest. We review the questions asked, in aggregate and individually but without linking them to your account, to improve the service. Conversations are also assessed automatically, using our AI provider (Anthropic), to measure and improve answer quality; the assessment itself stores only a quality label. If you rate an answer (👍 or 👎, with an optional reason), that rating is stored with the conversation and linked to it (and to your account, when you are signed in).
  • Unanswered questions — when we could not answer a legal question, we keep it (encrypted) and pass it to the administrator for review. If you leave your email address under such a question, we use it only to tell you about that question and for nothing else. Leaving it is optional.
  • Usage metering — counts of how many questions you have asked, used to enforce the free-plan daily limit and to recognise a paid subscription.
  • Billing data — when paid plans are enabled, Polar (polar.sh) processes your payment as our merchant of record; we store a subscription record and a Polar customer reference, never your card number.
  • A rate-limiting fingerprint — an irreversible, truncated keyed hash (HMAC-SHA-256 with a server-side secret) of your IP address (for IPv6, of its /64 network), used only to throttle abuse and to enforce the daily question limit for visitors who are not signed in. The rate limiter keeps only this hash; website measurement (below) records your IP address separately.

02Website measurement

We measure how this website is used, for every visitor. Our own servers and Google Analytics record the pages you view and when, the page or campaign that brought you here, your approximate location derived from your IP address (country, region, city), your device, browser and operating system, your IP address and browser user agent, and, when you are signed in, your account id. To recognise a returning browser we store a random identifier in a first-party cookie (pc_vid, kept for 400 days) and in your browser's local storage, and a visit identifier (pc_sid) that ends after 30 minutes of inactivity; Google Analytics sets its own cookies (_ga, _ga_*) for the same purpose. Ahrefs Web Analytics also counts page views, without setting cookies. We use this data only to understand and improve the product; we do not sell it or use it for advertising.

03What we do NOT do

  • We do not sell, rent, or trade your personal data.
  • We do not use your questions or answers to train AI models — neither ours nor a third party's.
  • We do not show advertising or share your data with advertisers.
  • We do not ask for, or want, your personal legal documents — the service is question-and-answer only.

04AI processing and third parties

To produce an answer we send your question to service providers that act as our processors:

  • Anthropic (Claude) — generates the drafted answer from the retrieved law. Your question text is sent to Anthropic for this purpose. To assess answer quality, Anthropic also receives your conversation: the questions, our answers, and any 👍/👎 rating with its reason.
  • Google (Gemini) — turns your query into a search embedding so we can find the relevant provisions.
  • Polar (polar.sh) — our merchant of record; processes payments and subscriptions when paid plans are enabled.
  • Google (Analytics) and Ahrefs (Web Analytics) — website measurement, as described under “Website measurement”.
  • Vercel — hosts the application and serves requests.
  • Our database — your account and history are stored in a private PostgreSQL database we operate on servers in the EU (Finland).

05The law we cite

These providers process data on our instructions and may not use it for their own purposes. likumi.lv is the public, official source of the consolidated law text we cite — we read it; we never send it your personal data.

06How long we keep it

  • Account data — until you delete your account.
  • Conversation history — retained while your account is active so you can revisit it; deleted when you erase your account.
  • Unanswered questions and the email left with them — kept while we review the question; deleted when you delete your account or on request to the address at the end of this page.
  • Uploaded material — Likums does not accept document uploads; any transient upload record is purged automatically once past its retention date.
  • Billing records — kept for as long as the law requires us to retain financial records, then anonymised.
  • Website measurement — our own page-view records are kept without a fixed end date so usage can be compared over time; Google Analytics and Ahrefs keep their data under their own retention settings.

07Your rights (GDPR)

Likums is operated from Latvia and follows the EU General Data Protection Regulation. You have the right to:

  • Access — receive a copy of the personal data we hold about you, including your decrypted question history.
  • Rectification — correct inaccurate data.
  • Erasure — delete your account and personal data. Erasure is implemented in the service: it removes your account, conversations, questions, answers, sessions, and consent records, and detaches any billing customer reference.
  • Portability — receive your data in a machine-readable form.
  • Objection and restriction — object to or restrict certain processing.

08Where to complain

To exercise any of these rights, contact us at the address below. You also have the right to lodge a complaint with the Latvian Data State Inspectorate (Datu valsts inspekcija, dvi.gov.lv).

09Children

Likums is not directed at children; it is intended for adults who need information about Latvian law.

10Changes to this policy

We may update this policy as the service evolves. The date at the top shows when it last changed; material changes will be reflected here.

11Contact

klavins.ainars@gmail.com