Skip to content

docs: correct data retention for runs and storages - #3233

Open
TC-MO wants to merge 5 commits into
masterfrom
docs/data-retention
Open

TC-MO wants to merge 5 commits into
masterfrom
docs/data-retention

Conversation

@TC-MO

@TC-MO TC-MO commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Runs and builds still claimed the 10 latest runs are kept indefinitely and linked to a pricing page with no retention info, contradicting the Storage page that #2089 fixed. This aligns Runs and builds, the storage callouts, and the limits API description with the actual plan-based retention.

Runs and builds still said the 10 latest runs are kept indefinitely,
which contradicts the Storage page and is wrong on paid plans.
@TC-MO TC-MO added documentation Improvements or additions to documentation. t-docs Issues owned by technical writing team. labels Nov 16, 2026
@TC-MO TC-MO self-assigned this Nov 16, 2026
@apify-service-account

apify-service-account commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

❌ Preview build for this PR (commit 16be36a) failed. See action run for details.

@apify-service-account

Copy link
Copy Markdown
Contributor

API behavior and specification alignment:

Reviewed commit: 3cec5a5

Free plans keep the 10 most recent runs for up to 4 months past the
retention period, so "deleted when the period ends" was wrong there.
@apify-service-account

apify-service-account commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

API behavior and specification alignment: Aligned.

Reviewed commit: 16be36a

@TC-MO
TC-MO marked this pull request as ready for review November 20, 2026 15:07
@janbuchar
janbuchar removed their request for review November 20, 2026 22:42
examples: [90]
description: |
Apify securely stores your ten most recent Actor runs indefinitely, ensuring they are always accessible. Unnamed storages and other Actor runs are automatically deleted after the retention period. If you're subscribed, you can change it to keep data for longer or to limit your usage. [Lear more](https://docs.apify.com/storage#data-retention).
Unnamed storages and Actor runs are automatically deleted after the retention period. On the Free plan, the 10 most recent runs are kept for up to 4 months. If you're subscribed, you can change it to keep data for longer or to limit your usage. [Learn more](https://docs.apify.com/storage#data-retention).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Unnamed storages and Actor runs are automatically deleted after the retention period. On the Free plan, the 10 most recent runs are kept for up to 4 months. If you're subscribed, you can change it to keep data for longer or to limit your usage. [Learn more](https://docs.apify.com/storage#data-retention).
Unnamed storages and Actor runs are automatically deleted after the retention period. On the Free plan, the 10 most recent runs are kept for up to 4 months. On paid plans, you can keep data for longer or limit your usage. For details, see [Data retention](https://docs.apify.com/storage#data-retention).

**Q: What are the differences between default (unnamed) and named storage? Which one would you use for everyday usage?**

**A:** Unnamed storage is persisted for only 7 days, while named storage is persisted indefinitely. For everyday usage, it is best to use default unnamed storages unless the data should explicitly be persisted for more than 7 days.
**A:** Unnamed storage is deleted when your plan's data retention period ends, while named storage is persisted indefinitely. For everyday usage, it is best to use default unnamed storages unless the data should explicitly be persisted for longer.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**A:** Unnamed storage is deleted when your plan's data retention period ends, while named storage is persisted indefinitely. For everyday usage, it is best to use default unnamed storages unless the data should explicitly be persisted for longer.
**A:** Unnamed storage is deleted when your plan's data retention period ends. Named storage is retained indefinitely. For everyday usage, it's best to use default unnamed storages unless the data should be retained for longer.

**Q: What is data retention, and how does it work for all types of storages (default and named)?**

**A:** Default/unnamed storages expire after 7 days unless otherwise specified. Named storages are retained indefinitely.
**A:** Default/unnamed storages are deleted when your plan's data retention period ends. Named storages are retained indefinitely.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't it say the exact same thing as the answer above?

### Data retention

Apify securely stores your ten most recent runs indefinitely, ensuring your records are always accessible. All **Actor runs** beyond the latest ten are deleted along with their default storages (Key-value store, Dataset, Request queue) after the data retention period based on your [subscription plan](https://apify.com/pricing).
**Actor runs** are deleted along with their default storages (key-value store, dataset, request queue) when your plan's retention period ends. On the Free plan, your 10 most recent runs are kept for up to 4 months. For the retention period on each plan and how to change it, see [Data retention](/storage#data-retention).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**Actor runs** are deleted along with their default storages (key-value store, dataset, request queue) when your plan's retention period ends. On the Free plan, your 10 most recent runs are kept for up to 4 months. For the retention period on each plan and how to change it, see [Data retention](/storage#data-retention).
Actor runs are deleted along with their default storages (key-value store, dataset, request queue) when your plan's retention period ends. On the Free plan, your 10 most recent runs are kept for up to 4 months. For the retention period on each plan and how to change it, see [Data retention](/storage#data-retention).

## Data retention

How long Apify keeps your data depends on your plan. Unnamed storages and runs beyond the 10 most recent are deleted automatically; [named storages](#named-and-unnamed-storages) are retained indefinitely.
How long Apify keeps your data depends on your plan. Unnamed storages and Actor runs are deleted automatically when your plan's retention period ends; [named storages](#named-and-unnamed-storages) are retained indefinitely.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
How long Apify keeps your data depends on your plan. Unnamed storages and Actor runs are deleted automatically when your plan's retention period ends; [named storages](#named-and-unnamed-storages) are retained indefinitely.
How long Apify keeps your data depends on your plan. Unnamed storages and Actor runs are deleted automatically when your plan's retention period ends. [Named storages](#named-and-unnamed-storages) are retained indefinitely.

:::info Retention period

Named request queues are retained indefinitely. Unnamed request queues expire after 7 days unless otherwise specified. [Learn more](/storage#data-retention)
Named request queues are retained indefinitely. Unnamed request queues are deleted when your plan's retention period ends. [Learn more](/storage#data-retention)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is a third almost identical admonition, we could turn it into a partial with a variable. On the other hand, it doesn't look like something that will be edited this often.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation. t-docs Issues owned by technical writing team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants