# Index freeze/unfreeze

**URL:** <https://discuss.elastic.co/t/index-freeze-unfreeze/168903>\
**Category:** Elasticsearch\
**Created:** [February 18, 2019, 9:21pm UTC](https://discuss.elastic.co/t/index-freeze-unfreeze/168903 "2019-02-18T21:21:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)\
**Post date:** [February 18, 2019, 9:21pm UTC](https://discuss.elastic.co/t/index-freeze-unfreeze/168903/1 "2019-02-18T21:21:26Z")

</div>

How do you tell in the api if an index is frozen?

Will freeze/unfreeze be added to curator?

Thanks

---

<div class="post-metadata">

**Author:** ![Yogesh\_Gaikwad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yogesh_gaikwad/32/27025_2.png) [@Yogesh\_Gaikwad](https://discuss.elastic.co/u/Yogesh_Gaikwad)\
**Post date:** [February 18, 2019, 10:49pm UTC](https://discuss.elastic.co/t/index-freeze-unfreeze/168903/2 "2019-02-18T22:49:52Z")

</div>

Hi @rugenl,

You can use Get Index API ([https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-get-index.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-get-index.html)) to know if your index is in a frozen state.

The response for the Get Index API would contain the index settings, where you can find the status for `frozen` setting with a boolean value `true` in case it is frozen. In case the index is not frozen then the setting might be missing from the response JSON.  
Example response:

```auto
{
  "_your_index_name" : {
    ...
    ...
    "settings" : {
      "index" : {
        ...
        "frozen" : "true", <- This denotes whether your index is frozen.
        ...
      }
    }
  }
}

```

I think curator yet does not support freeze/unfreeze API and you may want to open an issue ([https://github.com/elastic/curator](https://github.com/elastic/curator)). You can raise PR for adding the support in case you are interested to contribute.

Hope this helps.

Thanks and Regards,  
Yogesh

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 18, 2019, 10:49pm UTC](https://discuss.elastic.co/t/index-freeze-unfreeze/168903/3 "2019-03-18T22:49:54Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
