# \[RESOLVED\] API to list all watchers

**URL:** <https://discuss.elastic.co/t/resolved-api-to-list-all-watchers/169167>\
**Category:** Elasticsearch\
**Created:** [February 20, 2019, 9:15am UTC](https://discuss.elastic.co/t/resolved-api-to-list-all-watchers/169167 "2019-02-20T09:15:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vicpav](https://avatars.discourse-cdn.com/v4/letter/v/9de053/32.png) [@vicpav](https://discuss.elastic.co/u/vicpav)\
**Post date:** [February 20, 2019, 9:15am UTC](https://discuss.elastic.co/t/resolved-api-to-list-all-watchers/169167/1 "2019-02-20T09:15:27Z")

</div>

I am a bit puzzled about this one. While checking the [documentation for X-Pack Watcher APIs](https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api.html), I cannot see a basic API that would return the list of existing watchers.

I can see that Kibana is using the `GET https://kibana.server.com/api/watcher/watches` but that seems to be a Kibana API, not X-Pack API though it is not documented among [Kibana APIs](https://www.elastic.co/guide/en/kibana/master/api.html).

Am I missing something or that API is (for some reason) not public? 🤔 Thank you!

---

<div class="post-metadata">

**Author:** ![baz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/baz/32/5183_2.png) [@baz](https://discuss.elastic.co/u/baz)\
**Post date:** [February 25, 2019, 6:30pm UTC](https://discuss.elastic.co/t/resolved-api-to-list-all-watchers/169167/2 "2019-02-25T18:30:38Z")

</div>

Hi Victor,

I think this will help you. [List All Watches](https://discuss.elastic.co/t/list-all-watches/83223)

We don't have an API to list all watches, so you can query the .watches index.

---

<div class="post-metadata">

**Author:** ![vicpav](https://avatars.discourse-cdn.com/v4/letter/v/9de053/32.png) [@vicpav](https://discuss.elastic.co/u/vicpav)\
**Post date:** [February 25, 2019, 7:20pm UTC](https://discuss.elastic.co/t/resolved-api-to-list-all-watchers/169167/3 "2019-02-25T19:20:55Z")

</div>

Hello Michael,

Somehow it did not occur to me that I can just do the search. 🤓 It works perfectly fine for me. Thanks a lot for the tip! 👍

---

<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 25, 2019, 7:35pm UTC](https://discuss.elastic.co/t/resolved-api-to-list-all-watchers/169167/4 "2019-03-25T19:35:31Z")

</div>

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