Each plan keeps a fixed number of days of history: Free 30, Starter 365, Team 365, Agency 730 and Scale 3650. The window is counted back from today. It sets the oldest day a sync may pull, and etlmcp deletes the stored rows that fall before it. For year-over-year comparisons, pick a plan whose window covers both years, or keep the older rows in a destination that holds them.
One window per organization
The window belongs to the organization, so every workspace and every pipeline in it gets the same number of days. The billing page and the plans page list each plan's window. Billing is coming: every account starts on Free today.
What counts as today
A scheduled sync counts the window back from the pipeline's own date in its timezone. A run started by hand counts it back from today's date in UTC, or from the previous day where the pipeline's timezone has not reached today yet, so a pipeline set to a timezone behind UTC never reaches one day further back than its window allows.
The daily cleanup works on the calendar in UTC instead. It runs once a day and removes, for each organization, the rows dated before the UTC date minus the organization's window.
Older rows are deleted
The cleanup deletes the rows themselves from etlmcp's storage. They are gone from everything that reads that storage:
- query_data and the REST API's Query data return only the days still stored.
- The CSV export writes a new file on every run from the whole stored history, so a file written after the cleanup no longer holds the older days. A file you downloaded before stays as it is.
- A destination that receives only the dates each run pulled, such as a PostgreSQL table, is not touched by the cleanup. Rows it already holds stay there until you remove them, so it is where you keep history longer than your plan's window.
Syncs stop at the edge of the window
A backfill or a run started by hand with a first day before the window is refused: the dashboard and the REST API answer with a 400, and the MCP tool returns an error with the same text. The message names the plan and its window, for example the Free plan keeps 30 days of history; the general form is the {…} plan keeps {…} days of history. The backfill page lists this rule with every other check a date range must pass.
Daily syncs are cut at the same line without an error. Each routine sync re-pulls a trailing window of recent days, and when that trailing window reaches past your plan's history, its first day moves forward to the oldest day the plan keeps. The days of the trailing window that fall before the plan's edge are skipped, and the rest of the sync runs as usual. A run started through the REST API or MCP without dates pulls the same trailing window, cut the same way.
When a plan is lowered
Moving to a plan with a shorter window does not delete anything right away. etlmcp sets a trim date about 30 days after the change, and until that date and its warning have both passed, the cleanup keeps as much history as the longest plan window, so nothing the organization had is removed early.
Before the trim, each owner of the organization gets an email with the subject Older etlmcp history will be removed on {…}, naming the plan the organization is now on, the days of history it keeps and the date. If the warning could not go out in time, the trim date moves so owners still get at least 7 days of notice. While a trim is pending, the billing page shows the date as well.
Raising the plan again before that date calls the trim off when the new window is at least as long as the one being held. If it is still shorter, the trim goes ahead on its original date and removes only what falls outside the new window. The email reference describes the warning alongside the other messages etlmcp sends.