# Get access to the last arrived document

**URL:** https://discuss.elastic.co/t/get-access-to-the-last-arrived-document/23829
**Category:** Elasticsearch
**Created:** [June 17, 2015, 11:44am UTC](https://discuss.elastic.co/t/get-access-to-the-last-arrived-document/23829 "2015-06-17T11:44:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Smasell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smasell/32/43483_2.png) [@Smasell](https://discuss.elastic.co/u/Smasell)
#### Post date: [June 17, 2015, 11:44am UTC](https://discuss.elastic.co/t/get-access-to-the-last-arrived-document/23829/1 "2015-06-17T11:44:43Z")

</div>

Hi guys!!!  
How can I get access to the last arrived document? All this documents uses timestamp.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 18, 2015, 2:44am UTC](https://discuss.elastic.co/t/get-access-to-the-last-arrived-document/23829/2 "2015-06-18T02:44:43Z")

</div>

You need to query for it, there is a changes API being worked on for future releases.

---

<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 6, 2017, 12:06am UTC](https://discuss.elastic.co/t/get-access-to-the-last-arrived-document/23829/3 "2017-07-06T00:06:53Z")

</div>


