# Create a search saved object with REST API

**URL:** <https://discuss.elastic.co/t/create-a-search-saved-object-with-rest-api/169647>\
**Category:** Kibana\
**Created:** [February 23, 2019, 5:35am UTC](https://discuss.elastic.co/t/create-a-search-saved-object-with-rest-api/169647 "2019-02-23T05:35:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lioramilbaum](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lioramilbaum/32/41262_2.png) [@lioramilbaum](https://discuss.elastic.co/u/lioramilbaum)\
**Post date:** [February 23, 2019, 5:35am UTC](https://discuss.elastic.co/t/create-a-search-saved-object-with-rest-api/169647/1 "2019-02-23T05:35:39Z")

</div>

Is there documentation/example for creating a search saved object?

I have successfully used the create saved object api to create index pattern.  
But, I can't find any documentation on how the json payload looks like for a search saved object.

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [February 25, 2019, 11:06pm UTC](https://discuss.elastic.co/t/create-a-search-saved-object-with-rest-api/169647/2 "2019-02-25T23:06:41Z")

</div>

I think the easiest way to see the format of the saved search object would be to use the [GET API](https://www.elastic.co/guide/en/kibana/current/saved-objects-api-get.html) to see the payload for an existing one.

---

<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, 11:20pm UTC](https://discuss.elastic.co/t/create-a-search-saved-object-with-rest-api/169647/3 "2019-03-25T23:20:17Z")

</div>

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