Skip to main content
All CollectionsGetting started
How to prevent a dataset from expiring
How to prevent a dataset from expiring

Learn more about the data retention period and different ways to rename storages.

Alina Burova avatar
Written by Alina Burova
Updated over 11 months ago

All Actor runs and default storages (key-value store, dataset, request queue) will expire and be deleted after the data retention period to conserve your storage space.

The data retention period depends on your subscription plan. The default storages expire after 7 days on the free plan and 31 days on standard paid plans (or more on custom plans).

You can extend the data retention period in the Billing -> Limits tab in Apify Console.

The default storages for an Actor run are unnamed, identified only by an ID.

If you want to preserve a storage, assign it a name, and it will be retained indefinitely.

This can be done via Apify Console or through our API.

Name your storage via Apify Console

First, you'll need your store's ID. You can find it in the details of the run that created it. In Apify Console, head over to your run's details and select the Dataset, Key-value store, or Request queue tab as appropriate. Check that store's details, and you will find its ID among them.

Open your storage by clicking the ID, click on the Actions menu, choose Rename, and enter its new name in the field or just click on the pen icon near Unnamed.

Storages' names can be up to 63 characters long.

Your storage will now be preserved indefinitely.

Name your storage via API

To name your storage via API, get its ID from the run that generated it using the Get run endpoint. You can then give it a new name using the Update \[storage\] endpoint. For example, Update dataset.

Our SDKs and clients each have unique naming conventions for storages. For more information, check out the documentation:

SDKs:

Clients:

Named storages are only removed upon your request.

If you do not intend to download the run results right away after it finishes and might forget to do it later, or you have aborted the run gracefully and want to resurrect it later to complete the run, you might find it useful to keep renamed and saved storages on the Apify platform.

Did this answer your question?