Delete Data
NeuralRepo deletes in two steps. Archiving an idea hides it but keeps it in the database. Permanently deleting removes archived ideas for good, with everything attached to them. Deleting your account removes everything you own at once. Both permanent deletions happen in the web app, under Settings ▸ Delete, and neither can be undone.
What is the difference between archiving and deleting?
Section titled “What is the difference between archiving and deleting?”| Archive | Permanently delete | Delete account | |
|---|---|---|---|
| Where | Web app, nrepo rm, DELETE /ideas/:id, MCP delete_idea | Settings ▸ Delete (web only) | Settings ▸ Delete (web only) |
| Applies to | One idea | Archived ideas only | Everything you own |
| Idea row | Kept, marked is_archived = 1 | Deleted | Deleted |
| Search vector | Deleted at once | Deleted | Deleted |
| Tags, links, relations, duplicate records | Kept with the archived idea | Deleted | Deleted |
| Can be undone | No: nothing in NeuralRepo un-archives an idea | No | No |
Archiving is still one-way: an archived idea leaves every list, search, export and the mind map, and no control brings it back (see Delete Idea). What permanent deletion adds is removing the data itself.
How do I permanently delete archived ideas?
Section titled “How do I permanently delete archived ideas?”-
Open Settings ▸ Delete in the web app. The Delete Data section shows how many archived ideas you have.
-
Click Permanently delete archived ideas and confirm the prompt (Permanently delete N archived ideas? This cannot be undone.).
-
The page reports Deleted N archived ideas.
This deletes every archived idea at once. It removes each idea with its tags, links, relations, duplicate records and search vectors. A tag that no remaining idea uses is deleted too. A tag still in use has its search vector rebuilt from the ideas that remain, so a deleted idea’s title no longer shapes it.
The button is greyed out when you have no archived ideas. Live ideas are never touched, so to permanently delete an idea, archive it first.
How do I delete my account?
Section titled “How do I delete my account?”-
Export first if you want a copy. Deletion can’t be undone, and archived ideas are never in an export. See Export.
-
Open Settings ▸ Delete in the web app and go to Delete account.
-
Type your account email into the box. The Delete account button stays disabled until it matches (letter case doesn’t matter).
-
Click Delete account. You are signed out and returned to the home page.
You can do this even if NeuralRepo is waiting for you to accept updated Terms. Like permanent
deletion, it needs a web session: an API key or MCP token gets 403
Sign in on the web to delete your account.
What does deleting my account remove, and what is kept?
Section titled “What does deleting my account remove, and what is kept?”Removed:
- Every idea, archived or not, with its tags, links, relations, duplicate records and attachments
- Every search vector for your ideas and tags
- Your AI agent chat history
- Your API keys, connected MCP clients (their access and refresh tokens), sessions, sign-in links, and the GitHub, Google or Apple sign-ins attached to the account
- Your saved AI provider keys (BYOK), settings and email capture address
- Any subscription: it is canceled immediately, along with any checkout still open
Kept:
| Record | Why |
|---|---|
| Which Terms, Privacy Policy and addenda versions you accepted, and when | The legal record of consent. Your email in the account row is replaced with a one-way hash, and every other personal, payment and BYOK field is cleared. |
| Stripe payment history (amounts, Stripe IDs) | The financial record |
| AI usage counts (model, token counts, cost) | Detached from you, then deleted by the 90-day sweep below |
Out of reach: deleting your account can’t touch these. The DELETE /user/me response lists
them in out_of_reach. The web app goes straight to the home page and doesn’t show that list,
and its warning before you delete names only some of them (it leaves out D1 Time Travel):
- Cloudflare Workers Logs and AI Gateway logs, which age out on their own retention
- Resend’s email delivery logs
- Stripe’s customer, invoice and payment records
- What Anthropic, OpenAI or OpenRouter received under your own API key, per your agreement with them
- Database point-in-time restore (D1 Time Travel), which keeps earlier states for up to 30 days
Signing in again later with the same email or provider creates a new, empty account.
What is cleaned up automatically?
Section titled “What is cleaned up automatically?”Every day at 04:00 UTC, a retention sweep deletes:
| Data | Deleted when |
|---|---|
| Web sessions | Expired: 30 days after last use |
| MCP authorization codes | Expired (10 minutes) or already exchanged |
| Magic sign-in links | Expired: 15 minutes after they were sent, used or not |
| MCP access keys | Older than 30 days. Sign-in already refuses them at 30 days, and the client refreshes or re-authorizes |
| MCP refresh tokens | Expired (90 days) or replaced by a refresh |
| AI usage records | Older than 90 days |
The sweep never deletes ideas. Archived ideas stay until you permanently delete them.