# Pulling the list of Endpoints

**URL:** <https://discuss.elastic.co/t/pulling-the-list-of-endpoints/362134>\
**Category:** Elastic Security\
**Created:** [June 27, 2024, 5:57am UTC](https://discuss.elastic.co/t/pulling-the-list-of-endpoints/362134 "2024-06-27T05:57:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Charles\_Nkuna](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@Charles\_Nkuna](https://discuss.elastic.co/u/Charles_Nkuna)\
**Post date:** [June 27, 2024, 5:57am UTC](https://discuss.elastic.co/t/pulling-the-list-of-endpoints/362134/1 "2024-06-27T05:57:08Z")

</div>

Hi,

i want to pull the list of all agent including all the agent status not under fleet but on discover because i want to pull the list as csv.

Any one know which query i can run to get what i mentioned?

Thanks

---

<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:** [July 25, 2024, 5:58am UTC](https://discuss.elastic.co/t/pulling-the-list-of-endpoints/362134/2 "2024-07-25T05:58:07Z")

</div>

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