What is the data retention period?
Retention applies to trace data. A trace is the record of one run: the model calls, the tool calls, timing, inputs and outputs, errors, and the evaluations and annotations attached to that run.
Agenta Cloud
How long Agenta Cloud keeps trace data depends on your plan.
| Plan | Trace data retention |
|---|---|
| Hobby | 1 week |
| Pro | 1 month |
| Business | 3 months |
| Enterprise | Custom |
Agenta deletes trace data once it passes the limit for your plan. A cleanup job runs every 30 minutes, so data disappears shortly after it ages out. Deletion is permanent and there is no restore.
If you need a trace for longer than your plan keeps it, export it or fetch it through the API before it ages out.
Retention does not apply to the rest of your workspace. Your prompts, configurations, test sets, and evaluator definitions stay for as long as your account exists.
To raise your retention period, move to a higher plan on the pricing page, or contact us about an Enterprise plan if you need a custom period.
Self-hosted
Self-hosted deployments have no retention limit. Trace data lives in your own database and Agenta never removes it. The cleanup job that enforces retention on Agenta Cloud does not run against self-hosted deployments, and self-hosted plans do not set a retention period.
If you want to cap how much history you keep, you control that yourself in your own database.