# What is the difference between \_bulk\_get and export

**URL:** <https://discuss.elastic.co/t/what-is-the-difference-between-bulk-get-and-export/245932>\
**Category:** Kibana\
**Created:** [August 21, 2020, 3:11pm UTC](https://discuss.elastic.co/t/what-is-the-difference-between-bulk-get-and-export/245932 "2020-08-21T15:11:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Redcxx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/redcxx/32/73872_2.png) [@Redcxx](https://discuss.elastic.co/u/Redcxx)\
**Post date:** [August 21, 2020, 3:11pm UTC](https://discuss.elastic.co/t/what-is-the-difference-between-bulk-get-and-export/245932/1 "2020-08-21T15:11:45Z")

</div>

I know `export` has `includeReferencesDeep` and `_bulk_get` has `fields` which makes them different, but is there any difference if I just send a list of `type` and `id` to both end points like this? I experiment a little and find that their response is same, did I missed anything?

```auto
[
  {
    "type":"xxx",
    "id":"yyy"
  },
  {
    "type":"zzz",
    "id":"kkk"
  },
  ...
]

```

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [August 24, 2020, 3:57pm UTC](https://discuss.elastic.co/t/what-is-the-difference-between-bulk-get-and-export/245932/2 "2020-08-24T15:57:43Z")

</div>

I think you've identified the difference in your question: the dashboard export code is able to collect all of the dependencies into one response, so it's not just including dashboard objects. If you disable that feature then they are the same.

---

<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:** [September 21, 2020, 3:57pm UTC](https://discuss.elastic.co/t/what-is-the-difference-between-bulk-get-and-export/245932/3 "2020-09-21T15:57:44Z")

</div>

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