# Accessing Search Templates via Rest

**URL:** <https://discuss.elastic.co/t/accessing-search-templates-via-rest/18022>\
**Category:** Elasticsearch\
**Created:** [June 10, 2014, 2:58pm UTC](https://discuss.elastic.co/t/accessing-search-templates-via-rest/18022 "2014-06-10T14:58:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebastian\_Graser](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@Sebastian\_Graser](https://discuss.elastic.co/u/Sebastian_Graser)\
**Post date:** [June 10, 2014, 2:58pm UTC](https://discuss.elastic.co/t/accessing-search-templates-via-rest/18022/1 "2014-06-10T14:58:31Z")

</div>

Hello,

maybe someone can help me. Is there a way to get the available search  
templates via rest api? havent found a way yet, hope you can help me.

Best regards  
Sebastian

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/eb44220f-ef7d-4306-93f1-cbbeda046a83%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/eb44220f-ef7d-4306-93f1-cbbeda046a83%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Sebastian\_Graser](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@Sebastian\_Graser](https://discuss.elastic.co/u/Sebastian_Graser)\
**Post date:** [June 13, 2014, 7:51am UTC](https://discuss.elastic.co/t/accessing-search-templates-via-rest/18022/2 "2014-06-13T07:51:23Z")

</div>

so i guess its not possible?

Am Dienstag, 10. Juni 2014 16:58:31 UTC+2 schrieb Sebastian Gräser:

> Hello,
> 
> maybe someone can help me. Is there a way to get the available search  
> templates via rest api? havent found a way yet, hope you can help me.
> 
> Best regards  
> Sebastian

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/ae1fedb0-4c74-4407-9532-fe7ad705ceb0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ae1fedb0-4c74-4407-9532-fe7ad705ceb0%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [June 16, 2014, 1:46pm UTC](https://discuss.elastic.co/t/accessing-search-templates-via-rest/18022/3 "2014-06-16T13:46:37Z")

</div>

Hey,

no, this is not yet possible, but this will be added sooner or later as the  
search template API should behave like any other API.

--Alex

On Fri, Jun 13, 2014 at 9:51 AM, Sebastian Gräser [greeveg@googlemail.com](mailto:greeveg@googlemail.com)  
wrote:

> so i guess its not possible?
> 
> Am Dienstag, 10. Juni 2014 16:58:31 UTC+2 schrieb Sebastian Gräser:
> 
> > Hello,
> > 
> > maybe someone can help me. Is there a way to get the available search  
> > templates via rest api? havent found a way yet, hope you can help me.
> > 
> > Best regards  
> > Sebastian
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/ae1fedb0-4c74-4407-9532-fe7ad705ceb0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ae1fedb0-4c74-4407-9532-fe7ad705ceb0%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/ae1fedb0-4c74-4407-9532-fe7ad705ceb0%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ae1fedb0-4c74-4407-9532-fe7ad705ceb0%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-7y7s8NhRS5P7-C2MxnfnwnF4PZDywP9qfkKCK6NVFfQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-7y7s8NhRS5P7-C2MxnfnwnF4PZDywP9qfkKCK6NVFfQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Sebastian\_Graser](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@Sebastian\_Graser](https://discuss.elastic.co/u/Sebastian_Graser)\
**Post date:** [June 17, 2014, 8:07am UTC](https://discuss.elastic.co/t/accessing-search-templates-via-rest/18022/4 "2014-06-17T08:07:26Z")

</div>

Thank you very much : ) good to know!

Am Montag, 16. Juni 2014 15:46:43 UTC+2 schrieb Alexander Reelsen:

> Hey,
> 
> no, this is not yet possible, but this will be added sooner or later as  
> the search template API should behave like any other API.
> 
> --Alex
> 
> On Fri, Jun 13, 2014 at 9:51 AM, Sebastian Gräser \<[gre...@googlemail.com](mailto:gre...@googlemail.com)  
> \<javascript:\>\> wrote:
> 
> > so i guess its not possible?
> > 
> > Am Dienstag, 10. Juni 2014 16:58:31 UTC+2 schrieb Sebastian Gräser:
> > 
> > > Hello,
> > > 
> > > maybe someone can help me. Is there a way to get the available search  
> > > templates via rest api? havent found a way yet, hope you can help me.
> > > 
> > > Best regards  
> > > Sebastian
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/ae1fedb0-4c74-4407-9532-fe7ad705ceb0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ae1fedb0-4c74-4407-9532-fe7ad705ceb0%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/ae1fedb0-4c74-4407-9532-fe7ad705ceb0%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ae1fedb0-4c74-4407-9532-fe7ad705ceb0%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/3ffef6a1-1d0e-48d3-a659-1f6ea85da3eb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3ffef6a1-1d0e-48d3-a659-1f6ea85da3eb%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:21am UTC](https://discuss.elastic.co/t/accessing-search-templates-via-rest/18022/5 "2017-07-06T01:21:55Z")

</div>


