# Refresh all datasets on my account simultaneously

**URL:** <https://community.amazonquick.com/t/refresh-all-datasets-on-my-account-simultaneously/12298>\
**Category:** Q&A\
**Tags:** spice, quick-sight\
**Created:** [April 16, 2023, 6:15pm UTC](https://community.amazonquick.com/t/refresh-all-datasets-on-my-account-simultaneously/12298 "2023-04-16T18:15:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mateoleon210](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@mateoleon210](https://community.amazonquick.com/u/mateoleon210)\
**Post date:** [April 16, 2023, 6:15pm UTC](https://community.amazonquick.com/t/refresh-all-datasets-on-my-account-simultaneously/12298/1 "2023-04-16T18:15:48Z")

</div>

Hi, is there a comand to refresh all my datasets on spice at the same time? I had to do a one time refresh for all the datasets I had because of an emergency. However, I had to do this manually because I couldn’t wait for the scheduled refreshes.

Please let me know!

---

<div class="post-metadata">

**Author:** ![Sanjeeb2022](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/sanjeeb2022/32/20947_2.png) [@Sanjeeb2022](https://community.amazonquick.com/u/Sanjeeb2022)\
**Post date:** [April 16, 2023, 6:46pm UTC](https://community.amazonquick.com/t/refresh-all-datasets-on-my-account-simultaneously/12298/2 "2023-04-16T18:46:11Z")

</div>

Hi @mateoleon210 - You can do this by a programmatic approach using Quick Sight API boto3. You can develop a python script which will essentially do the below steps.

1. List all data sets - Please refer the boto3 documentation - [list\_data\_sets - Boto3 1.40.46 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/quicksight/client/list_data_sets.html).
2. Once you will get the data sets, you can use create ingestion api to refresh the data set - Please see the documentation link - [create\_ingestion - Boto3 1.40.47 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/quicksight/client/create_ingestion.html)

Hope the above details will help you.

Regards - San
