# Refresh reflection from API

**URL:** <https://community.dremio.com/t/refresh-reflection-from-api/2391>\
**Category:** Uncategorized\
**Created:** [December 6, 2018, 11:45am UTC](https://community.dremio.com/t/refresh-reflection-from-api/2391 "2018-12-06T11:45:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marco](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/marco/32/1556_2.png) [@marco](https://community.dremio.com/u/marco)\
**Post date:** [December 6, 2018, 11:45am UTC](https://community.dremio.com/t/refresh-reflection-from-api/2391/1 "2018-12-06T11:45:09Z")

</div>

Often dremio go down and i need to recreate all the reflections.  
Every time it happens i clear and create manually all the reflection from the UI.  
Is it possible to recreate the reflections with the API ?

---

<div class="post-metadata">

**Author:** ![doron](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/doron/32/294_2.png) [@doron](https://community.dremio.com/u/doron)\
**Post date:** [December 6, 2018, 4:02pm UTC](https://community.dremio.com/t/refresh-reflection-from-api/2391/2 "2018-12-06T16:02:15Z")

</div>

Hi,

The reflection API is documented [here](http://docs.dremio.com/rest-api/reflections/).

If the reflections are marked as invalid because they failed to refresh 3 times, you can also disable and enable them to have them rebuilt - no need to redefine them.
