# Refresh Field List through API Call

**URL:** <https://discuss.elastic.co/t/refresh-field-list-through-api-call/198764>\
**Category:** Kibana\
**Created:** [September 9, 2019, 6:23pm UTC](https://discuss.elastic.co/t/refresh-field-list-through-api-call/198764 "2019-09-09T18:23:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![singhamitprakash](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@singhamitprakash](https://discuss.elastic.co/u/singhamitprakash)\
**Post date:** [September 9, 2019, 6:23pm UTC](https://discuss.elastic.co/t/refresh-field-list-through-api-call/198764/1 "2019-09-09T18:23:41Z")

</div>

Hi,

We are adding new fields to our existing index and would like to show these new fields on our kibana dashboard. However, noticed that new field is not available right away and requires a field list refresh through management console.

Is there any Kibana API to perform this field list refresh? This is important as we deploy our dashboards through CI/CD and do not want any manual intervention.

---

<div class="post-metadata">

**Author:** ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)\
**Post date:** [September 10, 2019, 11:41am UTC](https://discuss.elastic.co/t/refresh-field-list-through-api-call/198764/2 "2019-09-10T11:41:33Z")

</div>

Hi @singhamitprakash,

I don't think we have a dedicated API endpoint to do that unfortunately. But as a workaround you can repeat the sequence of two requests Kibana does when you refresh fields manually (`GET api/index_patterns/_fields_for_wildcard` + `PUT api/saved_objects/index-pattern/...`), just use Network tab in browser dev console to see what's going on when you press that button.

You can follow [this discussion](https://github.com/elastic/kibana/issues/6498). We'll either improve the situation and won't require manual refresh in the future or just provide a dedicated API.

Best,  
Oleg

---

<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:** [October 8, 2019, 11:41am UTC](https://discuss.elastic.co/t/refresh-field-list-through-api-call/198764/3 "2019-10-08T11:41:33Z")

</div>

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