Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ properties:
type: integer
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).

Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ pagination: true

**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.


> With named storages, it's easier to verify that you're using the correct store, as they can be referred to by name rather than by an ID.

**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?


## Wrap up {#wrap-up}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ On the results tab, there are a whole lot of options for which format to view/do

There's our solution! Did it work for you as well? Now, we can download the data right from the Dataset tab to be used elsewhere, or even programmatically retrieve it by using [Apify's API](/api/v2) (we'll be discussing how to do this in the next lesson).

It's important to note that the default dataset of the Actor, which we pushed our solution to, will be retained for 7 days. If we wanted the data to be retained for an indefinite period of time, we'd have to use a named dataset. For more information about named storages vs unnamed storages, read a bit about [data retention on the Apify platform](/storage#data-retention).
It's important to note that the default dataset of the Actor, which we pushed our solution to, will be deleted when your plan's data retention period ends. If we wanted the data to be retained for an indefinite period of time, we'd have to use a named dataset. For more information about named storages vs unnamed storages, read a bit about [data retention on the Apify platform](/storage#data-retention).

## Next up {#next}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ In the settings tab, you can set options that are common to all tasks and not di

### Runs

You can find all the task runs and their detail pages here. Every time you start a task, it will appear here in the list. Apify securely stores your ten most recent runs indefinitely, ensuring your records are always accessible. All of your task's runs and their outcomes, beyond the latest ten, will be stored here for the data retention period, [which you can find under your plan](https://apify.com/pricing).
You can find all the task runs and their detail pages here. Every time you start a task, it will appear here in the list. Runs and their outcomes are stored here for your plan's [data retention period](/storage#data-retention). On the Free plan, your 10 most recent runs are kept for up to 4 months.

### Webhooks

Expand Down
2 changes: 1 addition & 1 deletion sources/platform/actors/running/runs_and_builds.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ To do the same with the API, pass `maxTotalChargeUsd` to the [Resurrect Actor ru

### 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).


**Actor builds** are deleted only when they are _not tagged_ and have not been used for over 90 days.

Expand Down
2 changes: 1 addition & 1 deletion sources/platform/storage/dataset/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Typically, datasets hold results from web scraping, crawling, and data processin

:::info Retention period

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

:::

Expand Down
4 changes: 1 addition & 3 deletions sources/platform/storage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,14 @@ The SDKs and clients each have their own naming conventions. See:

## 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 How retention periods are enforced

* Free plan: Your 10 most recent runs are retained for 4 months.
* Paid plans: All data (including your 10 most recent runs) follows your plan's retention period, which you can configure in your billing settings.
* Named storages: Always exempt from deletion regardless of retention periods.

Unnamed storages beyond the 10 most recent runs are deleted when the retention period expires.

:::

## Estimate your costs
Expand Down
2 changes: 1 addition & 1 deletion sources/platform/storage/key_value_store/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Key-value stores are mutable - you can both add entries and delete them.

:::info Retention period

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

:::

Expand Down
2 changes: 1 addition & 1 deletion sources/platform/storage/request_queue.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A request queue supports breadth-first and depth-first crawling and custom data

:::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.


:::

Expand Down
Loading