# Export and data retention

> Export your events as CSV or JSON from Settings, how long each plan keeps raw data, and how to delete it.

Your data is yours. Export it as CSV or JSON whenever you like, and delete a site or your whole account from Settings.

## Export

Open Settings, then Export. Pick the site, the date range and the format.

| | |
|---|---|
| Formats | CSV, or JSON. |
| Rows | One per event: its type, time, page, referrer, device, country and the details you sent with it. |
| Paging | Up to 1,000 rows per page; a larger range comes as several files. |
| Range | Any dates inside your plan's history window. |

Exported rows carry no personal data, because none is stored: no IP addresses, no raw user agents, no names.

## How long raw data is kept

Raw events, the rows behind every number, are kept for your plan's history window and then deleted automatically. The dashboard's date picker shows the same window.

| Plan | Raw events kept |
|---|---|
| Solo | 90 days |
| Starter | 1 year |
| Growth, and the trial | About 13 months |
| Business | 2 years |

Imported history from Google Analytics is separate: it is stored as daily and monthly totals and kept until you replace or delete the import. See [Import your history](https://getclerion.com/docs/import-history).

## Deleting data

| To delete | Where |
|---|---|
| One site and all its events | Settings, the site's row, Delete. The tracking key stops working; re-adding the same address later revives it. |
| Visits from your own network | Settings, the site's row, the option to ignore localhost and private networks, with a button to remove what was already collected. |
| Your account and everything in it | Settings, Account, Delete account. |

Deletion is immediate in the dashboard and permanent.

## Questions

### Can I export from a script?

The dashboard's export calls the same endpoint it would show you; there is no separate public API for it yet. For reading figures from code, use the [MCP server](https://getclerion.com/docs/mcp), which serves aggregates to any client.

### Does the AI keep a copy?

No. The model receives aggregate statistics for the question at hand and keeps nothing. Briefings are stored with your account and deleted with it.

---

Source: https://getclerion.com/docs/export-and-retention (Clerion docs, Reference). The whole manual as one file: https://getclerion.com/docs/everything.md
